Function at 0x4c33b8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4c33c0
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c37e7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4d426c]
mov eax, dword [eax]
mov eax, dword [eax + 0x39ac]
cmp eax, 0xf
je 0x4c3425
mov edx, dword [0x4d426c]
cmp eax, 0x10
je 0x4c3425
mov edx, dword [0x4d426c]
cmp eax, 0x11
je 0x4c3425
mov edx, dword [0x4d426c]
cmp eax, 0x19
je 0x4c3425
mov edx, dword [0x4d426c]
cmp eax, 0x1a
je 0x4c3425
mov edx, dword [0x4d426c]
cmp eax, 0x1b
jne 0x4c3436
mov eax, dword [0x4d426c]
mov eax, dword [eax]
call fcn.004b5460
jmp 0x4c3797
mov eax, dword [0x4d426c]
mov eax, dword [eax]
cmp byte [eax + 0x39be], 0
je 0x4c3797
mov eax, dword [0x4d426c]
mov eax, dword [eax]
cmp byte [eax + 0x39bf], 0
je 0x4c3797
mov eax, dword [0x4d426c]
mov eax, dword [eax]
cmp byte [eax + 0x39c1], 0
jne 0x4c3797
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c0]
call fcn.00462330
mov eax, dword [ebp - 0xc]
mov edx, 0x4c3800
call fcn.00404fa4
jne 0x4c34a0
mov dword [ebp - 8], 1
jmp 0x4c34f0
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c0]
call fcn.00462330
mov eax, dword [ebp - 0x10]
mov edx, 0x4c380c
call fcn.00404fa4
jne 0x4c34c9
mov dword [ebp - 8], 2
jmp 0x4c34f0
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c0]
call fcn.00462330
mov eax, dword [ebp - 0x14]
mov edx, 0x4c3818
call fcn.00404fa4
jne 0x4c34f0
mov dword [ebp - 8], 3
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
call fcn.00462330
mov eax, dword [ebp - 0x18]
mov edx, 0x4c3824
call fcn.00404fa4
jne 0x4c3516
add dword [ebp - 8], 4
jmp 0x4c3586
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
call fcn.00462330
mov eax, dword [ebp - 0x1c]
mov edx, 0x4c3834
call fcn.00404fa4
jne 0x4c353c
add dword [ebp - 8], 8
jmp 0x4c3586
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
call fcn.00462330
mov eax, dword [ebp - 0x20]
mov edx, 0x4c3840
call fcn.00404fa4
jne 0x4c3562
add dword [ebp - 8], 0xc
jmp 0x4c3586
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
call fcn.00462330
mov eax, dword [ebp - 0x24]
mov edx, 0x4c384c
call fcn.00404fa4
jne 0x4c3586
add dword [ebp - 8], 0xc
mov eax, dword [0x4d5da8]
mov eax, dword [eax + 0x354]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x4c35a1
add dword [ebp - 8], 0x10
xor eax, eax
push ebp
push 0x4c3613
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3e4]
call fcn.00462330
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.00408f98
mov eax, dword [ebp - 0x28]
mov edx, 0x4c3860
call fcn.00404fa4
je 0x4c3605
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3e4]
call fcn.00462330
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.00408f98
mov eax, dword [ebp - 0x30]
mov edx, 0x4c3870
call fcn.00404fa4
jne 0x4c3609
add dword [ebp - 8], 0x20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c361d
xor eax, eax
push ebp
push 0x4c3667
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3e4]
call fcn.00462330
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.00408f98
mov eax, dword [ebp - 0x38]
mov edx, 0x4c3870
call fcn.00404fa4
jne 0x4c365d
add dword [ebp - 8], 0x80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c3671
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3d0]
call fcn.00462330
mov eax, dword [ebp - 0x40]
mov edx, 0x4c3880
call fcn.00404fa4
je 0x4c36b1
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3d0]
call fcn.00462330
mov eax, dword [ebp - 0x44]
mov edx, 0x4c3898
call fcn.00404fa4
jne 0x4c36b5
add dword [ebp - 8], 0x40
mov edx, dword [ebp - 4]
mov eax, dword [0x4d5da8]
call fcn.004c38a4
mov al, byte [ebp - 8]
mov edx, dword [0x4d426c]
mov edx, dword [edx]
mov byte [edx + 0x5c4], al
push 0
mov eax, dword [0x4d426c]
mov eax, dword [eax]
add eax, 0x3974
push eax
push 1
mov eax, dword [0x4d426c]
add byte [ebx + 0x5c40500], cl
add byte [eax], al