Function at 0x4026e0
Capabilities:
Write file on windows

Disassembly:
push ebp
sub esp, 0x89c
lea ebp, [esp - 4]
mov eax, dword [0x4d4430]
xor eax, ebp
mov dword [ebp + 0x89c], eax
push 8
mov eax, 0x4b038f
call fcn.0040c66f
xor ebx, ebx
push ebx
call fcn.0040cfed
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x10], edx
call fcn.0040cfc6
push 0x4e0724
mov esi, eax
call fcn.0047aa2a
add esp, 0xc
push 0xffffffffffffffff
push ebx
push 0x4d4038
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x30], 0xf
mov dword [ebp + 0x2c], ebx
mov byte [ebp + 0x1c], bl
call fcn.00401639
mov edi, str.sssync.log
push edi
mov dword [ebp - 4], ebx
call fcn.0040b990
pop ecx
push eax
push edi
lea ecx, [ebp + 0x1c]
call fcn.004016d2
cmp dword [ebp + 0x30], 0x10
mov eax, dword [ebp + 0x1c]
jae 0x40276c
lea eax, [ebp + 0x1c]
push eax
call fcn.0047aee8
pop ecx
test eax, eax
je 0x4027a0
mov eax, dword [0x4e073c]
cmp eax, ebx
je 0x40278d
push eax
call fcn.0040d0ab
pop ecx
mov dword [0x4e073c], ebx
cmp dword [ebp + 0x30], 0x10
mov eax, dword [ebp + 0x1c]
jae 0x402799
lea eax, [ebp + 0x1c]
push 0x4b2940
jmp 0x402819
cmp dword [0x4e073c], ebx
jne 0x402832
cmp dword [ebp + 0x30], 0x10
mov eax, dword [ebp + 0x1c]
jae 0x4027b8
lea eax, [ebp + 0x1c]
push 0x4b2940
push eax
call fcn.0040d891
push 2
push ebx
push eax
mov dword [0x4e073c], eax
call fcn.0040d759
push dword [0x4e073c]
call fcn.0040d66a
push ebx
push ebx
push dword [0x4e073c]
mov edi, eax
call fcn.0040d759
add esp, 0x24
cmp edi, 0x300000
jle 0x402826
push dword [0x4e073c]
call fcn.0040d0ab
cmp dword [ebp + 0x30], 0x10
mov eax, dword [ebp + 0x1c]
pop ecx
mov dword [0x4e073c], ebx
jae 0x402814
lea eax, [ebp + 0x1c]
push 0x4b293c
push eax
call fcn.0040d891
pop ecx
mov dword [0x4e073c], eax
pop ecx
cmp dword [0x4e073c], ebx
je 0x402923
push 0x63
lea eax, [ebp + 0x839]
push ebx
push eax
mov byte [ebp + 0x838], bl
call fcn.0040c970
push dword [esi]
mov eax, dword [esi + 0x10]
push dword [esi + 4]
inc eax
push dword [esi + 8]
push dword [esi + 0xc]
push eax
mov eax, dword [esi + 0x14]
add eax, 0x76c
push eax
lea eax, [ebp + 0x838]
push str.__d__02d__02d__02d:_02d:_02d_
push eax
call fcn.0040c779
mov esi, 0x3ff
push esi
lea eax, [ebp + 0x39]
push ebx
push eax
mov byte [ebp + 0x38], bl
call fcn.0040c970
lea eax, [ebp + 0x8ac]
push eax
push dword [ebp + 0x8a8]
lea eax, [ebp + 0x38]
push 0x3e8
push eax
call fcn.004176ca
add esp, 0x48
push esi
lea eax, [ebp + 0x439]
push ebx
push eax
mov byte [ebp + 0x438], bl
call fcn.0040c970
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp + 0x838]
push eax
lea eax, [ebp + 0x438]
push str._s_s_r_n
push eax
call fcn.0040c779
add esp, 0x1c
lea eax, [ebp + 0x438]
push eax
lea ecx, [ebp]
call fcn.004026b3
cmp dword [ebp + 0x14], 0x10
mov esi, dword [ebp]
mov eax, esi
jae 0x4028f4
lea eax, [ebp]
mov esi, eax
push dword [0x4e073c]
push eax
call fcn.0040b990
pop ecx
push eax
push 1
push esi
call fcn.0040d45c
push dword [0x4e073c]
call fcn.0040d2a9
add esp, 0x14
push ebx
push 1
lea ecx, [ebp]
call fcn.00401296
push ebx
push 1
lea ecx, [ebp + 0x1c]
call fcn.00401296
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x89c]
xor ecx, ebp
call fcn.0040c660
add ebp, 0x8a0
leave
ret