Function at 0x4a4780
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a4fe3
sub esp, 0x50
mov eax, dword [0x6ee9a8]
mov ecx, dword [0x6ee9ac]
test eax, eax
jne 0x4a4fc7
mov eax, dword [esp + 0x5c]
cmp eax, 4
jge 0x4a4d78
cmp eax, 3
jge 0x4a4c51
cmp eax, 2
jne 0x4a4c45
mov ecx, dword [esp + 0x58]
movzx ebx, word [ecx]
cmp bx, 0x7069
jne 0x4a4b5a
movzx ebx, byte [esp + 0x60]
test bl, bl
jne 0x4a4b28
xor edx, edx
xor ebp, ebp
mov esi, dword [0x6ee404]
test esi, esi
jne 0x4a4ae9
test ebp, ebp
jne 0x4a4acd
test bl, bl
je 0x4a4860
movzx edx, byte [0x701444]
test dl, dl
je 0x4a4860
cmp eax, 3
jne 0x4a4ac3
movzx edx, word [ecx]
cmp dx, 0x6374
jne 0x4a4ab9
movzx edx, byte [ecx + 2]
cmp dl, 0x70
jne 0x4a4aaf
mov edx, 3
mov byte [esp + 0x2f], dl
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
mov byte [esp + 4], dl
call fcn.0048cd40
mov eax, dword [esp + 8]
test eax, eax
je 0x4a4a91
mov eax, dword [esp + 0x5c]
cmp eax, 3
jne 0x4a4a88
mov ecx, dword [esp + 0x58]
movzx edx, word [ecx]
cmp dx, 0x6475
jne 0x4a4a83
movzx edx, byte [ecx + 2]
cmp dl, 0x70
jne 0x4a4a55
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], 0x9800000c
lea ecx, [esp + 0x38]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.0048bff0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
test ecx, ecx
jne 0x4a4a37
mov eax, dword [esp + 0x54]
mov dword [eax + 0x2c], 0x72
mov dword [eax + 0x84], IsBadWritePtr
mov ecx, dword [0x7016d0]
lea edx, [eax + 0x38]
lea ebx, [eax + 0x90]
test ecx, ecx
jne 0x4a4a0a
mov dword [eax + 0x38], eax
mov dword [eax + 0x90], eax
mov ecx, dword [eax + 0xc4]
mov dword [eax + 0x28], ecx
mov ecx, dword [eax + 0xc4]
mov dword [eax + 0x80], ecx
movzx ecx, byte [0x701442]
test cl, cl
je 0x4a4974
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
add esp, 0x50
ret
lea eax, [0x59b660]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00403300
mov eax, dword [0x7016d0]
mov ecx, dword [esp + 0x54]
lea edx, [ecx + 0x3c]
mov ebx, dword [esp + 0xc]
test eax, eax
jne 0x4a49fc
mov dword [ecx + 0x3c], ebx
lea eax, [0x59b660]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00403300
mov eax, dword [0x7016d0]
mov ecx, dword [esp + 0x54]
lea edx, [ecx + 0x94]
mov ebx, dword [esp + 0xc]
test eax, eax
jne 0x4a49eb
mov dword [ecx + 0x94], ebx
jmp 0x4a4950
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.0040ef10
jmp 0x4a4950
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.0040ef10
jmp 0x4a49aa
mov dword [esp + 0x4c], ebx
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0040ef10
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
call fcn.0040ef10
mov eax, dword [esp + 0x54]
jmp 0x4a4930
lea edx, [0x5dc3fd]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], 8
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
add esp, 0x50
ret
cmp eax, 4
jne 0x4a4a6b
mov edx, dword [ecx]
cmp edx, 0x34706475
je 0x4a488c
cmp eax, 4
jne 0x4a48fb
mov eax, dword [ecx]
cmp eax, 0x36706475
je 0x4a488c
jmp 0x4a48fb
cmp eax, 4
jmp 0x4a4a58
cmp eax, 4
mov ecx, dword [esp + 0x58]
jmp 0x4a4a58
movzx eax, byte [esp + 0x2f]
test al, 1
je 0x4a4860
mov eax, dword [esp + 0x54]
mov byte [eax + 0xfc], 1
jmp 0x4a4860
mov edx, 2
jmp 0x4a483d
mov edx, 2
jmp 0x4a483d
mov edx, 2
jmp 0x4a483d
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], edx
add esp, 0x50
ret
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], ebp
mov dword [esp], ecx
mov dword [esp + 4], eax
mov ebx, dword [esp + 0x54]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
mov edi, dword [esi]
mov edx, esi
call edi
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x44]
movzx ebx, byte [esp + 0x60]
mov ebp, dword [esp + 0x40]
jmp 0x4a47fd
mov eax, dword [esp + 0x54]
test byte [eax], al
lea ecx, [eax + 0xc4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004a36d0
mov ebp, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
movzx ebx, byte [esp + 0x60]
jmp 0x4a47ef
cmp eax, 3
jne 0x4a4b89
movzx ebx, word [ecx]
cmp bx, 0x6964
jne 0x4a4c3d
movzx ebx, byte [ecx + 2]
cmp bl, 0x72
jne 0x4a4b86
mov ebx, dword [esp + 0x54]
mov byte [ebx + 0x100], 1
jmp 0x4a47de
cmp eax, 3
jne 0x4a4ba2
movzx ebx, word [ecx]
cmp bx, 0x7069
jne 0x4a4ba2
movzx ebx, byte [ecx + 2]
cmp bl, 0x34
je 0x4a47de
mov dword [esp], 0
lea edx, [0x5e5308]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x25
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.0043bae0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], ecx
lea edx, [0x5ae960]
mov dword [esp], edx
call fcn.0040e6c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
mov ecx, dword [0x7016d0]
test ecx, ecx
jne 0x4a4c23
mov ecx, dword [esp + 0x3c]
mov dword [eax], ecx
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
lea ecx, [0x6bfa10]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
add esp, 0x50
ret
mov dword [esp + 0x48], eax
mov dword [esp], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
call fcn.0040ef10
mov eax, dword [esp + 0x48]
jmp 0x4a4c01
cmp eax, 3
jmp 0x4a4b89
cmp eax, 3
mov ecx, dword [esp + 0x58]
jmp 0x4a4b5d
je 0x4a4d39
je 0x4a4cab
jne 0x4a4ca2
mov ecx, dword [esp + 0x58]
movzx ebx, word [ecx]
cmp bx, 0x6475
jne 0x4a4c9d
movzx ebx, byte [ecx + 2]
cmp bl, 0x70
je 0x4a47de
cmp eax, 4
jne 0x4a4ba2
mov ebx, dword [ecx]
cmp ebx, 0x656c6966
jne 0x4a4ba2
mov ebx, dword [esp + 0x54]
mov byte [ebx + 0xff], 1
jmp 0x4a47de
cmp eax, 4
jmp 0x4a4c79
cmp eax, 4
mov ecx, dword [esp + 0x58]
jmp 0x4a4c79
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x5db7c7]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 3
call fcn.0044be90
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4a4d2d
mov eax, dword [esp + 0x5c]
cmp eax, 3
jne 0x4a4d27
mov ecx, dword [esp + 0x58]
movzx ebx, word [ecx]
cmp bx, 0x7069
jne 0x4a4d22
movzx ebx, byte [ecx + 2]
cmp bl, 0x36
je 0x4a47de
cmp eax, 3
jne 0x4a4ba2
movzx ebx, word [ecx]
cmp bx, 0x6374
jne 0x4a4ba2
movzx ebx, byte [ecx + 2]
cmp bl, 0x70
je 0x4a47de
jmp 0x4a4ba2
cmp eax, 3
jmp 0x4a4cfc
mov ecx, dword [esp + 0x58]
jmp 0x4a4cfc
mov eax, dword [esp + 0x5c]
cmp eax, 3
jmp 0x4a4c59
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x5db7a9]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 3
call fcn.0044be90
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4a4d6c
mov eax, dword [esp + 0x5c]
jmp 0x4a47c3
mov eax, dword [esp + 0x5c]
cmp eax, 3
jmp 0x4a4c57
je 0x4a4f88
je 0x4a4e9f
cmp eax, 7
jge 0x4a4dec
cmp eax, 4
jne 0x4a4de3
mov ecx, dword [esp + 0x58]
mov ebx, dword [ecx]
cmp ebx, 0x78696e75
je 0x4a47de
cmp eax, 7
jne 0x4a4ba2
mov ebx, dword [ecx]
cmp ebx, 0x736e6f63
jne 0x4a4ba2
movzx ebx, word [ecx + 4]
cmp bx, 0x6c6f
jne 0x4a4ba2
movzx ebx, byte [ecx + 6]
cmp bl, 0x65
jne 0x4a4ba2
mov ebx, dword [esp + 0x54]
mov byte [ebx + 0xd0], 1
jmp 0x4a47de
cmp eax, 7
mov ecx, dword [esp + 0x58]
jmp 0x4a4da3
je 0x4a4e60
cmp eax, 8
jne 0x4a4e5a
mov ecx, dword [esp + 0x58]
mov ebx, dword [ecx]
cmp ebx, 0x78696e75
jne 0x4a4e10
mov ebx, dword [ecx + 4]
cmp ebx, 0x6d617267
je 0x4a47de
cmp eax, 0xa
jne 0x4a4ba2
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x5dca4d]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0xa
call fcn.0044bd60
movzx eax, byte [esp + 0x10]
test al, al
je 0x4a4e4d
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
jmp 0x4a47de
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
jmp 0x4a4ba2
mov ecx, dword [esp + 0x58]
jmp 0x4a4e10
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x5dc014]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 7
call fcn.0044be90
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4a4e96
mov eax, dword [esp + 0x5c]
cmp eax, 4
jmp 0x4a4d8c
mov eax, dword [esp + 0x5c]
jmp 0x4a4dee
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x5db9b9]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call fcn.0044be90
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4a4f7f
mov eax, dword [esp + 0x5c]
cmp eax, 4
je 0x4a4f0c
jne 0x4a4f06
mov ecx, dword [esp + 0x58]
mov ebx, dword [ecx]
cmp ebx, 0x34706475
je 0x4a47de
cmp eax, 4
jne 0x4a4ba2
mov ebx, dword [ecx]
cmp ebx, 0x36706475
je 0x4a47de
jmp 0x4a4ba2
mov ecx, dword [esp + 0x58]
jmp 0x4a4eed
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x5db9b1]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call fcn.0044be90
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4a4f73
mov eax, dword [esp + 0x5c]
cmp eax, 4
jne 0x4a4f6d
mov ecx, dword [esp + 0x58]
mov ebx, dword [ecx]
cmp ebx, 0x34706374
je 0x4a47de
cmp eax, 4
jne 0x4a4ba2
mov ebx, dword [ecx]
cmp ebx, 0x36706374
je 0x4a47de
jmp 0x4a4ba2
mov ecx, dword [esp + 0x58]
jmp 0x4a4f54
mov eax, dword [esp + 0x5c]
cmp eax, 4
jmp 0x4a4ed6
mov eax, dword [esp + 0x5c]
jmp 0x4a4d84
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x5db949]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call fcn.0044be90
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x4a4fbb
mov eax, dword [esp + 0x5c]
jmp 0x4a47ba
mov eax, dword [esp + 0x5c]
cmp eax, 4
jmp 0x4a4d7e
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
add esp, 0x50
ret
call fcn.0044a520
jmp fcn.004a4780