Function at 0x100045e0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
add eax, dword [esi + 8]
push edi
mov edi, dword [ebp + 0x24]
mov dword [edi], eax
mov ecx, dword [esi + 0x14]
add ecx, dword [esi + 0x10]
mov al, byte [ebp + 0xc]
mov dword [edi + 0xf], ecx
mov dx, word [esi + 0x1a]
add dx, word [esi + 0x18]
mov byte [edi + 0xa], al
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov word [edi + 0x1d], dx
mov word [edi + 0x15], cx
test eax, eax
je 0x10004628
mov edx, 1
mov word [edi + 0x15], dx
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x10004634
or word [edi + 0x15], 2
mov ebx, dword [ebp + 0x18]
test ebx, ebx
je 0x10004640
or word [edi + 0x15], 4
cmp dword [ebp + 0x1c], 0
je 0x1000464b
or word [edi + 0x15], 0x10
cmp dword [ebp + 0x20], 0
je 0x10004656
or word [edi + 0x15], 0x20
test eax, eax
jne 0x10004662
call fcn.10007e00
mov ecx, dword [ebp + 0x14]
mov byte [edi + 4], al
test ecx, ecx
je 0x1000466d
mov eax, ecx
jmp 0x10004672
call fcn.10007e00
mov byte [edi + 5], al
test ebx, ebx
je 0x10004694
movzx eax, byte [ebx + 2]
movzx ecx, word [ebx]
movzx edx, byte [ebx + 6]
shl ax, 8
movzx eax, ax
shl ecx, 0x10
or eax, ecx
or eax, edx
jmp 0x10004699
call fcn.10007e00
mov dword [edi + 6], eax
mov eax, dword [ebp + 0x1c]
test eax, eax
jne 0x100046a8
call fcn.10007e00
mov word [edi + 0xb], ax
mov eax, dword [ebp + 0x20]
test eax, eax
jne 0x100046b8
call fcn.10007e00
mov word [edi + 0xd], ax
call fcn.10007e00
mov dword [edi + 0x19], eax
mov ebx, edi
call fcn.10007e00
lea ecx, [edi + 0x13]
mov dl, al
mov word [ecx], ax
shr eax, 8
mov byte [ebp + 0x17], dl
mov byte [ebp + 0x1f], al
cmp edi, ecx
jae 0x100046f0
mov al, byte [ebx]
xor al, byte [ebp + 0x17]
inc ebx
add al, byte [ebp + 0x1f]
mov byte [ebx - 1], al
cmp ebx, ecx
jb 0x100046e0
xor eax, eax
xor dl, dl
mov ecx, edi
xor bl, bl
test al, 1
je 0x10004700
add bl, byte [ecx]
jmp 0x10004702
xor dl, byte [ecx]
inc eax
inc ecx
cmp eax, 0x17
jb 0x100046f8
movzx ecx, dl
movzx edx, bl
shl cx, 8
or cx, dx
mov word [edi + 0x17], cx
mov ebx, dword [esi + 0x38]
mov edx, dword [esi + 0x34]
add ebx, dword [esi + 0x28]
mov ecx, dword [esi + 0x30]
add edx, dword [esi + 0x24]
add ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x2c]
add eax, dword [esi + 0x1c]
push ebx
push edx
push ecx
push eax
mov eax, 0x1d
mov ecx, edi
call fcn.10007f90
mov edx, dword [esi + 0x40]
add edx, dword [esi + 0x3c]
push 7
mov eax, edi
mov ecx, edi
call fcn.10007ee0
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x48]
mov edx, dword [esi + 0x4c]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x50]
mov dword [ebp - 0x20], ecx
mov ecx, dword [esi + 0x54]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x1c], edx
mov edx, dword [esi + 0x58]
mov dword [ebp - 0x14], ecx
mov ecx, dword [esi + 0x60]
mov dword [ebp - 0xc], eax
push 7
push edi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
call fcn.10008100
add esp, 0xc
xor eax, eax
xor dl, dl
mov ecx, edi
xor bl, bl
test al, 1
je 0x100047a8
add bl, byte [ecx]
jmp 0x100047aa
xor dl, byte [ecx]
inc eax
inc ecx
cmp eax, 0x1f
jb 0x100047a0
movzx edx, dl
movzx eax, bl
shl dx, 8
or dx, ax
mov word [edi + 0x1f], dx
pop edi
pop esi
mov eax, 0x21
pop ebx
mov esp, ebp
pop ebp
ret 0x20