Function at 0x442340
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0x14]
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test eax, eax
je 0x44235c
mov dword [eax], 0
mov ebx, dword [esi + 0x14]
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x40]
cmp ebx, ecx
ja 0x442511
jb 0x44237a
cmp edx, eax
jae 0x442511
sub eax, edx
sbb ecx, ebx
mov ebx, dword [ebp + 0x10]
xor edi, edi
cmp edi, ecx
jb 0x442392
ja 0x44238d
cmp ebx, eax
jbe 0x442392
mov ebx, eax
mov dword [ebp + 0x10], ebx
test ebx, ebx
je 0x442511
mov edi, dword [esi + 0x4c]
lea eax, [edi + 1]
cmp eax, dword [esi + 0x34]
jae 0x442641
mov ecx, dword [esi + 0x48]
mov eax, edx
mov edx, dword [esi + 0x14]
call fcn.005a80a0
mov edx, dword [esi + 0x30]
mov ecx, edi
add ecx, ecx
mov dword [esp + 0x14], edx
cmp eax, dword [edx + ecx*8]
jb 0x4423cc
cmp eax, dword [edx + ecx*8 + 0x10]
jb 0x44240d
mov edx, dword [esi + 0x34]
xor edi, edi
dec edx
mov dword [esp + 0x1c], edx
shr edx, 1
je 0x442406
mov esi, dword [esp + 0x1c]
mov ebx, eax
mov ecx, dword [esp + 0x14]
mov eax, edx
add eax, eax
mov ecx, dword [ecx + eax*8]
cmp ebx, ecx
mov eax, edx
cmovae eax, esi
cmovae edi, edx
mov esi, eax
lea edx, [edi + esi]
shr edx, 1
cmp edx, edi
jne 0x4423e0
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esi + 0x4c], edi
mov ecx, dword [esi + 0x48]
add edi, edi
lea eax, [edx + edi*8]
xor edx, edx
mov edi, dword [eax]
mov dword [esp + 0x14], eax
mov eax, edi
call fcn.005a8080
mov ecx, dword [esi + 0x10]
sub ecx, eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0x48]
sbb eax, edx
mov dword [esp + 0x1c], eax
xor edx, edx
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x10]
sub eax, edi
call fcn.005a8080
sub eax, dword [esp + 0x18]
sbb edx, dword [esp + 0x1c]
xor ecx, ecx
cmp ecx, edx
jb 0x44245f
ja 0x44245d
cmp ebx, eax
jbe 0x44245f
mov ebx, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
mov edi, dword [eax + 8]
test ecx, ecx
jne 0x44255e
cmp edi, 2
jae 0x44255e
mov eax, edi
xor dl, dl
or eax, ecx
jne 0x44251c
mov ecx, dword [esp + 0x14]
mov al, byte [ecx + 5]
mov dl, byte [ecx + 4]
mov dh, byte [ecx + 6]
mov cl, byte [ecx + 7]
mov byte [esp + 0x12], al
mov byte [esp + 0x11], dh
mov byte [esp + 0x13], cl
cmp dl, al
jne 0x4424ae
cmp dl, dh
jne 0x4424ae
cmp dl, cl
je 0x44252d
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4424b7
mov dword [eax], ebx
mov eax, ebx
xor ecx, ecx
add dword [esi + 0x10], eax
mov eax, dword [ebp + 0xc]
adc ecx, dword [esi + 0x14]
mov dword [esi + 0x14], ecx
cmp ebx, 4
jb 0x4424f7
mov ecx, ebx
shr ecx, 2
mov dh, byte [esp + 0x12]
sub ebx, 4
mov byte [eax + 1], dh
mov dh, byte [esp + 0x11]
mov byte [eax + 2], dh
mov dh, byte [esp + 0x13]
mov byte [eax + 3], dh
mov dh, byte [esp + 0x11]
mov byte [eax], dl
add eax, 4
sub ecx, 1
jne 0x4424d1
test ebx, ebx
je 0x4424fd
mov byte [eax], dl
cmp ebx, 1
jbe 0x442509
mov cl, byte [esp + 0x12]
mov byte [eax + 1], cl
cmp ebx, 2
jbe 0x442511
mov byte [eax + 2], dh
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp edi, 1
jne 0x442641
test ecx, ecx
jne 0x442641
push ebx
movzx eax, dl
push eax
push dword [ebp + 0xc]
call fcn.0058ad30
mov eax, ebx
xor ecx, ecx
add esp, 0xc
add dword [esi + 0x10], eax
mov eax, dword [ebp + 0x14]
adc ecx, dword [esi + 0x14]
mov dword [esi + 0x14], ecx
test eax, eax
je 0x442511
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
add edi, dword [esp + 0x18]
mov eax, dword [esi + 0x58]
adc ecx, dword [esp + 0x1c]
xor edx, edx
mov dword [esp + 0x1c], ecx
cmp ecx, dword [esi + 0x5c]
ja 0x44261d
jb 0x442582
cmp edi, eax
ja 0x44261d
xor eax, eax
mov dword [esp + 0x14], ebx
add dword [esp + 0x14], edi
adc eax, ecx
cmp eax, dword [esi + 0x5c]
ja 0x44261d
jb 0x4425a2
mov eax, dword [esi + 0x58]
cmp dword [esp + 0x14], eax
ja 0x44261d
cmp edi, dword [esi + 0x18]
jne 0x4425ac
cmp ecx, dword [esi + 0x1c]
je 0x4425dc
push 0
mov dword [esi + 0x1c], ecx
mov ecx, dword [esi + 0x28]
push 0
push dword [esp + 0x24]
mov dword [esi + 0x18], edi
mov eax, dword [ecx]
push edi
push ecx
call dword [eax + 0x10]
mov edi, eax
test edi, edi
je 0x4425dc
mov dword [esi + 0x18], 0xffffffff
xor edx, edx
mov dword [esi + 0x1c], 0xffffffff
jmp 0x442622
mov edx, dword [ebp + 0xc]
lea ecx, [esi + 0x28]
mov ecx, dword [ecx]
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], ebx
call fcn.00558f10
mov edx, dword [esp + 0x20]
add esp, 4
add dword [esi + 0x50], edx
mov edi, eax
adc dword [esi + 0x54], 0
add dword [esi + 0x18], edx
adc dword [esi + 0x1c], 0
test edi, edi
je 0x442622
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 0x1c], 0xffffffff
jmp 0x442622
mov edi, 1
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x44262b
mov dword [eax], edx
xor ecx, ecx
mov eax, edi
add dword [esi + 0x10], edx
adc ecx, dword [esi + 0x14]
mov dword [esi + 0x14], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10