Function at 0x58c5e0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, eax
movzx eax, byte [esi + 4]
mov byte [edi + 4], al
mov cl, byte [esi + 5]
mov byte [edi + 5], cl
mov dl, byte [esi + 6]
mov byte [edi + 6], dl
movzx eax, byte [esi + 7]
mov byte [edi + 7], al
movzx ecx, word [esi + 8]
mov word [edi + 8], cx
movzx edx, word [esi + 0xa]
mov word [edi + 0xa], dx
movzx eax, word [esi + 0xc]
mov word [edi + 0xc], ax
movzx ecx, word [esi + 0xe]
mov word [edi + 0xe], cx
movzx edx, word [esi + 0x10]
mov word [edi + 0x10], dx
movzx eax, word [esi + 0x12]
mov word [edi + 0x12], ax
mov ecx, dword [esi + 0x14]
mov dword [edi + 0x14], ecx
mov edx, dword [esi + 0x18]
mov dword [edi + 0x18], edx
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], eax
movzx ecx, word [esi + 0x20]
mov word [edi + 0x20], cx
movzx edx, word [esi + 0x22]
mov word [edi + 0x22], dx
mov eax, dword [esi + 0x24]
mov dword [edi + 0x24], eax
mov ecx, dword [esi + 0x28]
lea eax, [esi + 0x2c]
lea ebx, [edi + 0x2c]
mov dword [edi + 0x28], ecx
cmp ebx, eax
je 0x58c6e1
mov eax, dword [ebx + 4]
test eax, eax
je 0x58c682
push eax
call fcn.0059c8ea
add esp, 4
xor eax, eax
mov dword [ebx + 8], eax
mov dword [ebx + 4], eax
cmp dword [esi + 0x30], 0
je 0x58c6e1
mov ecx, dword [esi + 0x34]
mov dword [ebp - 4], ecx
cmp ecx, dword [ebx + 8]
je 0x58c6cd
mov eax, dword [ebx + 4]
test eax, eax
je 0x58c6ae
push eax
call fcn.0059c8ea
mov ecx, dword [ebp - 4]
add esp, 4
xor eax, eax
mov dword [ebx + 8], eax
mov dword [ebx + 4], eax
test ecx, ecx
je 0x58c6c6
push ecx
call fcn.0059c8f5
mov edx, dword [ebp - 4]
add esp, 4
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
jmp 0x58c6cd
mov dword [ebx + 4], 0
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x30]
mov edx, dword [ebx + 4]
push eax
push ecx
push edx
call 0x6a0880
add esp, 0xc
lea eax, [esi + 0x38]
lea ebx, [edi + 0x38]
cmp ebx, eax
je 0x58c762
mov eax, dword [ebx + 4]
test eax, eax
je 0x58c703
push eax
call fcn.0059c8ea
add esp, 4
xor eax, eax
mov dword [ebx + 8], eax
mov dword [ebx + 4], eax
cmp dword [esi + 0x3c], 0
je 0x58c762
mov ecx, dword [esi + 0x40]
mov dword [ebp - 4], ecx
cmp ecx, dword [ebx + 8]
je 0x58c74e
mov eax, dword [ebx + 4]
test eax, eax
je 0x58c72f
push eax
call fcn.0059c8ea
mov ecx, dword [ebp - 4]
add esp, 4
xor eax, eax
mov dword [ebx + 8], eax
mov dword [ebx + 4], eax
test ecx, ecx
je 0x58c747
push ecx
call fcn.0059c8f5
mov dword [ebx + 4], eax
mov eax, dword [ebp - 4]
add esp, 4
mov dword [ebx + 8], eax
jmp 0x58c74e
mov dword [ebx + 4], 0
mov ecx, dword [esi + 0x40]
mov edx, dword [esi + 0x3c]
mov eax, dword [ebx + 4]
push ecx
push edx
push eax
call 0x6a0880
add esp, 0xc
add esi, 0x44
lea ebx, [edi + 0x44]
cmp ebx, esi
je 0x58c7e3
mov eax, dword [ebx + 4]
test eax, eax
je 0x58c784
push eax
call fcn.0059c8ea
add esp, 4
xor eax, eax
mov dword [ebx + 8], eax
mov dword [ebx + 4], eax
cmp dword [esi + 4], 0
je 0x58c7e3
mov ecx, dword [esi + 8]
mov dword [ebp - 4], ecx
cmp ecx, dword [ebx + 8]
je 0x58c7cf
mov eax, dword [ebx + 4]
test eax, eax
je 0x58c7b0
push eax
call fcn.0059c8ea
mov ecx, dword [ebp - 4]
add esp, 4
xor eax, eax
mov dword [ebx + 8], eax
mov dword [ebx + 4], eax
test ecx, ecx
je 0x58c7c8
push ecx
call fcn.0059c8f5
mov ecx, dword [ebp - 4]
add esp, 4
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
jmp 0x58c7cf
mov dword [ebx + 4], 0
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
mov ecx, dword [ebx + 4]
push edx
push eax
push ecx
call 0x6a0880
add esp, 0xc
pop esi
mov eax, edi
pop ebx
mov esp, ebp
pop ebp
ret