Function at 0x443698
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa8
mov edi, edx
mov dword [esp], eax
mov eax, dword [esp]
add eax, 8
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0x18
mov eax, dword [eax]
test eax, eax
je 0x4436c0
sub eax, 4
mov eax, dword [eax]
mov ebx, edi
sub ebx, eax
test ebx, ebx
je 0x443a0a
mov eax, dword [esp]
mov eax, dword [eax]
mov edx, dword [esp]
cmp eax, dword [edx + 4]
jl 0x4436ef
mov eax, dword [esp]
mov eax, dword [eax]
mov edx, dword [esp]
cmp eax, dword [edx + 4]
jne 0x443715
mov eax, dword [esp]
cmp dword [eax + 8], 0
jle 0x443715
mov eax, dword [esp]
add eax, 8
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add eax, 0x18
mov eax, dword [eax]
test eax, eax
je 0x44370b
sub eax, 4
mov eax, dword [eax]
mov edx, dword [esp]
mov ebp, eax
sub ebp, dword [edx + 4]
jmp 0x443717
xor ebp, ebp
test ebx, ebx
jle 0x443746
mov dword [esp + 0xc], edi
mov eax, dword [esp]
add eax, 8
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
mov edx, dword [esp + 4]
mov edx, dword [edx + 0xc]
mov eax, dword [esp + 0x14]
add eax, 0x18
mov ecx, 1
call fcn.0040ca10
mov eax, dword [esp]
add eax, 8
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
add eax, 0x18
mov esi, dword [eax]
test ebp, ebp
jle 0x4438b1
mov eax, dword [esp]
add eax, 8
mov dword [esp + 0x18], eax
mov eax, dword [esp]
add eax, 8
mov dword [esp + 0x1c], eax
mov eax, dword [esp]
add eax, 8
mov dword [esp + 0x20], eax
mov eax, dword [esp]
add eax, 8
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x24]
mov edx, dword [edx + 4]
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + 4]
movzx ecx, byte [ecx + 1]
add edx, ecx
mov edx, dword [edx + 2]
push edx
push ebp
mov edx, dword [esp + 0x28]
mov edx, dword [edx + 4]
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx + 4]
movzx ecx, byte [ecx + 1]
add edx, ecx
mov edx, dword [edx + 6]
mov ecx, dword [edx]
mov edx, dword [esp + 0x24]
mov edx, dword [edx + 4]
mov ebp, dword [esp + 0x24]
mov ebp, dword [ebp + 4]
movzx ebp, byte [ebp + 1]
add edx, ebp
mov edx, dword [edx + 2]
mov ebp, dword [esp + 8]
imul edx, dword [ebp + 4]
lea edx, [esi + edx]
push edx
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 4]
mov edx, eax
movzx eax, byte [eax + 1]
add edx, eax
mov eax, dword [edx + 2]
mov edx, dword [esp + 0xc]
mov edx, dword [edx + 4]
add edx, ebx
imul edx
lea eax, [esi + eax]
pop edx
call fcn.0043fabc
test ebx, ebx
jle 0x443855
mov eax, dword [esp]
add eax, 8
mov dword [esp + 0x28], eax
mov eax, dword [esp]
add eax, 8
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 4]
mov ecx, eax
movzx eax, byte [eax + 1]
add ecx, eax
mov eax, dword [ecx + 2]
mov ecx, dword [esp]
imul eax, dword [ecx + 4]
lea eax, [esi + eax]
mov edx, dword [esp + 0x2c]
mov edx, dword [edx + 4]
mov ecx, edx
movzx edx, byte [edx + 1]
add ecx, edx
mov edx, dword [ecx + 6]
mov edx, dword [edx]
mov ecx, ebx
call fcn.0040c534
jmp 0x4438a6
test ebx, ebx
jge 0x4438a6
mov eax, dword [esp]
add eax, 8
mov dword [esp + 0x30], eax
mov eax, dword [esp]
add eax, 8
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 4]
mov ecx, eax
movzx eax, byte [eax + 1]
add ecx, eax
mov eax, dword [ecx + 2]
mov ecx, dword [esp]
imul eax, dword [ecx + 8]
lea eax, [esi + eax]
mov edx, dword [esp + 0x34]
mov edx, dword [edx + 4]
mov ecx, edx
movzx edx, byte [edx + 1]
add ecx, edx
mov edx, dword [ecx + 6]
mov edx, dword [edx]
mov ecx, ebx
neg ecx
call fcn.0040c534
mov eax, dword [esp]
add dword [eax + 4], ebx
jmp 0x4439a4
mov eax, dword [esp]
cmp dword [eax + 4], 0
jle 0x4439a4
mov eax, dword [esp]
cmp dword [eax + 8], 0
jle 0x443991
mov eax, dword [esp]
add eax, 8
mov dword [esp + 0x38], eax
mov eax, dword [esp]
add eax, 8
mov dword [esp + 0x3c], eax
mov eax, dword [esp]
add eax, 8
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x40]
mov ecx, dword [ecx + 4]
mov ebp, dword [esp + 0x40]
mov ebp, dword [ebp + 4]
movzx ebp, byte [ebp + 1]
add ecx, ebp
mov ecx, dword [ecx + 2]
push ecx
mov ecx, dword [esp + 4]
mov ecx, dword [ecx + 8]
push ecx
mov edx, dword [esp + 0x44]
mov edx, dword [edx + 4]
mov ecx, edx
movzx edx, byte [edx + 1]
add ecx, edx
mov edx, dword [ecx + 6]
mov edx, dword [edx]
push edx
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 4]
mov edx, eax
movzx eax, byte [eax + 1]
add edx, eax
mov eax, dword [edx + 2]
mov edx, dword [esp + 0xc]
imul dword [edx + 4]
lea edx, [esi + eax]
mov eax, esi
pop ecx
call fcn.0043fabc
mov eax, dword [esp]
add eax, 8
mov dword [esp + 0x44], eax
mov eax, dword [esp]
add eax, 8
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 4]
mov ecx, eax
movzx eax, byte [eax + 1]
add ecx, eax
mov eax, dword [ecx + 2]
mov ecx, dword [esp]
imul eax, dword [ecx + 8]
lea eax, [esi + eax]
mov edx, dword [esp + 0x48]
mov edx, dword [edx + 4]
mov ecx, edx
movzx edx, byte [edx + 1]
add ecx, edx
mov edx, dword [ecx + 6]
mov edx, dword [edx]
mov ecx, dword [esp]
mov ecx, dword [ecx + 4]
call fcn.0040c534
mov eax, dword [esp]
mov eax, dword [eax + 4]
mov edx, dword [esp]
sub dword [edx], eax
mov eax, dword [esp]
xor edx, edx
mov dword [eax + 4], edx
test ebx, ebx
jge 0x443a0a
mov dword [esp + 0x4c], edi
mov eax, dword [esp]
add eax, 8
mov dword [esp + 0x50], eax
lea eax, [esp + 0x4c]
push eax
mov edx, dword [esp + 4]
mov edx, dword [edx + 0xc]
mov eax, dword [esp + 0x54]
add eax, 0x18
mov ecx, 1
call fcn.0040ca10
test edi, edi
jne 0x4439e0
mov eax, dword [esp]
xor edx, edx
mov dword [eax], edx
jmp 0x443a0a
mov eax, dword [esp]
add eax, 8
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x54]
add eax, 0x18
mov eax, dword [eax]
mov ebx, eax
test ebx, ebx
je 0x4439fe
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [esp]
push eax
mov eax, dword [eax]
cdq
idiv ebx
pop eax
mov dword [eax], edx
add esp, 0x58
pop ebp
pop edi
pop esi
pop ebx
ret