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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4afe99
add esp, 0xffffff80
mov eax, dword [esp + 0x84]
mov dword [esp], eax
movzx eax, byte [esp + 0x88]
mov byte [esp + 4], al
call fcn.004af990
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x58], ebp
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
nop
lea ebp, [esp + 0x70]
mov dword [esp + 0x70], ebp
test eax, eax
jl 0x4afe80
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x50], edi
mov dword [esp + 0x6c], ebx
mov ebx, dword [esp + 0x78]
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x48], edi
sub edi, ebx
cmp eax, edi
jle 0x4afcab
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x38], ebx
nop
lea ecx, [0x4ce8c0]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov edx, dword [esp + 0x48]
lea eax, [eax + edx*2]
mov dword [esp + 0x3c], eax
mov dword [esp + 8], eax
call fcn.00445bf0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x38]
cmp edx, ebx
jl 0x4afc6b
mov edx, ebx
cmp ecx, eax
je 0x4afc8b
mov dword [esp + 0x68], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0045c880
mov eax, dword [esp + 0x68]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x78], ebx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x2c]
lea ebp, [esp + 0x70]
mov esi, dword [esp + 0x30]
test edx, edx
jle 0x4afcb6
xor eax, eax
jmp 0x4afd9e
nop
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4afcc8
cmp eax, ebp
je 0x4afccc
jmp 0x4afd73
mov dword [esp + 0x70], ebp
mov eax, dword [esp + 0x78]
lea ecx, [esi + eax]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x74]
cmp edx, ecx
jae 0x4afd15
mov dword [esp + 0x44], eax
lea ebp, [0x4ce8c0]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.00445cb0
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x44], edx
mov dword [esp + 0x64], ebx
add eax, ebx
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.0045c880
mov eax, dword [esp + 0x48]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x98], eax
sub esp, 0xffffff80
ret
lea eax, [0x4ce700]
mov dword [esp], eax
lea eax, [0x506ac4]
mov dword [esp + 4], eax
call fcn.00432050
mov ebx, dword [esp + 0x60]
add ebx, 0xc
mov edx, ecx
lea ebp, [esp + 0x70]
mov esi, dword [esp + 0x30]
mov ecx, ebx
mov ebx, dword [ecx + 4]
mov edi, dword [ecx]
nop
nop
mov esi, dword [esp + 0x70]
test esi, esi
je 0x4afdb6
cmp esi, ebp
je 0x4afdba
jmp 0x4afe68
mov dword [esp + 0x70], ebp
mov dword [esp + 0x48], eax
mov dword [esp + 0x60], ecx
mov esi, dword [esp + 0x78]
lea ebp, [ebx + esi]
mov dword [esp + 0x44], ebp
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x74]
cmp ecx, ebp
jae 0x4afe17
mov dword [esp + 0x54], edi
mov dword [esp + 0x40], esi
mov dword [esp + 0x34], ebx
lea eax, [0x4ce8c0]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
call fcn.00445cb0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x54]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x5c], edx
lea eax, [esi + edx]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
call fcn.0045c880
mov eax, dword [esp + 0x44]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x48]
inc eax
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
jg 0x4afd8b
lea ebp, [esp + 0x70]
mov esi, dword [esp + 0x30]
jmp 0x4afcb6
lea eax, [0x4ce700]
mov dword [esp], eax
lea eax, [0x506ac4]
mov dword [esp + 4], eax
call fcn.00432050
lea eax, [0x4ce700]
mov dword [esp], eax
lea eax, [0x506a2c]
mov dword [esp + 4], eax
call fcn.00432050
nop
call fcn.0045ab60
jmp fcn.004afb80