Function at 0x581b10
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5c3f60]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x38]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
lea edi, [esi + 0x34]
cmp ecx, edx
je 0x581b6a
mov eax, edx
cmp edx, edx
je 0x581b67
mov ebx, dword [eax]
mov dword [ecx], ebx
mov ebx, dword [eax + 4]
mov dword [ecx + 4], ebx
mov ebx, dword [eax + 8]
mov dword [ecx + 8], ebx
mov ebx, dword [eax + 0xc]
mov dword [ecx + 0xc], ebx
mov ebx, dword [eax + 0x10]
mov dword [ecx + 0x10], ebx
mov ebx, dword [eax + 0x14]
mov dword [ecx + 0x14], ebx
add eax, 0x18
add ecx, 0x18
cmp eax, edx
jne 0x581b38
mov ebx, dword [ebp + 0xc]
mov dword [edi + 4], ecx
movzx eax, word [ebx + 2]
mov dword [esi + 0x80], eax
movzx ecx, word [ebx]
mov dword [esi + 0x84], ecx
movzx edx, word [ebx + 6]
mov dword [esi + 0x88], edx
movzx eax, word [ebx + 4]
mov dword [esi + 0x8c], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x7c], 0x1e001e
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x5c]
mov dword [esi + 0x78], eax
cmp ecx, edx
je 0x581bdf
mov eax, edx
cmp edx, edx
je 0x581bdc
mov edi, edi
mov ebx, dword [eax]
mov dword [ecx], ebx
mov ebx, dword [eax + 4]
mov dword [ecx + 4], ebx
mov ebx, dword [eax + 8]
mov dword [ecx + 8], ebx
mov ebx, dword [eax + 0xc]
mov dword [ecx + 0xc], ebx
mov ebx, dword [eax + 0x10]
mov dword [ecx + 0x10], ebx
mov ebx, dword [eax + 0x14]
mov dword [ecx + 0x14], ebx
add eax, 0x18
add ecx, 0x18
cmp eax, edx
jne 0x581bb0
mov dword [esi + 0x5c], ecx
xor eax, 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 - 8], eax
mov ebx, 1
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x200
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 0x19200b2
mov dword [ebp - 0x18], 0x96
call fcn.00582060
xor eax, 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 - 8], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x201
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 0x19200b2
mov dword [ebp - 0x18], 0x96
call fcn.00582060
xor eax, 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 - 8], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x202
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 0x19200b2
mov dword [ebp - 0x18], 0x96
call fcn.00582060
xor eax, 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 - 8], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x200
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 0xdc0155
mov dword [ebp - 0x18], 0x96
call fcn.00582060
xor eax, 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 - 8], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x201
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 0xdc0155
mov dword [ebp - 0x18], 0x96
call fcn.00582060
xor eax, 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 - 8], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x202
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 0xdc0155
mov dword [ebp - 0x18], 0x96
call fcn.00582060
xor eax, 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 - 8], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x201
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 0xdc0155
mov dword [ebp - 0x18], 0x96
call fcn.00582060
xor eax, 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 - 8], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x202
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 0xdc0155
mov dword [ebp - 0x18], 0x96
call fcn.00582060
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
mov dword [esi + 0x50], ebx
xor ecx, ebp
mov dword [esi + 0x4c], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0xc], eax
mov dword [0x5cc1c8], eax
mov dword [esi + 0x54], eax
pop ebx
call 0x69db7e
mov esp, ebp
pop ebp
ret 8