Function at 0x477e70
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea ecx, [ebp - 0x30]
sub esp, 0x4c
mov ebx, dword [ebp + 0xc]
mov dword [esp + 4], 0
mov dword [esp], 0x10
call dword [0x60f850]
mov eax, dword [ebx + 0x30]
sub esp, 8
xor edx, edx
cmp eax, dword [0x60f7f8]
mov ecx, dword [eax + 4]
je 0x477eac
add eax, dword [eax + 0xc]
mov edx, eax
lea eax, [ebp - 0x2c]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [0x60fb28]
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov esi, 0x10
cmp dword [edi + 4], 0x10
cmovle esi, dword [edi + 4]
add edi, dword [edi + 0xc]
mov eax, dword [edx]
cmp eax, 1
jbe 0x478370
movsx eax, byte [edx + 0xb]
lea ecx, [ebp - 0x30]
shr eax, 0x1f
mov dword [esp + 4], eax
mov eax, dword [edx + 4]
add eax, 1
mov dword [esp], eax
call dword [0x60f800]
mov eax, dword [ebp - 0x30]
sub esp, 8
mov ecx, dword [eax + 0xc]
add eax, ecx
cmp esi, 4
jae 0x478310
test esi, esi
jne 0x478350
mov eax, dword [ebx]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call fcn.00484880
lea edi, [ebp - 0x30]
sub esp, 4
mov ecx, eax
mov dword [esp], edi
call fcn.00484a80
lea esi, [ebp - 0x28]
lea edi, [ebx + 0x3c]
sub esp, 4
mov dword [ebp - 0x3c], eax
mov dword [esp + 8], 0x28
mov ecx, esi
mov dword [esp + 4], 0
mov dword [esp], edi
mov esi, dword [0x60fd5c]
call esi
lea edx, [ebp - 0x28]
mov ecx, dword [ebp - 0x3c]
sub esp, 0xc
mov dword [esp], edx
call fcn.00484a80
movzx edx, word [ebx + 0x34]
sub esp, 4
mov ecx, eax
mov dword [esp], edx
call fcn.00484990
movzx edx, word [ebx + 0x38]
sub esp, 4
mov ecx, eax
mov dword [esp], edx
call fcn.00484990
sub esp, 4
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x24]
mov dword [esp + 8], 2
mov dword [esp + 4], 0x28
mov dword [esp], edi
call esi
lea edx, [ebp - 0x24]
mov ecx, dword [ebp - 0x3c]
sub esp, 0xc
mov dword [esp], edx
call fcn.00484a80
movzx edx, byte [ebx + 4]
sub esp, 4
mov ecx, eax
mov dword [esp], edx
call fcn.00484970
movzx edx, byte [ebx + 5]
sub esp, 4
mov ecx, eax
mov dword [esp], edx
call fcn.00484970
mov edx, dword [ebx + 8]
sub esp, 4
mov ecx, eax
mov dword [esp], edx
call fcn.00484880
movzx edx, byte [ebx + 6]
sub esp, 4
mov ecx, eax
mov dword [esp], edx
call fcn.00484970
mov edx, dword [ebx + 0xc]
sub esp, 4
mov ecx, eax
mov dword [esp], edx
call fcn.00484880
movzx edx, word [ebx + 0x10]
sub esp, 4
mov ecx, eax
mov dword [esp], edx
call fcn.00484990
movzx edx, word [ebx + 0x12]
sub esp, 4
mov ecx, eax
mov dword [esp], edx
call fcn.00484990
movzx edx, word [ebx + 0x14]
sub esp, 4
mov ecx, eax
mov dword [esp], edx
call fcn.00484990
movzx edx, word [ebx + 0x16]
sub esp, 4
mov ecx, eax
mov dword [esp], edx
call fcn.00484990
mov edx, dword [ebx + 0x18]
sub esp, 4
mov ecx, eax
mov dword [esp], edx
call fcn.00484880
movzx edx, byte [ebx + 0x25]
sub esp, 4
mov ecx, eax
mov dword [esp], edx
call fcn.00484970
movzx edx, byte [ebx + 0x26]
sub esp, 4
mov ecx, eax
mov dword [esp], edx
call fcn.00484970
mov edx, dword [ebx + 0x28]
sub esp, 4
mov ecx, eax
mov dword [esp], edx
call fcn.00484880
movzx edx, byte [ebx + 0x27]
sub esp, 4
mov ecx, eax
mov dword [esp], edx
call fcn.00484970
movzx edx, byte [ebx + 0x24]
sub esp, 4
mov ecx, eax
mov dword [esp], edx
call fcn.00484970
movzx edx, byte [ebx + 0x2c]
sub esp, 4
mov ecx, eax
mov dword [esp], edx
call fcn.00484970
sub esp, 4
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x20]
mov dword [esp + 8], 0xf
mov dword [esp + 4], 0x2a
mov dword [esp], edi
call esi
lea edx, [ebp - 0x20]
mov ecx, dword [ebp - 0x3c]
sub esp, 0xc
mov dword [esp], edx
call fcn.00484a80
mov edx, dword [ebx + 0x1c]
sub esp, 4
mov ecx, eax
mov dword [esp], edx
call fcn.00484880
mov edx, dword [ebx + 0x20]
sub esp, 4
mov ecx, eax
mov dword [esp], edx
call fcn.00484880
movzx edx, byte [ebx + 0x2d]
sub esp, 4
mov ecx, eax
mov dword [esp], edx
call fcn.00484970
lea ebx, [ebp - 0x1c]
sub esp, 4
mov dword [ebp - 0x3c], eax
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x39
mov dword [esp], edi
mov ecx, ebx
call esi
mov ecx, dword [ebp - 0x3c]
sub esp, 0xc
mov dword [esp], ebx
call fcn.00484a80
mov ebx, eax
mov eax, dword [ebp - 0x1c]
sub esp, 4
mov edx, dword [eax]
test edx, edx
je 0x478225
cmp edx, 0xffffffff
je 0x478180
lock sub dword [eax], 1
mov eax, dword [ebp - 0x1c]
je 0x478225
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
test edx, edx
je 0x47824b
cmp edx, 0xffffffff
je 0x47819f
lock sub dword [eax], 1
mov eax, dword [ebp - 0x20]
je 0x47824b
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
test edx, edx
je 0x478271
cmp edx, 0xffffffff
je 0x4781be
lock sub dword [eax], 1
mov eax, dword [ebp - 0x24]
je 0x478271
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
test edx, edx
je 0x478297
cmp edx, 0xffffffff
je 0x4781dd
lock sub dword [eax], 1
mov eax, dword [ebp - 0x28]
je 0x478297
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
test edx, edx
je 0x4782bd
cmp edx, 0xffffffff
je 0x4781fc
lock sub dword [eax], 1
mov eax, dword [ebp - 0x2c]
je 0x4782bd
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
test edx, edx
je 0x4782e3
cmp edx, 0xffffffff
je 0x47821b
lock sub dword [eax], 1
mov eax, dword [ebp - 0x30]
je 0x4782e3
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 1
call dword [0x60f7f4]
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
test edx, edx
jne 0x47818d
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 1
call dword [0x60f7f4]
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
test edx, edx
jne 0x4781ac
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 1
call dword [0x60f7f4]
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
test edx, edx
jne 0x4781cb
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 1
call dword [0x60f7f4]
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
test edx, edx
jne 0x4781ea
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 1
call dword [0x60f7f4]
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
test edx, edx
jne 0x478209
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 1
call dword [0x60f7f4]
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [edi]
mov dword [eax], edx
mov edx, dword [edi + esi - 4]
mov dword [eax + esi - 4], edx
lea edx, [eax + 4]
and edx, 0xfffffffc
sub eax, edx
add esi, eax
sub edi, eax
and esi, 0xfffffffc
cmp esi, 4
jb 0x477f1a
and esi, 0xfffffffc
xor eax, eax
mov ecx, dword [edi + eax]
mov dword [edx + eax], ecx
add eax, 4
cmp eax, esi
jb 0x478339
jmp 0x477f1a
movzx edx, byte [edi]
test esi, 2
mov byte [eax], dl
je 0x477f1a
movzx edx, word [edi + esi - 2]
mov word [eax + esi - 2], dx
jmp 0x477f1a
mov ecx, dword [edx + 0xc]
mov eax, edx
cmp ecx, 0x10
jne 0x477ee1
jmp 0x477f07