Function at 0x4756b1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x536e75
mov eax, dword fs:[0]
push eax
mov eax, 0x4350
call fcn.00460bb0
mov eax, dword [0x57b270]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x4358], ebx
mov edi, dword [ebp + 0xc]
lea esi, [ebx + 0x340]
push esi
mov dword [ebp - 0x4350], edi
mov dword [ebp - 0x435c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x434c], eax
inc ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
cmp eax, 3
je 0x475733
cmp eax, 2
je 0x47572a
cmp eax, ecx
jne 0x4757f8
cmp eax, 3
jne 0x4757dc
mov ecx, dword [ebp + 8]
cmp ecx, dword [ebx + 4]
je 0x475796
cmp dword [ebx + 4], 0xffffffff
je 0x47574c
push dword [ebx]
call fcn.00477fe2
pop ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ebx]
or dword [ebx + 4], 0xffffffff
cmp ecx, dword [eax + 4]
jge 0x4757f8
cmp dword [eax + 0x10], ecx
jle 0x47576f
push eax
call fcn.0047806b
mov eax, dword [ebx]
pop ecx
mov ecx, dword [ebp + 8]
cmp dword [eax + 0x10], ecx
jge 0x475789
mov esi, dword [ebp + 8]
push dword [ebx]
call fcn.004780aa
mov eax, dword [ebx]
pop ecx
cmp dword [eax + 0x10], esi
jl 0x475774
lea esi, [ebx + 0x340]
push eax
call fcn.004781f4
mov eax, dword [ebp + 8]
pop ecx
mov dword [ebx + 4], eax
push dword [ebp + 0x10]
push edi
push dword [ebx]
call fcn.0047844f
mov edi, eax
add esp, 0xc
test edi, edi
jle 0x4757b9
mov dword [ebp - 0x434c], 0x600
jmp 0x475a94
push dword [ebx]
call fcn.00477fe2
or dword [ebx + 4], 0xffffffff
pop ecx
test edi, edi
je 0x475aa3
mov dword [ebp - 0x434c], 0x5000000
jmp 0x475a94
cmp dword [ebx + 4], 0xffffffff
je 0x4757ea
push dword [ebx]
call fcn.00477fe2
pop ecx
mov ecx, dword [ebx]
or dword [ebx + 4], 0xffffffff
mov eax, dword [ebp + 8]
cmp eax, dword [ecx + 4]
jl 0x475807
mov dword [ebp - 0x434c], 0x10000
jmp 0x475a94
cmp dword [ecx + 0x10], eax
jle 0x47581b
push ecx
call fcn.0047806b
mov eax, dword [ebp + 8]
pop ecx
mov ecx, dword [ebx]
cmp dword [ecx + 0x10], eax
jge 0x475838
mov esi, dword [ebp + 8]
push dword [ebx]
call fcn.004780aa
mov eax, dword [ebx]
pop ecx
cmp dword [eax + 0x10], esi
jl 0x475820
mov eax, dword [ebp + 8]
lea esi, [ebx + 0x340]
lea ecx, [ebp - 0x4344]
push ecx
push eax
mov ecx, ebx
call fcn.004750d2
test byte [ebp - 0x423c], 0x10
je 0x475897
xor ecx, ecx
inc ecx
cmp dword [ebp + 0x14], ecx
je 0x475a94
push 0x103
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x4340]
push eax
call fcn.00475575
lea eax, [ebp - 0x218]
push eax
lea eax, [ebx + 0x138]
push eax
call fcn.00474e75
add esp, 0x14
xor eax, eax
mov dword [ebp - 0x434c], eax
jmp 0x475a94
xor eax, eax
inc eax
cmp dword [ebp + 0x14], eax
je 0x4759d2
movzx eax, word [edi]
mov ecx, edi
mov edx, edi
test ax, ax
je 0x4759b7
push 0x2f
pop ebx
push 0x5c
mov esi, eax
pop edi
cmp si, bx
je 0x4758c5
cmp si, di
jne 0x4758c8
lea ecx, [edx + 2]
add edx, 2
movzx eax, word [edx]
mov esi, eax
test ax, ax
jne 0x4758bb
mov ebx, dword [ebp - 0x4358]
mov edi, dword [ebp - 0x4350]
mov dword [ebp - 0x4354], ecx
lea esi, [ebx + 0x340]
cmp ecx, edi
je 0x4759b7
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.00507963
mov eax, dword [ebp - 0x4354]
sub eax, edi
sar eax, 1
pop ecx
pop ecx
lea eax, [eax*2 - 2]
cmp eax, 0x208
jae 0x475ac8
xor ecx, ecx
mov word [ebp + eax - 0x218], cx
push 0x2f
pop eax
cmp word [ebp - 0x218], ax
je 0x475954
push 0x5c
pop eax
cmp word [ebp - 0x218], ax
je 0x475954
cmp word [ebp - 0x216], 0x3a
je 0x475954
mov byte [ebp - 0x4345], cl
jmp 0x47595d
xor eax, eax
inc eax
mov byte [ebp - 0x4345], al
lea eax, [ebp - 0x218]
push 0x549f24
push eax
call fcn.004ed72f
mov edi, eax
lea eax, [ebp - 0x218]
push 0x549f2c
push eax
call fcn.004ed72f
movzx ecx, byte [ebp - 0x4345]
add esp, 0x10
test eax, eax
setne dl
test edi, edi
push 1
pop eax
cmovne ecx, eax
or dl, cl
jne 0x4759b1
lea eax, [ebp - 0x218]
push eax
lea eax, [ebx + 0x138]
push eax
call fcn.00474e75
pop ecx
pop ecx
mov edi, dword [ebp - 0x4350]
xor eax, eax
push eax
push dword [ebp - 0x423c]
push 2
push eax
push eax
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4759e6
mov dword [ebp - 0x434c], 0x200
jmp 0x475a94
push dword [ebx]
call fcn.004781f4
mov dword [esp], 0x4000
jmp 0x475a19
je 0x475a37
push 0
lea ecx, [ebp - 0x4358]
push ecx
push eax
lea eax, [ebp - 0x4218]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x475a2e
push 0x4000
lea eax, [ebp - 0x4218]
push eax
push dword [ebx]
call fcn.0047844f
add esp, 0xc
test eax, eax
jns 0x4759f6
xor eax, eax
inc eax
mov byte [ebp - 0x434c], al
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
xor ecx, ecx
inc ecx
cmp eax, ecx
jne 0x475a6a
cmp byte [ebp - 0x434c], 0
jne 0x475a6a
lea eax, [ebp - 0x4228]
push eax
lea eax, [ebp - 0x4238]
push eax
lea eax, [ebp - 0x4230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
xor eax, eax
inc eax
cmp dword [ebp + 0x14], eax
je 0x475a79
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebx]
call fcn.00477fe2
cmp byte [ebp - 0x434c], 0
pop ecx
je 0x475aa3
mov dword [ebp - 0x434c], 0x400
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x434c]
jmp 0x475aac
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00460b6f
leave
ret 0x10
call fcn.0046100c
int3