Function at 0x4423f0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x38
mov al, byte [esp + 0x40]
push edi
mov edi, ecx
cmp al, 1
mov dword [esp + 0x38], edi
jl 0x442414
mov eax, dword [esp + 0x40]
push eax
push 0x4bb110
call fcn.00443600
add esp, 8
push ebp
xor ebp, ebp
cmp word [edi], bp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], ebp
jle 0x442698
add edi, 0x40
push ebx
push esi
mov dword [esp + 0x20], edi
mov al, byte [esp + 0x50]
lea ebx, [edi - 4]
cmp al, 1
jl 0x44247f
mov edx, dword [edi + 0x10]
mov eax, dword [edi]
mov ecx, dword [ebx]
push edx
mov edx, dword [edi + 0x14]
push edx
mov edx, dword [edi + 8]
push edx
mov edx, eax
sub edx, ecx
sar edx, 3
shl edx, 3
push edx
push eax
mov eax, dword [esp + 0x38]
push ecx
push eax
push 0x4bb0dc
call fcn.00443600
add esp, 0x20
mov esi, dword [ebx]
mov eax, dword [edi]
cmp esi, eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x40], ebp
je 0x4425ab
mov eax, dword [esi]
mov edi, eax
test edi, edi
jge 0x4424ad
neg edi
cmp byte [esp + 0x50], 2
jl 0x442504
xor ecx, ecx
xor edx, edx
mov cx, word [esi + 6]
mov dx, word [esi + 4]
test eax, eax
setge al
dec eax
push ecx
and eax, 0xf
push edx
add eax, 0x46
lea edx, [edi*8]
movsx ecx, al
push ecx
push edx
push ebp
push 0x4bb0bc
call fcn.00443600
mov eax, ebp
mov ecx, 5
cdq
idiv ecx
add esp, 0x18
cmp edx, 4
jne 0x442504
push 0x4b18c8
call fcn.00443600
add esp, 4
test edi, edi
je 0x442570
mov ecx, dword [esi]
cmp ecx, 0xffffffff
je 0x442570
lea eax, [edi*8]
mov edx, eax
sub edx, dword [ebx]
add edx, esi
test edx, 0xfffffff8
jle 0x442570
mov edx, dword [esp + 0x20]
mov edx, dword [edx]
sub edx, eax
sub edx, esi
test edx, 0xfffffff8
jl 0x442570
test ecx, ecx
jge 0x44254f
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x10]
inc ecx
add eax, edi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x10], eax
jmp 0x442593
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
inc edx
add ecx, edi
cmp edi, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
jle 0x442593
mov dword [esp + 0x1c], edi
jmp 0x442593
mov eax, dword [esi]
mov ecx, dword [esp + 0x40]
push eax
push esi
push ecx
push ebx
push 0x4bb090
push 2
push 0x4bb084
push 0x4cd10c
call fcn.00441210
add esp, 0x20
mov edx, dword [esp + 0x20]
mov dword [esp + 0x40], esi
lea esi, [esi + edi*8]
inc ebp
cmp esi, dword [edx]
jne 0x4424a3
mov edi, edx
xor ebp, ebp
mov al, byte [esp + 0x50]
cmp al, 1
jl 0x442619
cmp al, 2
jl 0x4425c4
push 0x4b18c8
call fcn.00443600
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x4c]
lea ecx, [eax*8]
push ecx
push edx
push 0x4bb05c
call fcn.00443600
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
add esp, 0xc
lea ecx, [eax*8]
push ecx
push edx
push 0x4bb034
call fcn.00443600
mov eax, dword [esp + 0x28]
add esp, 0xc
lea ecx, [eax*8]
push ecx
push 0x4bb014
call fcn.00443600
add esp, 8
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x30]
add ecx, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x14]
add esi, edx
mov edx, dword [esp + 0x18]
add eax, ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x34]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x1c]
add esi, edx
cmp eax, ecx
mov dword [esp + 0x34], esi
jle 0x442661
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x44]
sub eax, edx
add edi, 0x1c
movsx edx, word [ecx]
sar eax, 3
add ebx, eax
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x28], ebx
cmp eax, edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edi
jl 0x442445
pop esi
mov edi, ecx
pop ebx
mov al, byte [esp + 0x48]
pop ebp
cmp al, 1
jl 0x44271a
mov eax, dword [esp + 0x1c]
movsx edx, word [edi]
lea ecx, [eax*8]
push ecx
push edx
push 0x4bafe4
call fcn.00443600
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
add esp, 0xc
lea ecx, [eax*8]
push ecx
push edx
push 0x4bafb4
call fcn.00443600
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
add esp, 0xc
lea ecx, [eax*8]
push ecx
push edx
push 0x4baf88
call fcn.00443600
mov eax, dword [esp + 0x3c]
add esp, 0xc
lea ecx, [eax*8]
push ecx
push 0x4bb014
call fcn.00443600
add esp, 8
mov ecx, edi
call fcn.00442020
pop edi
add esp, 0x38
ret 8