Function at 0x4afb60
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 0x4b055f
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 0x4b052c
mov esi, dword [ebp + 4]
mov eax, ebp
mov ebp, dword [ebp]
cmp esi, 2
jl 0x4b0507
mov edi, edx
movzx edx, byte [ebp]
cmp dl, 0x2d
jne 0x4b0507
lea edx, [ecx + 0x18]
mov dword [esp + 0x5c], edx
movzx edx, byte [ebp + 1]
cmp dl, 0x2d
jne 0x4b04fd
cmp esi, 2
je 0x4b04aa
mov edx, 2
cmp edx, esi
ja 0x4b0558
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 0x4b03f2
mov dword [esp + 0x34], edx
movzx edx, byte [edx + ebp]
cmp dl, 0x2d
je 0x4b03f2
cmp dl, 0x3d
je 0x4b03f2
lea edx, [ebx - 1]
mov dword [ecx + 0x1c], edx
lea edx, [edi - 1]
mov dword [ecx + 0x20], edx
mov ebx, dword [0x881b80]
neg edx
sar edx, 0x1f
and edx, 8
add eax, edx
test ebx, ebx
jne 0x4b03e4
mov dword [ecx + 0x18], eax
mov dword [esp + 0x3c], ebp
mov eax, dword [esp + 0x40]
mov edx, 1
jmp 0x4afc5b
inc edx
cmp edx, esi
jge 0x4b03d7
jae 0x4b0551
movzx ebx, byte [edx + eax]
cmp bl, 0x3d
jne 0x4afc5a
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
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, [0x636ce0]
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call fcn.0040e010
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov eax, dword [eax]
test cl, cl
jne 0x4afdf8
mov eax, dword [esp + 0x2c]
cmp eax, 4
jne 0x4afdeb
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov ebx, dword [edx + ecx]
cmp ebx, 0x706c6568
jne 0x4afd25
mov eax, dword [esp + 0xfc]
mov dword [esp], eax
call fcn.004afb20
mov eax, dword [0x86fd60]
mov ecx, dword [0x86fd64]
mov byte [esp + 0x100], 0
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], ecx
add esp, 0xf8
ret
cmp eax, 1
jne 0x4afd33
movzx ecx, byte [ecx + edx]
cmp cl, 0x68
je 0x4afced
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, [0x635280]
mov dword [esp], eax
lea eax, [esp + 0x98]
mov dword [esp + 4], eax
call fcn.00407310
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, [0x687318]
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.004afa30
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 0x4afd25
mov dword [esp + 0x48], eax
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
lea ebx, [0x647c20]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00407860
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x14]
mov edx, dword [esp + 0x10]
test cl, cl
jne 0x4b013a
movzx ecx, byte [esp + 0x23]
test cl, cl
je 0x4b00dc
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
test cl, cl
je 0x4b0038
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 0x4aff86
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 0x4afea5
mov ecx, dword [ecx + 4]
mov dword [esp + 0x58], ecx
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.0044b5ca
lea ecx, [0x635280]
mov dword [esp], ecx
lea edx, [esp + 0x68]
mov dword [esp + 4], edx
call fcn.00407310
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], ecx
lea ecx, [0x635280]
mov dword [esp], ecx
lea ecx, [esp + 0x60]
mov dword [esp + 4], ecx
call fcn.00407310
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, [0x686c96]
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.004afa30
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 0x4affff
mov eax, dword [eax + 0x10]
mov dword [esp + 4], eax
lea eax, [0x636ce0]
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.0040e390
mov edi, dword [esp + 0x10]
test byte [edi], al
mov eax, dword [0x881b80]
test eax, eax
jne 0x4afff4
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.0044b4d0
jmp 0x4affcf
call fcn.0040a520
mov eax, dword [0x881b80]
mov ecx, dword [esp]
test eax, eax
jne 0x4b0020
mov eax, dword [esp + 0xfc]
mov dword [eax + 0x10], ecx
jmp 0x4aff94
mov edx, dword [esp + 0xfc]
lea edi, [edx + 0x10]
mov eax, ecx
call fcn.0044b4d0
mov eax, edx
jmp 0x4aff94
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, [0x635280]
mov dword [esp], eax
lea eax, [esp + 0x70]
mov dword [esp + 4], eax
call fcn.00407310
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, [0x684432]
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.004afa30
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 0x4afe3a
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 [0x881b80]
neg ebx
sar ebx, 0x1f
and ebx, 8
add ebx, ebp
test esi, esi
jne 0x4b0129
mov dword [edx + 0x18], ebx
mov edx, ecx
mov ecx, 1
jmp 0x4afe42
mov edi, dword [esp + 0x5c]
mov ebp, eax
mov eax, ebx
call fcn.0044b4d0
mov eax, ebp
jmp 0x4b011d
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 0x4afe2d
movzx eax, byte [esp + 0x23]
test al, al
je 0x4b02b0
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 0x4aff86
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 0x4b01c9
mov ecx, dword [ecx + 4]
mov dword [esp + 0x58], ecx
lea edi, [esp + 0xe0]
xor eax, eax
call fcn.0044b5ca
lea ecx, [0x635280]
mov dword [esp], ecx
lea edx, [esp + 0x90]
mov dword [esp + 4], edx
call fcn.00407310
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], edx
lea ecx, [0x635280]
mov dword [esp], ecx
lea ecx, [esp + 0x88]
mov dword [esp + 4], ecx
call fcn.00407310
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, [0x687ef2]
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.004afa30
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, [0x67c303]
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 0x4aff86
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 0x4b0301
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, [0x635280]
mov dword [esp], eax
lea eax, [esp + 0x80]
mov dword [esp + 4], eax
call fcn.00407310
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, [0x684525]
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.004afa30
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 0x4afc8b
mov edi, dword [esp + 0x5c]
call fcn.0044b4d0
jmp 0x4afc4b
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, [0x635280]
mov dword [esp], eax
lea eax, [esp + 0xa8]
mov dword [esp + 4], eax
call fcn.00407310
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, [0x680cbc]
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.004afa30
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 [0x881b80]
neg edx
sar edx, 0x1f
and edx, 8
add eax, edx
test ebx, ebx
jne 0x4b04f2
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.0044b4d0
jmp 0x4b04cd
mov edx, 1
jmp 0x4afbda
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.004258a0
ud2
call fcn.004259a0
ud2
call fcn.00449d70
jmp fcn.004afb60