Function at 0x4afe90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x78]
cmp eax, dword [ecx + 8]
jbe 0x4b089e
sub esp, 0xf8
mov ecx, dword [esp + 0xfc]
mov edx, dword [ecx + 0x20]
mov ebx, dword [ecx + 0x1c]
mov ebp, dword [ecx + 0x18]
test ebx, ebx
je 0x4b0864
mov esi, dword [ebp + 4]
mov eax, ebp
mov ebp, dword [ebp]
cmp esi, 2
jl 0x4b083f
mov edi, edx
movzx edx, byte [ebp]
cmp dl, 0x2d
jne 0x4b083f
lea edx, [ecx + 0x18]
mov dword [esp + 0x5c], edx
movzx edx, byte [ebp + 1]
cmp dl, 0x2d
jne 0x4b0835
cmp esi, 2
je 0x4b07e2
mov edx, 2
cmp edx, esi
ja 0x4b0897
mov dword [esp + 0x28], esi
sub esi, edx
mov dword [esp + 0x2c], esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and edx, esi
lea esi, [edx + ebp]
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x4b072a
mov dword [esp + 0x34], edx
movzx edx, byte [edx + ebp]
cmp dl, 0x2d
je 0x4b072a
cmp dl, 0x3d
je 0x4b072a
lea edx, [ebx - 1]
mov dword [ecx + 0x1c], edx
lea edx, [edi - 1]
mov dword [ecx + 0x20], edx
mov ebx, dword [0x813ad0]
neg edx
sar edx, 0x1f
and edx, 8
add eax, edx
test ebx, ebx
jne 0x4b071c
mov dword [ecx + 0x18], eax
mov dword [esp + 0x3c], ebp
mov eax, dword [esp + 0x40]
mov edx, 1
jmp 0x4aff8b
inc edx
cmp edx, esi
jge 0x4b070f
jae 0x4b0890
movzx ebx, byte [edx + eax]
cmp bl, 0x3d
jne 0x4aff8a
lea ebx, [edx + 1]
sub esi, ebx
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and ebx, esi
add ebx, eax
test edx, edx
jl 0x4b0889
mov esi, 1
mov dword [esp + 0x24], edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], edx
xchg esi, eax
mov byte [esp + 0x23], al
xchg esi, eax
mov ebp, dword [ecx + 0x14]
lea ebx, [0x600e60]
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call fcn.0040dfa0
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov eax, dword [eax]
test cl, cl
jne 0x4b0130
mov eax, dword [esp + 0x2c]
cmp eax, 4
jne 0x4b0123
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov ebx, dword [edx + ecx]
cmp ebx, 0x706c6568
jne 0x4b005d
mov eax, dword [esp + 0xfc]
mov dword [esp], eax
call fcn.004afe50
mov eax, dword [0x801c88]
mov ecx, dword [0x801c8c]
mov byte [esp + 0x100], 0
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], ecx
add esp, 0xf8
ret
cmp eax, 1
jne 0x4b006b
movzx ecx, byte [ecx + edx]
cmp cl, 0x68
je 0x4b0025
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
lea eax, [0x5ff860]
mov dword [esp], eax
lea eax, [esp + 0x98]
mov dword [esp + 4], eax
call fcn.004072a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov eax, dword [esp + 0xfc]
mov dword [esp], eax
lea eax, [0x649188]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x22
lea eax, [esp + 0xa0]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.004afd60
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x100], 0
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], ecx
add esp, 0xf8
ret
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
jmp 0x4b005d
mov dword [esp + 0x48], eax
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
lea ebx, [0x610a60]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004077f0
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x14]
mov edx, dword [esp + 0x10]
test cl, cl
jne 0x4b0472
movzx ecx, byte [esp + 0x23]
test cl, cl
je 0x4b0414
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
test cl, cl
je 0x4b0370
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], edx
mov ecx, dword [esp + 0x48]
mov ebx, dword [ecx + 0x10]
mov ebp, dword [ecx + 0x14]
mov ebx, dword [ebx + 0x10]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp], ebp
call ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4b02be
mov dword [esp + 0x4c], eax
mov edx, dword [esp + 0x38]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x64], edx
je 0x4b01dd
mov ecx, dword [ecx + 4]
mov dword [esp + 0x58], ecx
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.0044b9ca
lea ecx, [0x5ff860]
mov dword [esp], ecx
lea edx, [esp + 0x68]
mov dword [esp + 4], edx
call fcn.004072a0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], ecx
lea ecx, [0x5ff860]
mov dword [esp], ecx
lea ecx, [esp + 0x60]
mov dword [esp + 4], ecx
call fcn.004072a0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov dword [esp + 0xd0], edx
mov dword [esp + 0xd4], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xd8], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0xdc], ecx
mov ecx, dword [esp + 0xfc]
mov dword [esp], ecx
lea ecx, [0x648bf2]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x21
lea ecx, [esp + 0xc8]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 3
call fcn.004afd60
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov byte [esp + 0x100], 0
mov dword [esp + 0x104], ecx
mov dword [esp + 0x108], edx
add esp, 0xf8
ret
mov eax, dword [esp + 0xfc]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4b0337
mov eax, dword [eax + 0x10]
mov dword [esp + 4], eax
lea eax, [0x600e60]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], eax
call fcn.0040e320
mov edi, dword [esp + 0x10]
test byte [edi], al
mov eax, dword [0x813ad0]
test eax, eax
jne 0x4b032c
mov eax, dword [esp + 0x48]
mov dword [edi], eax
mov byte [esp + 0x100], 1
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
add esp, 0xf8
ret
mov eax, dword [esp + 0x48]
call fcn.0044b8d0
jmp 0x4b0307
call fcn.0040a4b0
mov eax, dword [0x813ad0]
mov ecx, dword [esp]
test eax, eax
jne 0x4b0358
mov eax, dword [esp + 0xfc]
mov dword [eax + 0x10], ecx
jmp 0x4b02cc
mov edx, dword [esp + 0xfc]
lea edi, [edx + 0x10]
mov eax, ecx
call fcn.0044b8d0
mov eax, edx
jmp 0x4b02cc
mov eax, dword [esp + 0x40]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea eax, [0x5ff860]
mov dword [esp], eax
lea eax, [esp + 0x70]
mov dword [esp + 4], eax
call fcn.004072a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xfc]
mov dword [esp], eax
lea eax, [0x646661]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1b
lea eax, [esp + 0x78]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.004afd60
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x100], 0
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], ecx
add esp, 0xf8
ret
mov edx, dword [esp + 0xfc]
mov ebx, dword [edx + 0x1c]
mov ebp, dword [edx + 0x18]
mov esi, dword [edx + 0x20]
test ebx, ebx
jle 0x4b0172
mov ecx, dword [ebp + 4]
mov eax, ecx
mov ecx, dword [ebp]
dec ebx
mov dword [edx + 0x1c], ebx
lea ebx, [esi - 1]
mov dword [edx + 0x20], ebx
mov esi, dword [0x813ad0]
neg ebx
sar ebx, 0x1f
and ebx, 8
add ebx, ebp
test esi, esi
jne 0x4b0461
mov dword [edx + 0x18], ebx
mov edx, ecx
mov ecx, 1
jmp 0x4b017a
mov edi, dword [esp + 0x5c]
mov ebp, eax
mov eax, ebx
call fcn.0044b8d0
mov eax, ebp
jmp 0x4b0455
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], edx
mov ecx, dword [eax + 0x10]
mov dword [esp], edx
call ecx
movzx eax, byte [esp + 4]
test al, al
je 0x4b0165
movzx eax, byte [esp + 0x23]
test al, al
je 0x4b05e8
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x44]
mov dword [esp], ebx
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4b02be
mov dword [esp + 0x54], eax
mov edx, dword [esp + 0x38]
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x8c], edx
je 0x4b0501
mov ecx, dword [ecx + 4]
mov dword [esp + 0x58], ecx
lea edi, [esp + 0xe0]
xor eax, eax
call fcn.0044b9ca
lea ecx, [0x5ff860]
mov dword [esp], ecx
lea edx, [esp + 0x90]
mov dword [esp + 4], edx
call fcn.004072a0
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], edx
lea ecx, [0x5ff860]
mov dword [esp], ecx
lea ecx, [esp + 0x88]
mov dword [esp + 4], ecx
call fcn.004072a0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov dword [esp + 0xe8], edx
mov dword [esp + 0xec], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xf0], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xf4], ecx
mov ecx, dword [esp + 0xfc]
mov dword [esp], ecx
lea ecx, [0x649b76]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x24
lea ecx, [esp + 0xe0]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 3
call fcn.004afd60
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov byte [esp + 0x100], 0
mov dword [esp + 0x104], edx
mov dword [esp + 0x108], ecx
add esp, 0xf8
ret
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x14]
lea ecx, [0x63f164]
mov dword [esp + 4], ecx
mov dword [esp + 8], 4
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4b02be
mov dword [esp + 0x50], eax
mov edx, dword [esp + 0x40]
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x84], edx
je 0x4b0639
mov ecx, dword [ecx + 4]
mov dword [esp + 0x58], ecx
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
lea eax, [0x5ff860]
mov dword [esp], eax
lea eax, [esp + 0x80]
mov dword [esp + 4], eax
call fcn.004072a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xfc]
mov dword [esp], eax
lea eax, [0x646739]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1b
lea eax, [esp + 0xb8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 2
call fcn.004afd60
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x100], 0
mov dword [esp + 0x104], ecx
mov dword [esp + 0x108], eax
add esp, 0xf8
ret
mov edx, esi
xor esi, esi
xor edi, edi
xor ebx, ebx
jmp 0x4affc3
mov edi, dword [esp + 0x5c]
call fcn.0044b8d0
jmp 0x4aff7b
mov dword [esp + 0xa8], ebp
mov eax, dword [esp + 0x28]
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
lea eax, [0x5ff860]
mov dword [esp], eax
lea eax, [esp + 0xa8]
mov dword [esp + 4], eax
call fcn.004072a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
mov eax, dword [esp + 0xfc]
mov dword [esp], eax
lea eax, [0x64328a]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x13
lea eax, [esp + 0xb0]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.004afd60
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x100], 0
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], ecx
add esp, 0xf8
ret
lea edx, [ebx - 1]
mov dword [ecx + 0x1c], edx
lea edx, [edi - 1]
mov dword [ecx + 0x20], edx
mov ebx, dword [0x813ad0]
neg edx
sar edx, 0x1f
and edx, 8
add eax, edx
test ebx, ebx
jne 0x4b082a
mov dword [ecx + 0x18], eax
mov byte [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
add esp, 0xf8
ret
mov edi, dword [esp + 0x5c]
call fcn.0044b8d0
jmp 0x4b0805
mov edx, 1
jmp 0x4aff0a
mov byte [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
add esp, 0xf8
ret
mov byte [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
add esp, 0xf8
ret
call fcn.00425a10
ud2
call fcn.00425910
ud2
call fcn.00425a10
ud2
call fcn.0044a170
jmp fcn.004afe90