Function at 0x4598e0
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x459c15
xor ecx, ecx
xor edx, edx
mov ch, byte [eax]
mov dl, byte [eax + 2]
mov cl, byte [eax + 1]
push ebp
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax + 3]
lea ebp, [eax + 0xc]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dword [eax], ecx
mov dl, byte [eax + 6]
xor ecx, ecx
push esi
mov ch, byte [eax + 4]
push edi
mov cl, byte [eax + 5]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax + 7]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dword [eax + 4], ecx
xor ecx, ecx
mov ch, byte [eax + 8]
mov cl, byte [eax + 9]
mov word [eax + 8], cx
mov dh, byte [ebp]
mov dl, byte [eax + 0xd]
xor ecx, ecx
mov cl, byte [eax + 0xe]
shl edx, 8
or edx, ecx
xor ecx, ecx
mov cl, byte [eax + 0xf]
shl edx, 8
or edx, ecx
xor ecx, ecx
mov dword [ebp], edx
mov cl, byte [eax + 0x12]
xor edx, edx
mov dh, byte [eax + 0x10]
mov dl, byte [eax + 0x11]
shl edx, 8
or edx, ecx
xor ecx, ecx
mov cl, byte [eax + 0x13]
shl edx, 8
or edx, ecx
xor ecx, ecx
mov dword [eax + 0x10], edx
mov cl, byte [eax + 0x16]
xor edx, edx
mov dh, byte [eax + 0x14]
mov dl, byte [eax + 0x15]
shl edx, 8
or edx, ecx
xor ecx, ecx
mov cl, byte [eax + 0x17]
shl edx, 8
or edx, ecx
xor ecx, ecx
mov dword [eax + 0x14], edx
mov cl, byte [eax + 0x1a]
xor edx, edx
mov dh, byte [eax + 0x18]
mov dl, byte [eax + 0x19]
shl edx, 8
or edx, ecx
xor ecx, ecx
mov cl, byte [eax + 0x1b]
shl edx, 8
or edx, ecx
mov dword [eax + 0x18], edx
xor edx, edx
mov dh, byte [eax + 0x1c]
xor ecx, ecx
mov dl, byte [eax + 0x1d]
mov cl, byte [eax + 0x1e]
shl edx, 8
or edx, ecx
xor ecx, ecx
mov cl, byte [eax + 0x1f]
mov esi, ebp
shl edx, 8
or edx, ecx
xor ecx, ecx
mov cl, byte [eax + 0x22]
mov dword [eax + 0x1c], edx
xor edx, edx
mov dh, byte [eax + 0x20]
mov dl, byte [eax + 0x21]
shl edx, 8
or edx, ecx
xor ecx, ecx
mov cl, byte [eax + 0x23]
shl edx, 8
or edx, ecx
xor ecx, ecx
mov cl, byte [eax + 0x26]
mov dword [eax + 0x20], edx
xor edx, edx
mov dh, byte [eax + 0x24]
mov dl, byte [eax + 0x25]
shl edx, 8
or edx, ecx
xor ecx, ecx
mov cl, byte [eax + 0x27]
shl edx, 8
or edx, ecx
xor ecx, ecx
mov cl, byte [eax + 0x2a]
mov dword [eax + 0x24], edx
xor edx, edx
mov dh, byte [eax + 0x28]
mov dl, byte [eax + 0x29]
shl edx, 8
or edx, ecx
xor ecx, ecx
mov cl, byte [eax + 0x2b]
shl edx, 8
or edx, ecx
xor ecx, ecx
mov cl, byte [eax + 0x2e]
mov dword [eax + 0x28], edx
xor edx, edx
mov dh, byte [eax + 0x2c]
mov dl, byte [eax + 0x2d]
shl edx, 8
or edx, ecx
xor ecx, ecx
mov cl, byte [eax + 0x2f]
shl edx, 8
or edx, ecx
mov dword [eax + 0x2c], edx
xor edx, edx
mov dh, byte [eax + 0x30]
xor ecx, ecx
mov ch, byte [eax + 0x32]
mov dl, byte [eax + 0x31]
mov cl, byte [eax + 0x33]
mov word [eax + 0x30], dx
mov edx, dword [esp + 0x14]
mov word [eax + 0x32], cx
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov cx, word [eax + 8]
mov word [edx + 8], cx
lea edi, [edx + 0xa]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
mov cx, word [eax + 0x30]
mov word [edx + 0x2e], cx
mov cx, word [eax + 0x32]
mov word [edx + 0x30], cx
xor edx, edx
mov dh, byte [eax + 4]
xor ecx, ecx
mov dl, byte [eax + 5]
mov cl, byte [eax + 6]
shl edx, 8
or edx, ecx
xor ecx, ecx
mov cl, byte [eax + 7]
shl edx, 8
or edx, ecx
xor ecx, ecx
mov dword [eax + 4], edx
xor edx, edx
mov dh, byte [eax + 8]
mov dl, byte [eax + 9]
mov word [eax + 8], dx
mov ch, byte [ebp]
mov cl, byte [eax + 0xd]
xor edx, edx
mov dl, byte [eax + 0xe]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax + 0xf]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dword [ebp], ecx
mov dl, byte [eax + 0x12]
xor ecx, ecx
mov ch, byte [eax + 0x10]
mov cl, byte [eax + 0x11]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax + 0x13]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dword [eax + 0x10], ecx
mov dl, byte [eax + 0x16]
xor ecx, ecx
mov ch, byte [eax + 0x14]
mov cl, byte [eax + 0x15]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax + 0x17]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dword [eax + 0x14], ecx
mov dl, byte [eax + 0x1a]
xor ecx, ecx
mov ch, byte [eax + 0x18]
mov cl, byte [eax + 0x19]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax + 0x1b]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax + 0x1e]
mov dword [eax + 0x18], ecx
xor ecx, ecx
mov ch, byte [eax + 0x1c]
mov cl, byte [eax + 0x1d]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax + 0x1f]
shl ecx, 8
or ecx, edx
mov dword [eax + 0x1c], ecx
xor ecx, ecx
mov ch, byte [eax + 0x20]
mov cl, byte [eax + 0x21]
shl ecx, 8
xor edx, edx
pop edi
mov dl, byte [eax + 0x22]
pop esi
or ecx, edx
xor edx, edx
mov dl, byte [eax + 0x23]
pop ebp
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax + 0x26]
mov dword [eax + 0x20], ecx
xor ecx, ecx
mov ch, byte [eax + 0x24]
mov cl, byte [eax + 0x25]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax + 0x27]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax + 0x2a]
mov dword [eax + 0x24], ecx
xor ecx, ecx
mov ch, byte [eax + 0x28]
mov cl, byte [eax + 0x29]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax + 0x2b]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax + 0x2e]
mov dword [eax + 0x28], ecx
xor ecx, ecx
mov ch, byte [eax + 0x2c]
mov cl, byte [eax + 0x2d]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax + 0x2f]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dh, byte [eax + 0x32]
mov dword [eax + 0x2c], ecx
xor ecx, ecx
mov dl, byte [eax + 0x33]
mov ch, byte [eax + 0x30]
mov word [eax + 0x32], dx
mov cl, byte [eax + 0x31]
xor edx, edx
mov dl, byte [eax + 2]
mov word [eax + 0x30], cx
xor ecx, ecx
mov ch, byte [eax]
mov cl, byte [eax + 1]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax + 3]
shl ecx, 8
or ecx, edx
mov dword [eax], ecx
ret