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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x4f63f5
sub esp, 0x94
call fcn.004f5360
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp]
mov ebx, dword [esp + 4]
test ecx, ecx
jne 0x4f63bf
mov dword [esp + 0x70], edx
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x98]
xor ecx, ecx
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x4f6364
mov esi, dword [esp + 0x58]
mov esi, dword [esi + 8]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x74]
mov edi, ebp
mov ebp, ebx
mov ebx, esi
mov esi, eax
mov eax, dword [esp + 0x98]
test ebx, ebx
je 0x4f5f07
mov dword [esp + 0x90], edi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], esi
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call fcn.004a5600
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
test edx, edx
jne 0x4f5e5d
test eax, eax
je 0x4f5e4c
mov ecx, dword [eax + 8]
cmp ecx, 0x61a1523f
jne 0x4f5e3f
lea edx, [0xaa5910]
cmp edx, eax
jne 0x4f5e33
mov ebp, ebx
je 0x4f5c34
cmp ecx, 0x98d3a9ba
jne 0x4f5c29
lea ecx, [0xaa5930]
cmp ecx, eax
jne 0x4f5c1f
je 0x4f5a71
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x90]
jmp 0x4f59b8
mov dword [esp + 0x54], ebp
lea eax, [0x92cb00]
mov dword [esp], eax
mov dword [esp + 4], 0x10
mov dword [esp + 8], 0x10
call fcn.00440170
mov eax, dword [esp + 0xc]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x58]
movzx edx, byte [ecx + 0x2c]
mov dword [esp], edx
mov dword [esp + 4], pe_nt_image_headers32
call fcn.004f6a30
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x88], edx
lea ebx, [0x95a720]
mov dword [esp], ebx
call fcn.0040af00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x10
mov dword [eax + 8], 0x10
mov ecx, dword [0xe8ff30]
test ecx, ecx
jne 0x4f5c0a
mov ecx, dword [esp + 0x8c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 0x14], ecx
mov ecx, dword [0xe8ff30]
test ecx, ecx
jne 0x4f5bf2
mov ecx, dword [esp + 0x88]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x54]
test byte [ecx], al
mov edx, dword [eax + 4]
mov ebx, dword [eax]
cmp edx, 0x10
jle 0x4f5b43
mov edx, 0x10
mov dword [esp + 0x60], eax
add ecx, 8
cmp ebx, ecx
je 0x4f5b5e
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00457480
mov ecx, dword [esp + 0x28]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x2c]
cmp edx, ebx
ja 0x4f5bb8
mov eax, dword [esp + 0x90]
lea ebp, [eax + ecx*8]
lea esi, [0xaa92f0]
mov dword [ebp], esi
lea edi, [eax + ecx*8 + 4]
mov ecx, dword [0xe8ff30]
test ecx, ecx
jne 0x4f5ba9
mov ecx, dword [esp + 0x60]
mov dword [edi], ecx
lea ecx, [0xaa5930]
mov ebp, eax
mov eax, edx
lea edx, [0xaa5910]
jmp 0x4f59b8
mov ecx, eax
mov eax, dword [esp + 0x60]
call fcn.00456ab0
mov eax, ecx
jmp 0x4f5b94
lea eax, [0x94d5a0]
mov dword [esp], eax
mov ebp, dword [esp + 0x90]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.004402d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x28]
jmp 0x4f5b74
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x88]
call fcn.00456ab0
mov eax, ecx
jmp 0x4f5b2e
mov edi, eax
mov eax, dword [esp + 0x8c]
call fcn.00456ab0
mov eax, edi
jmp 0x4f5b08
mov ebp, 0
jmp 0x4f5a5b
lea ecx, [0xaa5930]
jmp 0x4f5a5d
movzx eax, byte [ebx + 4]
mov byte [esp + 0x26], al
movzx ecx, byte [ebx + 5]
mov byte [esp + 0x25], cl
movzx edx, byte [ebx + 6]
mov byte [esp + 0x22], dl
movzx ebx, byte [ebx + 7]
mov byte [esp + 0x21], bl
lea ebp, [0x92cb00]
mov dword [esp], ebp
mov dword [esp + 4], 0x10
mov dword [esp + 8], 0x10
call fcn.00440170
mov eax, dword [esp + 0xc]
mov ecx, dword [0xe71ddc]
mov edx, dword [0xe71dd8]
cmp ecx, 0x10
jge 0x4f5e29
mov dword [esp + 0x8c], eax
cmp edx, eax
je 0x4f5ca6
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00457480
movzx eax, byte [esp + 0x26]
mov ecx, dword [esp + 0x8c]
mov byte [ecx + 0xc], al
movzx eax, byte [esp + 0x25]
mov byte [ecx + 0xd], al
movzx eax, byte [esp + 0x22]
mov byte [ecx + 0xe], al
movzx eax, byte [esp + 0x21]
mov byte [ecx + 0xf], al
mov eax, dword [esp + 0x58]
movzx edx, byte [eax + 0x2c]
mov dword [esp], edx
mov dword [esp + 4], 0x20
call fcn.004f6a30
mov eax, dword [esp + 8]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x44], edx
lea ebx, [0x95a720]
mov dword [esp], ebx
call fcn.0040af00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x10
mov dword [eax + 8], 0x10
mov ecx, dword [0xe8ff30]
test ecx, ecx
jne 0x4f5e14
mov ecx, dword [esp + 0x8c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 0x14], ecx
mov ecx, dword [0xe8ff30]
test ecx, ecx
jne 0x4f5dfc
mov ecx, dword [esp + 0x84]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x28]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x2c]
cmp edx, ebx
ja 0x4f5db1
mov ebp, dword [esp + 0x90]
lea esi, [ebp + ecx*8]
mov edi, edx
lea edx, [0xaa92f0]
mov dword [esi], edx
lea ecx, [ebp + ecx*8 + 4]
mov esi, dword [0xe8ff30]
test esi, esi
jne 0x4f5da4
mov dword [ecx], eax
lea ecx, [0xaa5930]
lea edx, [0xaa5910]
mov eax, edi
jmp 0x4f59b8
mov esi, edi
mov edi, ecx
call fcn.00456ab0
mov edi, esi
jmp 0x4f5d91
mov dword [esp + 0x80], eax
lea eax, [0x94d5a0]
mov dword [esp], eax
mov ebp, dword [esp + 0x90]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.004402d0
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea edx, [eax + 1]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x28]
jmp 0x4f5d73
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x84]
call fcn.00456ab0
mov eax, ecx
jmp 0x4f5d5d
mov edi, eax
mov eax, dword [esp + 0x8c]
call fcn.00456ab0
mov eax, edi
jmp 0x4f5d37
mov ecx, 0x10
jmp 0x4f5c8b
mov ebp, ebx
mov ebx, 0
jmp 0x4f5a3b
lea edx, [0xaa5910]
mov ebp, ebx
jmp 0x4f5a41
lea ecx, [0xaa5930]
lea edx, [0xaa5910]
jmp 0x4f5a5d
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x34], edx
lea eax, [0x95b680]
mov dword [esp], eax
call fcn.0040af00
mov edi, dword [esp + 4]
mov dword [edi + 4], 8
mov eax, dword [0xe8ff30]
test eax, eax
jne 0x4f5efa
lea ecx, [0x9cfe42]
mov dword [edi], ecx
mov ecx, dword [esp + 0x34]
mov dword [edi + 8], ecx
mov ecx, dword [0xe8ff30]
test ecx, ecx
jne 0x4f5ee4
mov eax, dword [esp + 0x6c]
mov dword [edi + 0xc], eax
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
lea eax, [0xaa57b0]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edi
add esp, 0x94
ret
lea ecx, [edi + 0xc]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x6c]
call fcn.00456ab0
mov edi, edx
jmp 0x4f5ea8
lea eax, [0x9cfe42]
call fcn.00456ab0
jmp 0x4f5e90
mov edx, dword [edx + 0x14]
jmp 0x4f5f26
mov esi, ebx
mov ebx, dword [esp + 0x5c]
mov ebx, dword [ebx + 8]
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x4c]
mov edi, ebp
mov ebp, edx
mov edx, ebx
test edx, edx
je 0x4f6355
mov dword [esp + 0x5c], edx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], esi
mov dword [esp + 0x7c], edi
mov eax, dword [edx + 0xc]
mov dword [esp], eax
call fcn.004a5600
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 8]
test eax, eax
jne 0x4f62ab
test edx, edx
je 0x4f629a
mov eax, dword [edx + 8]
cmp eax, 0x61a1523f
jne 0x4f628d
lea ecx, [0xaa5910]
cmp ecx, edx
jne 0x4f6281
mov ebp, ebx
je 0x4f6100
cmp eax, 0x98d3a9ba
jne 0x4f60f5
lea eax, [0xaa5930]
cmp eax, edx
jne 0x4f60eb
je 0x4f5fb9
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x7c]
jmp 0x4f5f0c
mov dword [esp + 0x50], ebp
lea eax, [0x92cb00]
mov dword [esp], eax
mov dword [esp + 4], 0x10
mov dword [esp + 8], 0x10
call fcn.00440170
mov eax, dword [esp + 0xc]
mov dword [esp + 0x8c], eax
lea ecx, [0x95a6c0]
mov dword [esp], ecx
call fcn.0040af00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x10
mov dword [eax + 8], 0x10
mov ecx, dword [0xe8ff30]
test ecx, ecx
jne 0x4f60d6
mov ecx, dword [esp + 0x8c]
mov dword [eax], ecx
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x50]
test byte [ecx], al
mov edx, dword [eax]
add ecx, 8
cmp edx, ecx
je 0x4f6044
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x10
call fcn.00457480
mov ecx, dword [esp + 0x3c]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x40]
cmp edx, ebx
ja 0x4f609f
mov eax, dword [esp + 0x7c]
lea ebp, [eax + ecx*8]
lea esi, [0xaa92d0]
mov dword [ebp], esi
mov ebp, dword [0xe8ff30]
lea edi, [eax + ecx*8 + 4]
test ebp, ebp
jne 0x4f6090
mov ecx, dword [esp + 0x64]
mov dword [edi], ecx
lea ecx, [0xaa5910]
mov ebp, eax
lea eax, [0xaa5930]
mov edi, edx
mov edx, ebx
mov ebx, edi
jmp 0x4f5f0c
mov ecx, eax
mov eax, dword [esp + 0x64]
call fcn.00456ab0
mov eax, ecx
jmp 0x4f6077
lea eax, [0x94d5a0]
mov dword [esp], eax
mov ebp, dword [esp + 0x7c]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.004402d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x3c]
jmp 0x4f6057
mov edi, eax
mov eax, dword [esp + 0x8c]
call fcn.00456ab0
mov eax, edi
jmp 0x4f601d
mov ebp, 0
jmp 0x4f5fa6
lea eax, [0xaa5930]
jmp 0x4f5fa8
movzx eax, byte [ebx + 4]
mov byte [esp + 0x27], al
movzx ecx, byte [ebx + 5]
mov byte [esp + 0x24], cl
movzx edx, byte [ebx + 6]
mov byte [esp + 0x23], dl
movzx ebx, byte [ebx + 7]
mov byte [esp + 0x20], bl
lea ebp, [0x92cb00]
mov dword [esp], ebp
mov dword [esp + 4], 0x10
mov dword [esp + 8], 0x10
call fcn.00440170
mov eax, dword [esp + 0xc]
mov ecx, dword [0xe71ddc]
mov edx, dword [0xe71dd8]
cmp ecx, 0x10
jge 0x4f6277
mov dword [esp + 0x8c], eax
cmp edx, eax
je 0x4f6172
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00457480
movzx eax, byte [esp + 0x27]
mov ecx, dword [esp + 0x8c]
mov byte [ecx + 0xc], al
movzx eax, byte [esp + 0x24]
mov byte [ecx + 0xd], al
movzx eax, byte [esp + 0x23]
mov byte [ecx + 0xe], al
movzx eax, byte [esp + 0x20]
mov byte [ecx + 0xf], al
lea eax, [0x95a6c0]
mov dword [esp], eax
call fcn.0040af00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x10
mov dword [eax + 8], 0x10
mov ecx, dword [0xe8ff30]
test ecx, ecx
jne 0x4f6262
mov ecx, dword [esp + 0x8c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x3c]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x40]
cmp edx, ebx
ja 0x4f6223
mov ebp, dword [esp + 0x7c]
lea esi, [ebp + ecx*8]
mov edi, edx
lea edx, [0xaa92d0]
mov dword [esi], edx
mov esi, dword [0xe8ff30]
lea ecx, [ebp + ecx*8 + 4]
test esi, esi
jne 0x4f6216
mov dword [ecx], eax
lea eax, [0xaa5930]
lea ecx, [0xaa5910]
mov edx, ebx
mov ebx, edi
jmp 0x4f5f0c
mov esi, edi
mov edi, ecx
call fcn.00456ab0
mov edi, esi
jmp 0x4f6201
mov dword [esp + 0x78], eax
lea eax, [0x94d5a0]
mov dword [esp], eax
mov ebp, dword [esp + 0x7c]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.004402d0
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea edx, [eax + 1]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x3c]
jmp 0x4f61e3
mov edi, eax
mov eax, dword [esp + 0x8c]
call fcn.00456ab0
mov eax, edi
jmp 0x4f61d0
mov ecx, 0x10
jmp 0x4f6157
mov ebp, ebx
mov ebx, 0
jmp 0x4f5f87
lea ecx, [0xaa5910]
mov ebp, ebx
jmp 0x4f5f8d
lea eax, [0xaa5930]
lea ecx, [0xaa5910]
jmp 0x4f5fa8
mov dword [esp + 0x30], eax
mov dword [esp + 0x68], ecx
lea eax, [0x95b680]
mov dword [esp], eax
call fcn.0040af00
mov edi, dword [esp + 4]
mov dword [edi + 4], 8
mov eax, dword [0xe8ff30]
test eax, eax
jne 0x4f6348
lea ecx, [0x9cfe42]
mov dword [edi], ecx
mov ecx, dword [esp + 0x30]
mov dword [edi + 8], ecx
mov ecx, dword [0xe8ff30]
test ecx, ecx
jne 0x4f6332
mov eax, dword [esp + 0x68]
mov dword [edi + 0xc], eax
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
lea eax, [0xaa57b0]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edi
add esp, 0x94
ret
lea ecx, [edi + 0xc]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x68]
call fcn.00456ab0
mov edi, edx
jmp 0x4f62f6
lea eax, [0x9cfe42]
call fcn.00456ab0
jmp 0x4f62de
inc ecx
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x70]
mov edx, ebx
mov ebx, dword [esp + 0x38]
cmp ecx, ebx
jge 0x4f638d
mov edx, dword [edx + ecx*4]
mov ebx, dword [edx + 4]
test ebx, ebx
jne 0x4f6375
mov ebx, dword [edx + 0x48]
test eax, eax
je 0x4f637d
cmp dword [eax], ebx
jne 0x4f6355
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x74], edx
mov ebx, dword [edx + 0x10]
jmp 0x4f59d6
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
add esp, 0x94
ret
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
add esp, 0x94
ret
call fcn.00455270
jmp fcn.004f5960