Function at 0x581db0
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 0x581e0a
mov eax, edx
cmp edx, edx
je 0x581e07
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 0x581dd8
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 0x581e7f
mov eax, edx
cmp edx, edx
je 0x581e7c
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 0x581e50
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 + 0x14]
mov edx, dword [ebp + 0x10]
xor eax, eax
mov dword [esi + 0x4c], ecx
mov ecx, dword [ebp - 4]
pop edi
mov dword [esi + 0x54], ebx
xor ecx, ebp
mov dword [esi + 0x50], eax
mov dword [esi + 0x48], edx
mov dword [esi + 0xc], eax
mov dword [0x5cc1c8], eax
pop ebx
call 0x69db7e
mov esp, ebp
pop ebp
ret 0x10