Function at 0x584210
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5c3f60]
xor eax, ebp
mov dword [ebp - 8], eax
mov ecx, dword [esi + 0x38]
mov edx, dword [esi + 0x34]
mov eax, dword [ebp + 0xc]
push ebx
push edi
lea edi, [esi + 0x34]
mov dword [ebp - 0x24], ecx
cmp edx, ecx
je 0x584270
cmp ecx, ecx
je 0x58426d
lea esp, [esp]
mov ebx, dword [ecx]
mov dword [edx], ebx
mov ebx, dword [ecx + 4]
mov dword [edx + 4], ebx
mov ebx, dword [ecx + 8]
mov dword [edx + 8], ebx
mov ebx, dword [ecx + 0xc]
mov dword [edx + 0xc], ebx
mov ebx, dword [ecx + 0x10]
mov dword [edx + 0x10], ebx
mov ebx, dword [ecx + 0x14]
mov dword [edx + 0x14], ebx
add ecx, 0x18
add edx, 0x18
cmp ecx, dword [ebp - 0x24]
jne 0x584240
mov dword [edi + 4], edx
movzx ecx, word [eax + 2]
mov dword [esi + 0x6c], ecx
movzx edx, word [eax]
mov dword [esi + 0x70], edx
movzx ecx, word [eax + 6]
mov dword [esi + 0x74], ecx
movzx edx, word [eax + 4]
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x80], eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov ebx, 0x64
lea eax, [ebp - 0x20]
mov dword [esi + 0x78], edx
mov dword [esi + 0x68], 0x1e001e
mov dword [ebp - 0x20], 0x200
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x14], 0xc00166
mov dword [ebp - 0x1c], ebx
call fcn.00582060
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x201
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 0xc00166
mov dword [ebp - 0x1c], ebx
call fcn.00582060
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x200
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x14], 0xc00166
mov dword [ebp - 0x1c], ebx
call fcn.00582060
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x202
mov dword [ebp - 0x14], 0xc00166
mov dword [ebp - 0x1c], ebx
call fcn.00582060
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x200
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x14], 0x16100a5
mov dword [ebp - 0x1c], ebx
call fcn.00582060
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x201
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 0x16100a5
mov dword [ebp - 0x1c], ebx
call fcn.00582060
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x200
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x14], 0x16100a5
mov dword [ebp - 0x1c], ebx
call fcn.00582060
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x202
mov dword [ebp - 0x14], 0x16100a5
mov dword [ebp - 0x1c], ebx
call fcn.00582060
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x200
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x14], 0xdc015c
mov dword [ebp - 0x1c], ebx
call fcn.00582060
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x201
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 0xdc015c
mov dword [ebp - 0x1c], ebx
call fcn.00582060
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x200
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x14], 0xdc015c
mov dword [ebp - 0x1c], ebx
call fcn.00582060
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x202
mov dword [ebp - 0x14], 0xdc015c
mov dword [ebp - 0x1c], ebx
call fcn.00582060
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], eax
mov ebx, 0xd
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x102
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], 0xfa0
call fcn.00582060
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x102
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], 0xc8
call fcn.00582060
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x44]
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x48]
cmp ecx, eax
je 0x5845af
mov edx, eax
cmp eax, eax
je 0x5845ac
nop
mov edi, dword [edx]
mov dword [ecx], edi
mov edi, dword [edx + 4]
mov dword [ecx + 4], edi
mov edi, dword [edx + 8]
mov dword [ecx + 8], edi
mov edi, dword [edx + 0xc]
mov dword [ecx + 0xc], edi
mov edi, dword [edx + 0x10]
mov dword [ecx + 0x10], edi
mov edi, dword [edx + 0x14]
mov dword [ecx + 0x14], edi
add edx, 0x18
add ecx, 0x18
cmp edx, eax
jne 0x584580
mov dword [esi + 0x48], ecx
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
xor ecx, ebp
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], eax
pop ebx
call 0x69db7e
mov esp, ebp
pop ebp
ret 0xc