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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x24]
cmp eax, dword [ecx + 8]
jbe 0x4af965
sub esp, 0xa4
mov eax, dword [esp + 0xac]
cmp eax, 1
jne 0x4af959
mov ecx, dword [esp + 0xa8]
cmp byte [ecx], 0x2d
jne 0x4af85e
mov eax, dword [0x590f94]
mov dword [esp + 0x78], eax
test eax, eax
je 0x4af854
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x10]
mov dword [esp], ecx
call fcn.004a50b0
movzx eax, byte [esp + 4]
test al, al
jne 0x4af80d
mov eax, dword [esp + 0x78]
lea ecx, [0x4e457e]
mov edx, 0x10
mov dword [esp + 0x70], ecx
mov dword [esp + 0x30], edx
mov dword [esp], eax
call fcn.004af000
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x7c], esi
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
test ebp, ebp
jne 0x4af73e
mov dword [esp + 0x34], ecx
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], esi
mov ebp, dword [0x5a1340]
add ebp, ecx
mov ecx, dword [0x5a1344]
mov dword [0x5a1340], ebp
adc ecx, eax
mov dword [0x5a1344], ecx
mov ecx, dword [0x5a1348]
add ecx, ebx
mov ebp, dword [0x5a134c]
mov dword [0x5a1348], ecx
adc ebp, edx
mov dword [0x5a134c], ebp
mov ecx, dword [0x5a1338]
add ecx, edi
mov ebp, dword [0x5a133c]
mov dword [0x5a1338], ecx
adc ebp, esi
mov dword [0x5a133c], ebp
movzx ecx, byte [0x5a1244]
test cl, cl
jne 0x4af6fb
movzx eax, byte [0x5a1248]
test al, al
jne 0x4af6cc
movzx eax, byte [0x5a1243]
test al, al
jne 0x4af6a5
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
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
jl 0x4af69a
mov eax, dword [esp + 0x30]
cmp eax, 0x10
je 0x4af66f
mov ecx, 1
test cl, cl
je 0x4af65f
lea ecx, [0x4e2974]
mov edx, 6
mov dword [esp + 0x74], ecx
mov dword [esp + 0x38], edx
mov ebx, dword [esp + 0x70]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00407780
mov eax, dword [esp + 8]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea ecx, [0x4c84e0]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
mov eax, dword [0x590f98]
lea ecx, [0x501630]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x84]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call fcn.00494010
mov eax, dword [0x5a1330]
add eax, 1
mov ecx, dword [0x5a1334]
mov dword [0x5a1330], eax
adc ecx, 0
mov dword [0x5a1334], ecx
nop
call fcn.004270b0
add esp, 0xa4
ret
lea ecx, [0x4e26a2]
mov edx, 4
jmp 0x4af5ab
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
lea edx, [0x4e457e]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00402260
movzx ecx, byte [esp + 0xc]
xor ecx, 1
mov eax, dword [esp + 0x30]
jmp 0x4af598
mov eax, dword [esp + 0x30]
xor ecx, ecx
jmp 0x4af598
mov dword [esp], edi
mov dword [esp + 4], esi
mov eax, dword [esp + 0xb0]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0xc], eax
call fcn.004af310
jmp 0x4af554
mov dword [esp], ebx
mov dword [esp + 4], edx
mov eax, dword [esp + 0xb0]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0xc], ecx
call fcn.004af310
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
jmp 0x4af545
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], ebx
mov ecx, dword [esp + 0x34]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0xc], ecx
call fcn.004af310
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
jmp 0x4af536
mov dword [esp + 0x3c], ebp
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 ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4af769
mov ecx, dword [ecx + 4]
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
lea edx, [0x4c84e0]
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xa0], eax
mov eax, dword [0x590f90]
lea ecx, [0x501630]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x4e2b64]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 7
lea eax, [esp + 0x94]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 2
call fcn.00494010
nop
call fcn.004270b0
add esp, 0xa4
ret
mov eax, dword [0x590f90]
lea ecx, [0x501630]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x4e8333]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x1e
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.00494010
jmp 0x4af47c
mov ecx, 0xffffffff
jmp 0x4af467
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.0048e430
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
test ecx, ecx
je 0x4af905
je 0x4af88f
mov ecx, dword [ecx + 4]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
mov eax, dword [0x590f98]
lea ecx, [0x501630]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x4e5b30]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x15
lea eax, [esp + 0x8c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call fcn.00494010
nop
call fcn.004270b0
add esp, 0xa4
ret
mov dword [esp + 0x80], edx
mov dword [esp + 0x48], 0xc
lea eax, [0x4ec124]
mov dword [esp + 0x58], eax
mov dword [esp + 0x64], edx
lea eax, [esp + 0x48]
mov dword [esp], eax
call fcn.00426b60
test eax, eax
jne 0x4af94c
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xac]
jmp 0x4af48b
nop
call fcn.004270b0
add esp, 0xa4
ret
mov ecx, dword [esp + 0xa8]
jmp 0x4af85e
call fcn.00449350
jmp fcn.004af410