Function at 0x4373a0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x10
mov ecx, dword [esp + 0x20]
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
movzx eax, word [ecx + 2]
movzx ebx, ax
mov dword [esp + 8], eax
mov dl, byte [ebp + 5]
mov byte [esp + 0x2c], dl
push esi
push edi
cmp ebx, 0x8000
jae 0x43771e
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 0x10]
mov ebx, dword [eax + ebx*8]
movzx eax, word [ecx]
and ebx, 0x3f
movzx ecx, word [ebp]
mov esi, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], esi
movzx eax, word [eax + ecx*2]
mov ecx, eax
cmp dl, 0x27
je 0x437564
cmp dl, 0x28
je 0x43755f
test ebx, ebx
je 0x437589
cmp ebx, 0x20
jae 0x4374d2
mov ecx, dword [esp + 0x10]
neg ebx
and ebx, 0x1f
movzx esi, cx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], esi
cmp dl, 0x24
jne 0x437474
push ecx
push eax
push 0x2413
push edi
call fcn.00437ad0
add esp, 0x10
mov edx, ebx
mov ecx, edi
mov esi, eax
call fcn.00451e80
push eax
push dword [esp + 0x18]
push 0x2513
push edi
call fcn.00437ad0
push eax
push esi
push 0x2213
push edi
call fcn.00437ad0
add esp, 0x20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov ecx, dword [esp + 0x30]
mov edx, ebx
movzx esi, word [ebp + 6]
mov byte [ecx + 5], 0x25
mov ecx, edi
call fcn.00451e80
mov ebx, dword [esp + 0x18]
push eax
push ebx
push 0x2413
push edi
call fcn.00437ad0
push eax
push esi
push 0x2213
push edi
call fcn.00437ad0
push dword [esp + 0x30]
mov word [ebp + 6], ax
movzx eax, byte [esp + 0x58]
shl ax, 8
or ax, 0x13
push ebx
movzx eax, ax
push eax
push edi
call fcn.00437ad0
add esp, 0x30
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
cmp dl, 0x24
jne 0x437511
cmp ebx, 0x20
jne 0x4374f6
dec dword [edi + 8]
xor edx, edx
mov ecx, edi
call fcn.00451e80
pop edi
mov word [ebp + 6], ax
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
movzx esi, word [ebp + 6]
xor edx, edx
mov ecx, edi
call fcn.00451e80
pop edi
mov word [ebp + 6], ax
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov esi, eax
cmp ebx, 0x20
jne 0x437521
dec dword [edi + 8]
mov word [ebp + 6], si
jmp 0x437528
mov ecx, dword [esp + 0x30]
mov word [ecx], ax
mov ecx, edi
cmp dl, 0x25
jne 0x43753d
pop edi
pop esi
pop ebp
xor edx, edx
pop ebx
add esp, 0x10
jmp fcn.00451e80
mov edx, 0x1f
call fcn.00451e80
push eax
push esi
push 0x2613
push edi
call fcn.00437ad0
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
neg ebx
and ebx, 0x3f
cmp ebx, 0x20
lea eax, [ebx - 0x20]
cmovb eax, ebx
cmovae esi, ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x30]
cmovb eax, ecx
mov ecx, eax
mov dword [esp + 0x34], ecx
test ebx, ebx
jne 0x43759a
dec dword [edi + 8]
mov eax, ecx
pop edi
mov word [ebp + 6], si
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
dec dword [edi + 8]
mov edx, ebx
mov ecx, edi
call fcn.00451e80
neg ebx
mov dword [esp + 0x30], eax
and ebx, 0x1f
mov ecx, edi
mov edx, ebx
call fcn.00451e80
mov ebx, dword [edi + 8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
cmp ebx, dword [edi + 0x114]
jb 0x4375d2
mov ecx, edi
call fcn.00451df0
lea eax, [ebx + 1]
mov ecx, 0x2413
mov dword [edi + 8], eax
mov eax, dword [edi + 0x10]
mov word [eax + ebx*8 + 4], cx
movzx ecx, si
mov word [eax + ebx*8], cx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x30]
movzx esi, cx
mov word [eax + ebx*8 + 2], si
mov ebx, dword [edi + 8]
mov dword [esp + 0x1c], ebx
cmp ebx, dword [edi + 0x114]
jb 0x437612
mov ecx, edi
call fcn.00451df0
lea eax, [ebx + 1]
mov ecx, 0x2413
mov dword [edi + 8], eax
mov eax, dword [edi + 0x10]
mov word [eax + ebx*8 + 4], cx
mov ecx, dword [esp + 0x34]
movzx ecx, cx
mov word [eax + ebx*8], cx
mov word [eax + ebx*8 + 2], si
mov ebx, dword [edi + 8]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ebx
cmp ebx, dword [edi + 0x114]
jb 0x43764f
mov ecx, edi
call fcn.00451df0
lea eax, [ebx + 1]
mov ecx, 0x2513
mov dword [edi + 8], eax
mov eax, dword [edi + 0x10]
mov word [eax + ebx*8 + 4], cx
mov ecx, dword [esp + 0x18]
mov word [eax + ebx*8], cx
mov ecx, dword [esp + 0x14]
movzx esi, cx
mov word [eax + ebx*8 + 2], si
mov ebx, dword [edi + 8]
cmp ebx, dword [edi + 0x114]
jb 0x437688
mov ecx, edi
call fcn.00451df0
lea eax, [ebx + 1]
mov ecx, 0x2513
mov dword [edi + 8], eax
mov eax, dword [edi + 0x10]
mov word [eax + ebx*8 + 4], cx
mov ecx, dword [esp + 0x30]
mov word [eax + ebx*8], cx
mov word [eax + ebx*8 + 2], si
mov esi, dword [edi + 8]
cmp esi, dword [edi + 0x114]
jb 0x4376ba
mov ecx, edi
call fcn.00451df0
lea eax, [esi + 1]
mov ecx, 0x2213
mov dword [edi + 8], eax
mov eax, dword [edi + 0x10]
mov word [eax + esi*8 + 4], cx
mov ecx, dword [esp + 0x10]
mov word [eax + esi*8], cx
mov word [eax + esi*8 + 2], bx
mov word [ebp + 6], si
mov esi, dword [edi + 8]
cmp esi, dword [edi + 0x114]
jb 0x4376f0
mov ecx, edi
call fcn.00451df0
lea ecx, [esi + 1]
mov eax, 0x2213
mov dword [edi + 8], ecx
mov ecx, dword [edi + 0x10]
pop edi
mov word [ecx + esi*8 + 4], ax
mov eax, dword [esp + 0x18]
mov word [ecx + esi*8], ax
mov eax, dword [esp + 0x30]
mov word [ecx + esi*8 + 2], ax
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov esi, dword [esp + 0x24]
movzx eax, word [ebp + 2]
movzx ecx, word [ebp]
mov dword [esp + 0x18], eax
mov ebx, dword [esi + 8]
mov eax, dword [esp + 0x28]
lea edi, [ebx - 1]
mov dword [esi + 8], edi
movzx eax, word [eax + ecx*2]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
movzx eax, word [eax + ecx*8 + 6]
mov dword [esp + 0x30], eax
cmp edi, dword [esi + 0x114]
jb 0x43775f
mov ecx, esi
call fcn.00451df0
mov eax, dword [esi + 0x10]
mov ecx, 0x6400
mov dword [esi + 8], ebx
mov word [eax + edi*8 + 4], cx
mov ecx, dword [esp + 0x30]
mov word [eax + edi*8], cx
mov ecx, dword [esp + 0x1c]
mov word [eax + edi*8 + 2], cx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esi + 8]
movzx eax, word [eax + ecx*8 + 6]
mov dword [esp + 0x30], eax
cmp ebx, dword [esi + 0x114]
jb 0x4377a3
mov ecx, esi
call fcn.00451df0
lea eax, [ebx + 1]
mov ecx, 0x6400
mov dword [esi + 8], eax
mov eax, dword [esi + 0x10]
mov word [eax + ebx*8 + 4], cx
mov ecx, dword [esp + 0x30]
mov word [eax + ebx*8], di
mov word [eax + ebx*8 + 2], cx
mov edi, dword [esi + 8]
cmp edi, dword [esi + 0x114]
jb 0x4377d5
mov ecx, esi
call fcn.00451df0
lea eax, [edi + 1]
mov dword [esi + 8], eax
mov eax, dword [esi + 0x10]
mov word [eax + edi*8], bx
movzx ebx, di
lea ecx, [eax + edi*8]
mov eax, 0x5f13
mov word [ecx + 4], ax
movzx eax, byte [esp + 0x34]
add ax, 0x48
mov word [ecx + 2], ax
mov eax, ebx
mov word [ebp + 6], bx
mov edi, dword [esi + 8]
mov dword [esp + 0x30], eax
cmp edi, dword [esi + 0x114]
jb 0x43781c
mov ecx, esi
call fcn.00451df0
mov eax, ebx
lea ecx, [edi + 1]
mov edx, 0x1017
mov dword [esi + 8], ecx
mov ecx, dword [esi + 0x10]
mov word [ecx + edi*8 + 2], ax
mov eax, edi
mov word [ecx + edi*8], bx
mov word [ecx + edi*8 + 4], dx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret