Function at 0x446410
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
push ebp
push esi
push edi
push 0x28
call fcn.0043ed10
mov esi, dword [esp + 0x34]
mov edi, eax
xor ebp, ebp
mov dword [edi], ebp
mov eax, dword [esi]
mov dword [edi + 4], eax
mov ecx, dword [esi + 4]
mov dword [edi + 8], ecx
mov edx, dword [esi + 8]
mov dword [edi + 0xc], edx
mov dword [edi + 0x10], ebp
mov dword [edi + 0x14], ebp
mov eax, dword [esi + 0xc]
mov dword [edi + 0x18], eax
mov ecx, dword [esi + 0x10]
shl ecx, 6
push ecx
call fcn.0043ed10
mov dword [edi + 0x1c], eax
mov edx, dword [esi + 0x10]
push 0x10
mov dword [edi + 0x20], edx
call fcn.00440a90
mov dword [edi + 0x24], eax
mov eax, dword [esp + 0x38]
add esp, 0xc
cmp eax, 0x14
jbe 0x4466d9
mov eax, dword [esp + 0x28]
push ebx
mov ebx, 0xfffffffa
lea esi, [eax + 0x1a]
sub ebx, eax
xor ecx, ecx
mov eax, dword [edi + 0x1c]
mov ch, byte [esi - 3]
xor edx, edx
mov cl, byte [esi - 4]
mov dl, byte [esi - 5]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [esi - 6]
add eax, ebp
shl ecx, 8
or ecx, edx
xor edx, edx
mov dword [eax], ecx
mov dl, byte [esi - 1]
xor ecx, ecx
add ebp, 0x40
mov ch, byte [esi + 1]
mov cl, byte [esi]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [esi - 2]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dword [eax + 4], ecx
mov dl, byte [esi + 3]
xor ecx, ecx
mov ch, byte [esi + 5]
mov cl, byte [esi + 4]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [esi + 2]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dword [eax + 8], ecx
mov dl, byte [esi + 7]
xor ecx, ecx
mov ch, byte [esi + 9]
mov cl, byte [esi + 8]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [esi + 6]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dword [eax + 0xc], ecx
mov dl, byte [esi + 0xb]
xor ecx, ecx
mov ch, byte [esi + 0xd]
mov cl, byte [esi + 0xc]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [esi + 0xa]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dword [eax + 0x10], ecx
mov dl, byte [esi + 0xf]
xor ecx, ecx
mov ch, byte [esi + 0x11]
mov cl, byte [esi + 0x10]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [esi + 0xe]
shl ecx, 8
or ecx, edx
mov dword [eax + 0x14], ecx
xor ecx, ecx
mov ch, byte [esi + 0x15]
mov cl, byte [esi + 0x14]
shl ecx, 8
xor edx, edx
mov dl, byte [esi + 0x13]
or ecx, edx
xor edx, edx
mov dl, byte [esi + 0x12]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dword [eax + 0x18], ecx
mov dl, byte [esi + 0x17]
xor ecx, ecx
mov ch, byte [esi + 0x19]
mov cl, byte [esi + 0x18]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [esi + 0x16]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dword [eax + 0x1c], ecx
mov dl, byte [esi + 0x1b]
xor ecx, ecx
mov ch, byte [esi + 0x1d]
mov cl, byte [esi + 0x1c]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [esi + 0x1a]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dword [eax + 0x20], ecx
mov dh, byte [esi + 0x21]
mov dl, byte [esi + 0x20]
mov dword [esp + 0x34], ecx
xor ecx, ecx
mov cl, byte [esi + 0x1f]
shl edx, 8
or edx, ecx
xor ecx, ecx
mov cl, byte [esi + 0x1e]
shl edx, 8
or edx, ecx
xor ecx, ecx
mov dword [eax + 0x24], edx
mov ch, byte [esi + 0x25]
mov cl, byte [esi + 0x24]
mov dword [esp + 0x2c], edx
xor edx, edx
mov dl, byte [esi + 0x23]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [esi + 0x22]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dword [eax + 0x28], ecx
mov dh, byte [esi + 0x29]
mov dl, byte [esi + 0x28]
mov dword [esp + 0x10], ecx
xor ecx, ecx
mov cl, byte [esi + 0x27]
shl edx, 8
or edx, ecx
xor ecx, ecx
mov cl, byte [esi + 0x26]
shl edx, 8
or edx, ecx
xor ecx, ecx
mov dword [eax + 0x2c], edx
mov ch, byte [esi + 0x2d]
mov cl, byte [esi + 0x2c]
mov dword [esp + 0x14], edx
xor edx, edx
mov dl, byte [esi + 0x2b]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [esi + 0x2a]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dword [eax + 0x30], ecx
mov dh, byte [esi + 0x31]
mov dword [esp + 0x18], ecx
mov dl, byte [esi + 0x30]
xor ecx, ecx
mov cl, byte [esi + 0x2f]
shl edx, 8
or edx, ecx
xor ecx, ecx
mov cl, byte [esi + 0x2e]
shl edx, 8
or edx, ecx
xor ecx, ecx
mov dword [eax + 0x34], edx
mov ch, byte [esi + 0x35]
mov cl, byte [esi + 0x34]
mov dword [esp + 0x1c], edx
xor edx, edx
mov dl, byte [esi + 0x33]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [esi + 0x32]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dword [eax + 0x38], ecx
mov dh, byte [esi + 0x39]
mov dl, byte [esi + 0x38]
mov dword [esp + 0x20], ecx
xor ecx, ecx
mov cl, byte [esi + 0x37]
shl edx, 8
or edx, ecx
xor ecx, ecx
mov cl, byte [esi + 0x36]
shl edx, 8
or edx, ecx
mov dword [esp + 0x24], edx
mov dword [eax + 0x3c], edx
mov ecx, dword [edi + 0x10]
mov edx, dword [eax + 0x18]
cmp ecx, edx
jg 0x4466a4
mov ecx, edx
mov dword [edi + 0x10], ecx
mov ecx, dword [edi + 0x14]
mov edx, dword [eax + 0x18]
cmp ecx, edx
jl 0x4466b3
mov ecx, edx
mov dword [edi + 0x14], ecx
mov ecx, dword [edi + 0x24]
push eax
mov eax, dword [eax]
push eax
push ecx
call fcn.00440bb0
mov eax, dword [esp + 0x3c]
add esi, 0x40
add esp, 0xc
lea edx, [esi + ebx]
cmp edx, eax
jb 0x446482
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x18
ret