Function at 0x477960
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x478189
sub esp, 0x48
mov ecx, dword [0x7c78a4]
mov ebx, dword [0x7c78a0]
test ebx, ebx
jne 0x47816d
mov ecx, dword [esp + 0x54]
cmp ecx, 4
jge 0x477f24
cmp ecx, 3
jge 0x477df7
cmp ecx, 2
jne 0x477deb
mov ebx, dword [esp + 0x50]
movzx ebp, word [ebx]
cmp bp, 0x7069
jne 0x477d0b
movzx ebp, byte [esp + 0x58]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x477cd9
xor eax, eax
xor edx, edx
mov esi, dword [0x7c7288]
test esi, esi
jne 0x477c9a
test edx, edx
jne 0x477c7e
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x477a43
movzx edx, byte [0x7d934c]
test dl, dl
je 0x477a43
cmp ecx, 3
jne 0x477c74
movzx eax, word [ebx]
cmp ax, 0x6374
jne 0x477c6a
movzx eax, byte [ebx + 2]
cmp al, 0x70
jne 0x477c60
mov eax, 3
mov byte [esp + 0x2f], al
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 0x10]
mov dword [esp], edx
mov byte [esp + 4], al
call fcn.00463cd0
mov eax, dword [esp + 8]
test eax, eax
je 0x477c42
mov ecx, dword [esp + 0x54]
cmp ecx, 3
jne 0x477c39
mov edx, dword [esp + 0x50]
movzx ebx, word [edx]
cmp bx, 0x6475
jne 0x477c34
movzx ebx, byte [edx + 2]
cmp bl, 0x70
jne 0x477c05
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x4c]
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.00463010
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
test ecx, ecx
jne 0x477be7
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x2c], 0x72
mov dword [eax + 0xa0], 0x77
mov ecx, dword [0x7d95f0]
test ecx, ecx
jne 0x477bcf
mov dword [eax + 0x38], eax
mov dword [eax + 0xac], eax
mov ecx, dword [eax + 0xfc]
mov dword [eax + 0x28], ecx
mov ecx, dword [eax + 0xfc]
mov dword [eax + 0x9c], ecx
movzx ecx, byte [0x7d934a]
test cl, cl
je 0x477b4e
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
add esp, 0x48
ret
lea eax, [0x5d5e00]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00403a60
mov eax, dword [0x7d95f0]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x477bbf
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x3c], ecx
lea eax, [0x5d5e00]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00403a60
mov eax, dword [0x7d95f0]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x477ba9
mov eax, dword [esp + 0x4c]
mov dword [eax + 0xb0], ecx
jmp 0x477b2a
mov edx, dword [esp + 0x4c]
lea edi, [edx + 0xb0]
mov eax, ecx
call fcn.0044b6a0
jmp 0x477b2a
mov edx, dword [esp + 0x4c]
lea edi, [edx + 0x3c]
mov eax, ecx
call fcn.0044b6a0
jmp 0x477b79
lea edi, [eax + 0x38]
call fcn.0044b6a0
lea edi, [eax + 0xac]
call fcn.0044b6a0
jmp 0x477b0a
lea edx, [0x61e022]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], 8
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
add esp, 0x48
ret
cmp ecx, 4
jne 0x477c1b
mov ebx, dword [edx]
cmp ebx, 0x34706475
je 0x477a6f
cmp ecx, 4
jne 0x477ade
mov ecx, dword [edx]
cmp ecx, 0x36706475
je 0x477a6f
jmp 0x477ade
cmp ecx, 4
jmp 0x477c08
cmp ecx, 4
mov edx, dword [esp + 0x50]
jmp 0x477c08
movzx ecx, byte [esp + 0x2f]
test cl, 1
je 0x477a43
mov eax, dword [esp + 0x4c]
mov byte [eax + 0x138], 1
jmp 0x477a43
mov eax, 2
jmp 0x477a20
mov eax, 2
jmp 0x477a20
mov eax, 2
jmp 0x477a20
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
add esp, 0x48
ret
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], edx
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov ebp, dword [esp + 0x4c]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov edi, dword [esi]
mov edx, esi
call edi
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x50]
movzx ebp, byte [esp + 0x58]
jmp 0x4779df
mov eax, dword [esp + 0x4c]
test byte [eax], al
lea ecx, [eax + 0xfc]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00476920
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
movzx ebp, byte [esp + 0x58]
jmp 0x4779d1
cmp ecx, 3
jne 0x477d3c
movzx ebp, word [ebx]
cmp bp, 0x6964
jne 0x477de3
movzx ebp, byte [ebx + 2]
xchg ebp, eax
cmp al, 0x72
xchg ebp, eax
jne 0x477d39
mov eax, dword [esp + 0x4c]
mov byte [eax + 0x13c], 1
jmp 0x4779be
cmp ecx, 3
jne 0x477d57
movzx ebp, word [ebx]
cmp bp, 0x7069
jne 0x477d57
movzx ebp, byte [ebx + 2]
xchg ebp, eax
cmp al, 0x34
xchg ebp, eax
je 0x4779be
mov dword [esp], 0
lea eax, [0x627cbd]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x25
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
call fcn.0043ae00
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x40], ecx
lea edx, [0x5eb620]
mov dword [esp], edx
call fcn.00409a10
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x30]
mov dword [edi + 4], eax
mov eax, dword [0x7d95f0]
test eax, eax
jne 0x477dd8
mov eax, dword [esp + 0x40]
mov dword [edi], eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
lea eax, [0x65e800]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], edi
add esp, 0x48
ret
mov eax, dword [esp + 0x40]
call fcn.0044b6a0
jmp 0x477db6
cmp ecx, 3
jmp 0x477d3c
cmp ecx, 3
mov ebx, dword [esp + 0x50]
jmp 0x477d0e
je 0x477ee5
je 0x477e53
jne 0x477e4a
mov ebx, dword [esp + 0x50]
movzx ebp, word [ebx]
cmp bp, 0x6475
jne 0x477e45
movzx ebp, byte [ebx + 2]
xchg ebp, eax
cmp al, 0x70
xchg ebp, eax
je 0x4779be
cmp ecx, 4
jne 0x477d57
mov ebp, dword [ebx]
cmp ebp, 0x656c6966
jne 0x477d57
mov eax, dword [esp + 0x4c]
mov byte [eax + 0x13b], 1
jmp 0x4779be
cmp ecx, 4
jmp 0x477e21
cmp ecx, 4
mov ebx, dword [esp + 0x50]
jmp 0x477e21
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x61d257]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 3
call fcn.00402000
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x477ed9
mov ecx, dword [esp + 0x54]
cmp ecx, 3
jne 0x477ed3
mov ebx, dword [esp + 0x50]
movzx ebp, word [ebx]
cmp bp, 0x7069
jne 0x477ece
movzx ebp, byte [ebx + 2]
xchg ebp, eax
cmp al, 0x36
xchg ebp, eax
je 0x4779be
cmp ecx, 3
jne 0x477d57
movzx ebp, word [ebx]
cmp bp, 0x6374
jne 0x477d57
movzx ebp, byte [ebx + 2]
xchg ebp, eax
cmp al, 0x70
xchg ebp, eax
je 0x4779be
jmp 0x477d57
cmp ecx, 3
jmp 0x477ea6
mov ebx, dword [esp + 0x50]
jmp 0x477ea6
mov ecx, dword [esp + 0x54]
cmp ecx, 3
jmp 0x477dff
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x61d236]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 3
call fcn.00402000
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x477f18
mov ecx, dword [esp + 0x54]
jmp 0x4779a3
mov ecx, dword [esp + 0x54]
cmp ecx, 3
jmp 0x477dfd
je 0x47812e
je 0x478045
cmp ecx, 7
jge 0x477f9a
cmp ecx, 4
jne 0x477f91
mov ebx, dword [esp + 0x50]
mov ebp, dword [ebx]
cmp ebp, 0x78696e75
je 0x4779be
cmp ecx, 7
jne 0x477d57
mov ebp, dword [ebx]
cmp ebp, 0x736e6f63
jne 0x477d57
movzx ebp, word [ebx + 4]
cmp bp, 0x6c6f
jne 0x477d57
movzx ebp, byte [ebx + 6]
xchg ebp, eax
cmp al, 0x65
xchg ebp, eax
jne 0x477d57
mov eax, dword [esp + 0x4c]
mov byte [eax + 0x108], 1
jmp 0x4779be
cmp ecx, 7
mov ebx, dword [esp + 0x50]
jmp 0x477f4f
je 0x478006
cmp ecx, 8
jne 0x478000
mov ebx, dword [esp + 0x50]
mov ebp, dword [ebx]
cmp ebp, 0x78696e75
jne 0x477fbe
mov ebp, dword [ebx + 4]
cmp ebp, 0x6d617267
je 0x4779be
cmp ecx, 0xa
jne 0x477d57
mov dword [esp], ebx
lea eax, [0x61e83b]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00402150
movzx eax, byte [esp + 0xc]
test al, al
je 0x477ff3
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
jmp 0x4779be
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
jmp 0x477d57
mov ebx, dword [esp + 0x50]
jmp 0x477fbe
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x61dbaa]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 7
call fcn.00402000
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x47803c
mov ecx, dword [esp + 0x54]
cmp ecx, 4
jmp 0x477f38
mov ecx, dword [esp + 0x54]
jmp 0x477f9c
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x61d471]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call fcn.00402000
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x478125
mov ecx, dword [esp + 0x54]
cmp ecx, 4
je 0x4780b2
jne 0x4780ac
mov ebx, dword [esp + 0x50]
mov ebp, dword [ebx]
cmp ebp, 0x34706475
je 0x4779be
cmp ecx, 4
jne 0x477d57
mov ebp, dword [ebx]
cmp ebp, 0x36706475
je 0x4779be
jmp 0x477d57
mov ebx, dword [esp + 0x50]
jmp 0x478093
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x61d469]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call fcn.00402000
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x478119
mov ecx, dword [esp + 0x54]
cmp ecx, 4
jne 0x478113
mov ebx, dword [esp + 0x50]
mov ebp, dword [ebx]
cmp ebp, 0x34706374
je 0x4779be
cmp ecx, 4
jne 0x477d57
mov ebp, dword [ebx]
cmp ebp, 0x36706374
je 0x4779be
jmp 0x477d57
mov ebx, dword [esp + 0x50]
jmp 0x4780fa
mov ecx, dword [esp + 0x54]
cmp ecx, 4
jmp 0x47807c
mov ecx, dword [esp + 0x54]
jmp 0x477f30
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x61d3fd]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call fcn.00402000
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x478161
mov ecx, dword [esp + 0x54]
jmp 0x47799a
mov ecx, dword [esp + 0x54]
cmp ecx, 4
jmp 0x477f2a
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ecx
add esp, 0x48
ret
call fcn.00449f40
jmp fcn.00477960