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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x98]
cmp eax, dword [ecx + 8]
jbe 0x4b033c
sub esp, 0x118
mov eax, dword [esp + 0x11c]
mov dword [esp], eax
mov ecx, dword [esp + 0x120]
mov dword [esp + 4], ecx
lea edx, str._____._05:__CFLMNPSZ___n_t
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
call fcn.004a0530
mov eax, dword [esp + 0x10]
test eax, eax
jge 0x4b02ef
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x11c]
mov edx, dword [esp + 0x120]
cmp edx, 1
jne 0x4b02e3
mov ebx, dword [esp + 0x11c]
cmp byte [ebx], 0x2d
je 0x4b02bc
mov dword [esp + 0x3c], eax
mov dword [esp + 0x70], ecx
movzx ebp, byte [0x5a1246]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4afed0
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.004a4960
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x84], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x54], edx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x74], ebx
mov ebp, dword [esp + 0x11c]
mov dword [esp], ebp
mov esi, dword [esp + 0x120]
mov dword [esp + 4], esi
call fcn.004ac520
movzx eax, byte [esp + 8]
test al, al
je 0x4afeb8
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x11c]
mov edx, 1
lea ebx, [0x4e24d7]
mov dword [esp + 0x40], edx
mov dword [esp + 0x74], ebx
mov dword [esp], ecx
mov dword [esp + 4], eax
mov word [esp + 8], 1
lea eax, [0x4ec11c]
mov dword [esp + 0xc], eax
call fcn.004ac3d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
test eax, eax
jle 0x4afeb1
mov dword [esp + 0x50], eax
xor edx, edx
xor ebx, ebx
jmp 0x4afdcc
mov ecx, dword [esp + 0x58]
lea esi, [ecx + 1]
movzx ebx, byte [esp + 0x2b]
or ebx, eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x60]
mov ebp, dword [esp + 0x5c]
cmp esi, ebp
jge 0x4afdb7
mov dword [esp + 0x58], esi
mov byte [esp + 0x2b], bl
lea eax, [ecx + esi*8]
mov edx, dword [eax]
mov dword [esp + 0x64], edx
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], eax
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
mov ebp, dword [esp + 0x40]
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call fcn.004ad8c0
movzx eax, byte [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test ecx, ecx
jne 0x4afcbe
test al, al
je 0x4afb93
mov byte [esp + 0x2a], al
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xdc]
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
mov eax, dword [esp + 0x64]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xbc], eax
lea eax, [esp + 0xb0]
mov dword [esp], eax
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call fcn.004a4c30
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x124]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x128]
mov dword [esp + 0xc], ecx
call fcn.004af410
movzx eax, byte [esp + 0x2a]
jmp 0x4afb93
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x80], edx
mov eax, dword [0x591480]
mov ecx, dword [0x591484]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00407780
mov eax, dword [esp + 8]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
call fcn.00407780
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x4afd0f
mov ecx, dword [ecx + 4]
mov dword [esp + 0x88], ecx
lea edi, [esp + 0xc0]
mov edx, eax
xor eax, eax
call fcn.0044ac8a
lea ecx, [0x4c84e0]
mov dword [esp + 0xc0], ecx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], edx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0xd0], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0xd4], ecx
mov ecx, dword [0x590f90]
lea edx, [0x501630]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [0x4e3c75]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0xd
lea ecx, [esp + 0xc0]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 3
mov dword [esp + 0x18], 3
call fcn.00494010
add esp, 0x118
ret
lea ecx, [edx + 1]
cmp ecx, eax
jge 0x4afe18
mov ebp, dword [esp + 0x94]
add ebp, 0x20
mov edx, ecx
mov ecx, ebp
mov dword [esp + 0x94], ecx
mov dword [esp + 0x60], edx
lea edi, [esp + 0xf8]
mov esi, ecx
call fcn.0044b150
lea edi, [esp + 0xd8]
lea esi, [esp + 0xf8]
call fcn.0044b150
mov ecx, dword [esp + 0xec]
mov dword [esp + 0x90], ecx
mov ebp, dword [esp + 0xf0]
mov dword [esp + 0x5c], ebp
xor esi, esi
jmp 0x4afbb4
test bl, bl
je 0x4afe23
add esp, 0x118
ret
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.00407780
mov eax, dword [esp + 8]
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
lea ecx, [0x4c84e0]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
mov eax, dword [0x590f90]
lea ecx, [0x501630]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x4e5ee2]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x16
lea eax, [esp + 0x98]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call fcn.00494010
add esp, 0x118
ret
xor ebx, ebx
jmp 0x4afe18
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x74]
jmp 0x4afb51
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.004ace00
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 8]
test ecx, ecx
jne 0x4b01c3
test eax, eax
je 0x4b0135
mov dword [esp + 0x44], eax
mov dword [esp + 0x78], ebx
movzx ecx, byte [0x5a1244]
movzx edx, byte [0x5a1248]
add ecx, edx
movzx edx, byte [0x5a1243]
add ecx, edx
lea edx, [ecx + ecx*4]
lea ecx, [ecx + edx*2]
mov dword [esp + 0x34], ecx
xor edx, edx
jmp 0x4aff3e
mov ebp, dword [esp + 0x60]
lea edx, [ebp + 1]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x78]
cmp edx, eax
jge 0x4afe1c
mov dword [esp + 0x60], edx
lea eax, [ebx + edx*8]
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], ecx
mov eax, dword [eax]
mov dword [esp + 0x6c], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004ac520
movzx eax, byte [esp + 8]
test al, al
je 0x4b0106
lea eax, str._____._05:__CFLMNPSZ___n_t
mov dword [esp], eax
mov dword [esp + 4], 1
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], ecx
call fcn.0049fa00
mov eax, dword [esp + 0x10]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x88], ecx
mov edx, dword [esp + 0x6c]
mov dword [esp], edx
mov ebx, dword [esp + 0x38]
mov dword [esp + 4], ebx
lea ebp, str._____._05:__CFLMNPSZ___n_t
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
call fcn.004a0530
mov eax, dword [esp + 0x10]
test eax, eax
jge 0x4b00bf
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x88]
mov dword [esp], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 4], edx
call fcn.00407780
mov eax, dword [esp + 8]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
call fcn.00407780
mov eax, dword [esp + 8]
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
lea ecx, [0x4c84e0]
mov dword [esp + 0xa0], ecx
mov edx, dword [esp + 0x8c]
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
mov eax, dword [0x590f98]
lea edx, [0x501630]
mov dword [esp], edx
mov dword [esp + 4], eax
lea eax, [0x4e48d0]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x11
lea ebx, [esp + 0xa0]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 2
call fcn.00494010
jmp 0x4aff2b
mov dword [esp], 0
lea eax, [0x4e24ec]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 1
call fcn.00439f10
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
jmp 0x4affde
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x124]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x128]
mov dword [esp + 0xc], ecx
call fcn.004af410
jmp 0x4aff2b
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.00407780
mov eax, dword [esp + 8]
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
lea ecx, [0x4c84e0]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
mov eax, dword [0x590f90]
lea ecx, [0x501630]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x4e85c8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x1f
lea eax, [esp + 0x98]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call fcn.00494010
add esp, 0x118
ret
mov dword [esp + 0x48], ecx
mov dword [esp + 0x7c], edx
mov eax, dword [0x591484]
mov ecx, dword [0x591480]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00407780
mov eax, dword [esp + 8]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x11c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x120]
mov dword [esp + 4], ecx
call fcn.00407780
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x4b0217
mov ecx, dword [ecx + 4]
mov dword [esp + 0x88], ecx
lea edi, [esp + 0xc0]
mov edx, eax
xor eax, eax
call fcn.0044ac8a
lea ecx, [0x4c84e0]
mov dword [esp + 0xc0], ecx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], edx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0xd0], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xd4], ecx
mov ecx, dword [0x590f90]
lea edx, [0x501630]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [0x4e3c75]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0xd
lea ecx, [esp + 0xc0]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 3
mov dword [esp + 0x18], 3
call fcn.00494010
add esp, 0x118
ret
mov dword [esp], ebx
mov dword [esp + 4], edx
mov eax, dword [esp + 0x124]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x128]
mov dword [esp + 0xc], eax
call fcn.004af410
jmp 0x4afe1c
mov ebx, dword [esp + 0x11c]
jmp 0x4afac9
mov dword [esp], 0
lea eax, [0x4e24ec]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov ecx, dword [esp + 0x11c]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x120]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 1
call fcn.00439f10
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
jmp 0x4afaa9
call fcn.00449350
jmp fcn.004afa40