Function at 0x4206e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x65c
mov eax, dword [0x47b00c]
xor eax, esp
mov dword [esp + 0x658], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
cmp dword [edi + 4], 0xffffffff
je 0x42070f
mov ecx, dword [edi]
call fcn.0041fd70
mov ecx, dword [edi]
mov ebx, dword [ebp + 8]
mov dword [edi + 4], 0xffffffff
cmp ebx, dword [ecx + 4]
jl 0x42073c
mov eax, 0x10000
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x658]
xor ecx, esp
call fcn.00430eab
mov esp, ebp
pop ebp
ret 0x10
cmp ebx, dword [ecx + 0x10]
jge 0x420746
call fcn.0041f670
mov eax, dword [edi]
cmp dword [eax + 0x10], ebx
jge 0x42075e
nop dword [eax]
mov ecx, dword [edi]
call fcn.0041f6b0
mov eax, dword [edi]
cmp dword [eax + 0x10], ebx
jl 0x420750
lea eax, [esp + 0x18]
mov ecx, edi
push eax
push ebx
call fcn.0041ff50
test byte [esp + 0x224], 0x10
movzx eax, word [esi]
je 0x4207d6
cmp eax, 0x2f
je 0x4207b4
cmp eax, 0x5c
je 0x4207b4
test ax, ax
je 0x42078e
cmp word [esi + 2], 0x3a
je 0x4207b4
lea ecx, [edi + 0x244]
mov edx, esi
call fcn.004205d0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x658]
xor ecx, esp
call fcn.00430eab
mov esp, ebp
pop ebp
ret 0x10
xor ecx, ecx
mov edx, esi
call fcn.004205d0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x658]
xor ecx, esp
call fcn.00430eab
mov esp, ebp
pop ebp
ret 0x10
mov ebx, esi
mov ecx, esi
test ax, ax
je 0x4207fb
nop
cmp ax, 0x2f
je 0x4207ec
cmp ax, 0x5c
jne 0x4207ef
lea ebx, [ecx + 2]
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x4207e0
push esi
lea eax, [esp + 0x254]
push 0x104
push eax
call fcn.0043dd44
add esp, 0xc
cmp ebx, esi
jne 0x420821
xor eax, eax
mov word [esp + 0x250], ax
jmp 0x420861
mov eax, ebx
sub eax, esi
and eax, 0xfffffffe
cmp eax, 0x208
jae 0x4209e1
xor ecx, ecx
mov word [esp + eax + 0x250], cx
mov ax, word [esp + 0x250]
cmp ax, 0x2f
je 0x42088b
cmp ax, 0x5c
je 0x42088b
test ax, ax
je 0x420861
cmp word [esp + 0x252], 0x3a
je 0x42088b
push ebx
lea eax, [esp + 0x254]
push eax
lea esi, [edi + 0x244]
push esi
lea eax, [esp + 0x464]
push str._s_s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
mov ecx, esi
jmp 0x4208ac
push ebx
lea eax, [esp + 0x254]
push eax
lea eax, [esp + 0x460]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
xor ecx, ecx
lea edx, [esp + 0x250]
call fcn.004205d0
push 0
push dword [esp + 0x228]
lea eax, [esp + 0x460]
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
jne 0x4208ff
mov eax, 0x200
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x658]
xor ecx, esp
call fcn.00430eab
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [edi + 0x23c]
mov ecx, dword [edi]
call fcn.0041f9c0
cmp dword [edi + 0x240], 0
jne 0x420928
push 0x4000
call fcn.00430ef4
add esp, 4
mov dword [edi + 0x240], eax
xor ebx, ebx
nop word [eax + eax]
mov edx, dword [edi + 0x240]
lea eax, [esp + 0x13]
mov ecx, dword [edi]
push eax
push 0x4000
call fcn.0041fb40
mov esi, eax
add esp, 8
cmp esi, 0xffffff96
je 0x4209b2
test esi, esi
js 0x420980
jle 0x420976
push 0
lea eax, [esp + 0x250]
push eax
push esi
push dword [edi + 0x240]
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x420987
cmp byte [esp + 0x13], bl
jne 0x42098e
test esi, esi
jne 0x420930
mov ebx, 0x5000000
jmp 0x4209b7
mov ebx, 0x400
jmp 0x4209b7
lea eax, [esp + 0x238]
push eax
lea eax, [esp + 0x22c]
push eax
lea eax, [esp + 0x238]
push eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
jmp 0x4209b7
mov ebx, 0x1000
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi]
call fcn.0041fd70
mov ecx, dword [esp + 0x664]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00430eab
mov esp, ebp
pop ebp
ret 0x10
call fcn.004315e8
int3