Function at 0x4043cc
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov ebx, eax
movzx eax, word [ebx + 6]
mov edx, dword [ebx]
lea esi, [edx + eax]
movzx eax, word [ebx + 4]
cmp eax, 0xfa00
jne 0x404494
mov di, 4
movzx eax, word [ebx + 4]
movzx edx, word [ebx + 6]
mov ecx, edx
add ecx, 0x2e
cmp eax, ecx
jl 0x404415
movzx ecx, word [esi + 0x1c]
add edx, ecx
movzx ecx, word [esi + 0x1e]
add edx, ecx
add edx, 0x2e
cmp eax, edx
jge 0x404494
mov edx, dword [ebx]
lea eax, [edx + eax + 1]
movzx ecx, di
lea edx, [esp + 4]
call fcn.004024ac
movzx ecx, word [ebx + 4]
movzx edx, word [ebx + 6]
sub ecx, edx
mov eax, dword [ebx]
lea edx, [eax + edx]
xchg edx, eax
call fcn.004024ac
lea edx, [esp + 8]
push edx
movzx edx, word [ebx + 4]
mov ax, word [ebx + 6]
movzx ecx, ax
sub edx, ecx
mov ecx, dword [ebx]
lea edx, [ecx + edx]
mov ecx, eax
mov eax, dword [esp + 8]
call fcn.00404224
call fcn.00402b78
cmp dword [eax + 8], 0
jne 0x40447c
movzx eax, word [esp + 8]
movzx edx, word [ebx + 6]
add eax, edx
cmp eax, 0x2e
jge 0x404486
mov eax, 1
jmp 0x4045f9
xor eax, eax
mov word [ebx + 6], ax
movzx eax, ax
mov edx, dword [ebx]
lea esi, [edx + eax]
movzx eax, word [ebx + 6]
add eax, 4
movzx edx, word [ebx + 4]
cmp eax, edx
jg 0x4044c3
mov eax, esi
mov ecx, 4
mov edx, dword [0x408090]
call fcn.004035a4
test eax, eax
jne 0x4044c3
mov eax, 1
jmp 0x4045f9
movzx ebp, word [ebx + 4]
movzx edi, word [ebx + 6]
mov eax, edi
add eax, 0x2e
cmp ebp, eax
jl 0x4044fc
movzx eax, word [esi + 0x1c]
add edi, eax
movzx eax, word [esi + 0x1e]
add edi, eax
add edi, 0x2e
cmp ebp, edi
jl 0x4044fc
mov edx, 0x404604
mov eax, esi
mov ecx, 4
call fcn.004035a4
test eax, eax
je 0x404506
mov eax, 1
jmp 0x4045f9
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x10], eax
xor eax, eax
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
xor eax, eax
mov dword [ebx + 0x1c], eax
cmp byte [esi + 5], 0
jne 0x404530
xor eax, eax
mov al, byte [esi + 0x26]
mov word [ebx + 0x132], ax
jmp 0x404539
mov word [ebx + 0x132], 0
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x20], eax
mov ax, word [esi + 8]
mov word [ebx + 0x134], ax
xor edx, edx
mov eax, dword [esi + 0x2a]
call fcn.0040392c
fistp qword [ebx + 0x24]
wait
mov edx, esi
add edx, 0x2e
movzx eax, word [esi + 0x1c]
add edx, eax
movzx ecx, word [esi + 0x1e]
mov eax, ebx
call fcn.0040433c
mov ax, word [esi + 0xa]
mov word [ebx + 0x130], ax
mov di, word [ebx + 6]
add di, word [esi + 0x1c]
add di, 0x2e
movzx ebp, di
mov eax, dword [ebx]
mov dl, byte [eax + ebp]
mov byte [esp], dl
mov byte [eax + ebp], 0
movzx eax, word [ebx + 6]
mov edx, dword [ebx]
lea edx, [edx + eax + 0x2e]
lea eax, [ebx + 0x2c]
mov ecx, 0x103
call fcn.00403634
mov eax, dword [ebx]
mov dl, byte [esp]
mov byte [eax + ebp], dl
lea eax, [ebx + 0x2c]
mov dl, 0x2f
call fcn.0040355c
test eax, eax
je 0x4045ca
mov byte [eax], 0x5c
test eax, eax
jne 0x4045b9
lea eax, [ebx + 0x2c]
push eax
lea eax, [ebx + 0x2c]
push eax
call sub.user32.dll_OemToCharA
movzx eax, word [esi + 0x1c]
movzx edx, word [esi + 0x1e]
add eax, edx
add eax, 0x2e
test eax, eax
jg 0x4045f3
mov eax, 0xfffffffe
jmp 0x4045f9
add word [ebx + 6], ax
xor eax, eax
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret