Function at 0x4373b0
Capabilities:
Enumerate pe sections
Write file on windows

Disassembly:
sub esp, 0x110
push ebx
mov ebx, dword [esp + 0x118]
push ebp
push esi
mov al, byte [ebx + 4]
push edi
xor edi, edi
test al, 1
mov dword [esp + 0x10], edi
je 0x437402
cmp dword [ebx + 0x20], edi
jne 0x437402
mov esi, dword [esp + 0x12c]
push esi
push ebx
call fcn.004355a0
add esp, 8
test eax, eax
jne 0x437409
lea eax, [esi + 0x3f3e]
mov dword [ebx + 0x20], 0x45
mov dword [ebx + 0x3e], eax
mov dword [esp + 0x10], 1
jmp 0x437409
mov esi, dword [esp + 0x12c]
mov edx, dword [ebx + 0x46]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.USER32.dll_CharToOemA]
test byte [esi + 0xdf1], 0x80
je 0x43745a
cmp word [esi + 0xdf4], 0xffff
mov ax, word [esi + 0xdf2]
jne 0x43743c
mov word [esi + 0xdf4], ax
jmp 0x437445
cmp ax, word [esi + 0xdf6]
je 0x437453
mov word [esi + 0xdf6], ax
mov word [esi + 0xdfa], di
inc word [esi + 0xdfa]
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x24]
add eax, ecx
mov ecx, dword [ebx + 0x18]
lea ebp, [eax + ecx + 0x2e]
mov eax, dword [esi + 0x96]
cmp eax, 0xffffffff
mov dword [esp + 0x18], ebp
je 0x437628
cmp dword [esi + 0xe0c], edi
jne 0x437628
push esi
call fcn.00433d80
add esp, 4
cmp eax, ebp
jge 0x4374ae
mov edx, dword [esp + 0x128]
push esi
push edx
call fcn.00433dc0
add esp, 8
cmp eax, edi
jne 0x4377a5
inc ebp
push ebp
call fcn.00448866
mov ebp, eax
add esp, 4
cmp ebp, edi
je 0x43760b
mov dword [ebp], 0x2014b50
mov ax, word [ebx]
mov word [ebp + 4], ax
mov cx, word [ebx + 2]
mov word [ebp + 6], cx
mov dx, word [ebx + 4]
mov word [ebp + 8], dx
mov ax, word [ebx + 6]
mov word [ebp + 0xa], ax
mov ecx, dword [ebx + 8]
mov dword [ebp + 0xc], ecx
mov edx, dword [ebx + 0xc]
mov dword [ebp + 0x10], edx
mov eax, dword [ebx + 0x10]
mov dword [ebp + 0x14], eax
mov ecx, dword [ebx + 0x14]
mov dword [ebp + 0x18], ecx
mov dx, word [ebx + 0x18]
mov word [ebp + 0x1c], dx
mov ax, word [ebx + 0x20]
mov word [ebp + 0x1e], ax
mov cx, word [ebx + 0x24]
mov word [ebp + 0x20], cx
mov dx, word [ebx + 0x28]
mov word [ebp + 0x22], dx
mov ax, word [ebx + 0x2a]
mov word [ebp + 0x24], ax
mov ecx, dword [ebx + 0x2e]
mov dword [ebp + 0x26], ecx
mov edx, dword [ebx + 0x32]
mov dword [ebp + 0x2a], edx
mov ecx, dword [ebx + 0x18]
mov eax, ecx
lea esi, [esp + 0x1c]
lea edi, [ebp + 0x2e]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x20]
test ecx, ecx
jbe 0x43756b
mov edx, dword [ebx + 0x18]
mov esi, dword [ebx + 0x3e]
mov eax, ecx
lea edi, [edx + ebp + 0x2e]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x24]
test ecx, ecx
jbe 0x43758f
mov edx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0x42]
add edx, ebp
lea edi, [edx + eax + 0x2e]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x12c]
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x14]
push 0
mov edx, dword [ecx + 0x96]
push eax
push esi
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4375e3
cmp dword [esp + 0x14], esi
jne 0x4375e3
push ebp
call fcn.00448616
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x437779
pop edi
pop esi
mov dword [ebx + 0x3e], 0
pop ebp
xor eax, eax
pop ebx
add esp, 0x110
ret
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4375f2
mov dword [ebx + 0x3e], 0
push ebp
call fcn.00448616
add esp, 4
mov eax, 0xa
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret
cmp dword [esp + 0x10], edi
je 0x4377a0
mov dword [ebx + 0x3e], edi
pop edi
pop esi
pop ebp
mov eax, 0xa
pop ebx
add esp, 0x110
ret
mov eax, dword [esp + 0x128]
push esi
push ebp
push eax
push edi
call fcn.004335f0
add esp, 0x10
test eax, eax
je 0x437659
mov eax, dword [esi + 0x8e]
pop edi
neg eax
sbb eax, eax
pop esi
and al, 0xf6
pop ebp
add eax, 0x13
pop ebx
add esp, 0x110
ret
inc ebp
push ebp
call fcn.00448866
mov ebp, eax
add esp, 4
cmp ebp, edi
je 0x437797
mov dword [ebp], 0x2014b50
mov cx, word [ebx]
mov word [ebp + 4], cx
mov dx, word [ebx + 2]
mov word [ebp + 6], dx
mov ax, word [ebx + 4]
mov word [ebp + 8], ax
mov cx, word [ebx + 6]
mov word [ebp + 0xa], cx
mov edx, dword [ebx + 8]
mov dword [ebp + 0xc], edx
mov eax, dword [ebx + 0xc]
mov dword [ebp + 0x10], eax
mov ecx, dword [ebx + 0x10]
mov dword [ebp + 0x14], ecx
mov edx, dword [ebx + 0x14]
mov dword [ebp + 0x18], edx
mov ax, word [ebx + 0x18]
mov word [ebp + 0x1c], ax
mov cx, word [ebx + 0x20]
mov word [ebp + 0x1e], cx
mov dx, word [ebx + 0x24]
mov word [ebp + 0x20], dx
mov ax, word [ebx + 0x28]
mov word [ebp + 0x22], ax
mov cx, word [ebx + 0x2a]
mov word [ebp + 0x24], cx
mov edx, dword [ebx + 0x2e]
mov dword [ebp + 0x26], edx
mov eax, dword [ebx + 0x32]
mov dword [ebp + 0x2a], eax
mov ecx, dword [ebx + 0x18]
mov edx, ecx
lea esi, [esp + 0x1c]
lea edi, [ebp + 0x2e]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x20]
test ecx, ecx
jbe 0x437716
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0x3e]
mov edx, ecx
lea edi, [eax + ebp + 0x2e]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x24]
test ecx, ecx
jbe 0x43773a
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
mov esi, dword [ebx + 0x42]
add eax, ebp
lea edi, [eax + edx + 0x2e]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x128]
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push 0
mov eax, dword [edx]
push ecx
push esi
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x437786
cmp dword [esp + 0x14], esi
jne 0x437786
push ebp
call fcn.00448616
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x437779
mov dword [ebx + 0x3e], 0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x110
ret
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4375f2
jmp 0x4375eb
cmp dword [esp + 0x10], edi
je 0x4377a0
mov dword [ebx + 0x3e], edi
mov eax, 0xa
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret