Function at 0x4af740
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4afacc
sub esp, 0x6c
mov ebx, dword [esp + 0x70]
mov ebp, dword [ebx]
mov esi, ebp
movzx edi, word [esi + 0x14]
lea ebp, [edi + ebp + 0x18]
test byte [ebp], al
movzx ecx, word [esi + 6]
cmp ecx, 0xffff
ja 0x4afac1
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x7c]
xor eax, eax
jmp 0x4af78d
inc eax
cmp eax, ecx
jge 0x4afaa2
jae 0x4afabc
mov dword [esp + 0x24], eax
lea esi, [eax + eax*4]
mov dword [esp + 0x28], esi
lea edi, [ebp + esi*8 + 0x10]
mov dword [esp + 0x38], edi
mov edi, dword [edi]
test edi, edi
jne 0x4af87a
mov edi, dword [edx + 0x38]
test edi, edi
je 0x4af78c
mov dword [esp + 0x20], edi
lea eax, [ebp + esi*8 + 0xc]
mov dword [esp + 0x38], eax
mov ecx, dword [eax]
add ecx, dword [ebx + 4]
mov dword [esp], ecx
mov dword [esp + 4], edi
mov dword [esp + 8], 0x1000
mov dword [esp + 0xc], 4
call fcn.0048bce0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
jne 0x4af99b
mov edx, dword [esp + 0x38]
mov edx, dword [edx]
mov ebx, dword [esp + 0x70]
add edx, dword [ebx + 4]
nop
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x3c]
lea ebp, [esi + ebp*8 + 8]
mov dword [ebp], edx
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
nop
nop
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x58]
mov ebp, dword [esp + 0x54]
test edx, edx
je 0x4af867
mov dword [esp], ebp
mov dword [esp + 4], edx
call fcn.00453290
mov ebx, dword [esp + 0x70]
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x7c]
mov ebp, esi
jmp 0x4af78c
lea edx, [ebp + esi*8 + 0x14]
mov ecx, dword [edx]
add ecx, edi
mov eax, dword [esp + 0x78]
cmp eax, ecx
jb 0x4afa69
mov dword [esp + 0x34], edx
lea eax, [ebp + esi*8 + 0xc]
mov dword [esp + 0x30], eax
mov ecx, dword [eax]
add ecx, dword [ebx + 4]
mov dword [esp], ecx
mov dword [esp + 4], edi
mov dword [esp + 8], 0x1000
mov dword [esp + 0xc], 4
call fcn.0048bce0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test ecx, ecx
jne 0x4afa02
nop
mov edx, dword [esp + 0x30]
mov edx, dword [edx]
mov ebx, dword [esp + 0x70]
add edx, dword [ebx + 4]
mov ebp, dword [esp + 0x34]
mov ebp, dword [ebp]
mov esi, dword [esp + 0x38]
mov esi, dword [esi]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
nop
nop
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov edx, dword [esp + 0x74]
add ebp, edx
nop
nop
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x64]
mov ecx, edx
mov edx, dword [esp + 0x4c]
cmp edx, edi
jg 0x4af958
mov edi, edx
cmp esi, ebp
je 0x4af97c
mov dword [esp + 0x1c], eax
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], edi
call fcn.00453460
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x74]
mov ebx, dword [esp + 0x70]
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x3c]
lea edx, [ebp + edx*8 + 8]
mov dword [edx], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x7c]
jmp 0x4af78c
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
test ecx, ecx
je 0x4af9b2
mov ecx, dword [ecx + 4]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
lea eax, [0x500402]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.0047af60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x6c
ret
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
test edx, edx
je 0x4afa19
mov edx, dword [edx + 4]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebx
lea eax, [0x501776]
mov dword [esp], eax
mov dword [esp + 4], 0x21
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.0047af60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x6c
ret
lea eax, [0x4e9320]
mov dword [esp], eax
call fcn.0040ae80
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x4fcbc8]
mov dword [eax], ecx
lea ecx, [0x51e220]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x6c
ret
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x6c
ret
call fcn.00452bc0
mov edx, 0xffff
call fcn.00452be0
nop
call fcn.00451710
jmp fcn.004af740