Function at 0x4393c4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff84
push ebx
push esi
push edi
mov dword [ebp - 0x44], eax
mov eax, 0x7d855c
call fcn.007b7c14
mov word [ebp - 0x30], 0xc
lea eax, [ebp - 4]
call fcn.00402e20
inc dword [ebp - 0x24]
inc dword [ebp - 0x24]
mov word [ebp - 0x30], 0x18
mov edx, dword [ebp - 0x44]
mov ecx, dword [edx + 0x1c]
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 0x24]
mov dword [ebp - 0x48], edx
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x4c]
push ecx
push 2
call sub.KERNEL32.DLL_WaitForMultipleObjects
mov edx, dword [ebp - 0x44]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0xc], 0
jne 0x4397bf
mov eax, dword [ebp - 0x44]
call fcn.00439394
mov word [ebp - 0x30], 0x24
jmp 0x439787
mov edx, dword [ebp - 0x44]
add edx, 0x50
push edx
lea ecx, [ebp - 0x6c]
push ecx
call fcn.004397f8
add esp, 8
lea eax, [ebp - 0x6c]
push eax
call fcn.0043981c
pop ecx
mov edx, dword [eax]
mov ecx, dword [ebp - 0x44]
mov dword [ecx + 0x4c], edx
mov eax, dword [ebp - 0x44]
add eax, 0x7c
mov dword [ebp - 0x50], eax
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x50]
call fcn.007c54f4
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 0x4c]
cmp dword [eax], 0
jne 0x4394b8
mov word [ebp - 0x30], 0x30
mov edx, str.UniDebug
lea eax, [ebp - 8]
xor ecx, ecx
call fcn.007c5314
inc dword [ebp - 0x24]
inc dword [ebp - 0x24]
lea edx, [ebp - 8]
lea eax, [ebp - 4]
call fcn.007c5508
sub dword [ebp - 0x24], 2
lea eax, [ebp - 8]
mov edx, 2
call fcn.00402554
jmp 0x4394ef
mov word [ebp - 0x30], 0x3c
mov edx, str.UniError
lea eax, [ebp - 0xc]
xor ecx, ecx
call fcn.007c5314
inc dword [ebp - 0x24]
inc dword [ebp - 0x24]
lea edx, [ebp - 0xc]
lea eax, [ebp - 4]
call fcn.007c5508
sub dword [ebp - 0x24], 2
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00402554
mov word [ebp - 0x30], 0x48
add esp, 0xfffffff8
call fcn.004a64ac
fstp qword [esp]
mov edx, str.YYYY_MM_DD
lea eax, [ebp - 0x10]
call fcn.007c61ac
inc dword [ebp - 0x24]
mov eax, dword [eax]
xor edx, edx
mov dword [ebp - 0x14], edx
lea edx, [ebp - 0x14]
inc dword [ebp - 0x24]
call fcn.004a7380
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x18]
xor ecx, ecx
call fcn.007c53c4
inc dword [ebp - 0x24]
inc dword [ebp - 0x24]
lea edx, [ebp - 0x18]
lea eax, [ebp - 4]
call fcn.007c5508
sub dword [ebp - 0x24], 2
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00402554
dec dword [ebp - 0x24]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.007c633c
dec dword [ebp - 0x24]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.007c633c
mov word [ebp - 0x30], 0x54
mov edx, str..Log
lea eax, [ebp - 0x1c]
xor ecx, ecx
call fcn.007c5314
inc dword [ebp - 0x24]
inc dword [ebp - 0x24]
lea edx, [ebp - 0x1c]
lea eax, [ebp - 4]
call fcn.007c5508
sub dword [ebp - 0x24], 2
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00402554
cmp dword [ebp - 4], 0
je 0x4395bd
lea ecx, [ebp - 4]
push ecx
call fcn.0040420c
pop ecx
mov eax, dword [eax + 8]
jmp 0x4395bf
xor eax, eax
inc eax
push eax
call fcn.007ae9c8
pop ecx
mov edx, dword [ebp - 0x44]
mov dword [edx + 0x14], eax
cmp dword [ebp - 4], 0
je 0x4395e2
lea ecx, [ebp - 4]
push ecx
call fcn.0040420c
pop ecx
mov eax, dword [eax + 8]
jmp 0x4395e4
xor eax, eax
inc eax
push eax
push 0
mov edx, dword [ebp - 0x44]
push dword [edx + 0x14]
call fcn.007b76df
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0x439603
mov ecx, 0x7d8492
jmp 0x439606
mov ecx, dword [ebp - 4]
push ecx
mov eax, dword [ebp - 0x44]
push dword [eax + 0x14]
call fcn.007b78b0
add esp, 8
push 0
push 0x80
push 4
push 0
push 1
push 0xc0000000
mov edx, dword [ebp - 0x44]
push dword [edx + 0x14]
call sub.KERNEL32.DLL_CreateFileA
mov edx, dword [ebp - 0x44]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x18], 0
jne 0x439667
mov ecx, dword [ebp - 0x44]
cmp dword [ecx + 0x14], 0
je 0x439787
mov eax, dword [ebp - 0x44]
push dword [eax + 0x14]
call fcn.007a2b38
pop ecx
mov edx, dword [ebp - 0x44]
xor ecx, ecx
mov dword [edx + 0x14], ecx
jmp 0x439787
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 0x4c]
add edx, 4
mov dword [ebp - 0x54], edx
mov ecx, dword [ebp - 0x54]
cmp dword [ecx], 0
je 0x439689
push dword [ebp - 0x54]
call fcn.0040420c
pop ecx
mov eax, dword [eax + 8]
jmp 0x43968b
xor eax, eax
mov edx, dword [ebp - 0x44]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 8]
inc eax
push eax
call fcn.007ae9c8
pop ecx
mov edx, dword [ebp - 0x44]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 8]
inc eax
push eax
push 0
mov edx, dword [ebp - 0x44]
push dword [edx + 4]
call fcn.007b76df
add esp, 0xc
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 0x4c]
add eax, 4
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
cmp dword [edx], 0
jne 0x4396d8
mov ecx, 0x7d8493
jmp 0x4396dd
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x44]
push dword [edx + 4]
call fcn.007b78b0
add esp, 8
push 2
push 0
push 0
mov eax, dword [ebp - 0x44]
push dword [eax + 0x18]
call sub.KERNEL32.DLL_SetFilePointer
push 0
mov edx, dword [ebp - 0x44]
add edx, 0x10
push edx
mov ecx, dword [ebp - 0x44]
push dword [ecx + 8]
mov eax, dword [ebp - 0x44]
push dword [eax + 4]
mov edx, dword [ebp - 0x44]
push dword [edx + 0x18]
call sub.KERNEL32.DLL_WriteFile
mov ecx, dword [ebp - 0x44]
push dword [ecx + 0x18]
call sub.KERNEL32.DLL_SetEndOfFile
mov eax, dword [ebp - 0x44]
push dword [eax + 0x18]
call sub.KERNEL32.DLL_CloseHandle
mov edx, dword [ebp - 0x44]
add edx, 0x50
mov dword [ebp - 0x5c], edx
add esp, 0xfffffff0
push dword [ebp - 0x5c]
lea ecx, [esp + 4]
push ecx
call fcn.004397f8
add esp, 8
push dword [ebp - 0x5c]
lea eax, [ebp - 0x7c]
push eax
call fcn.00439830
add esp, 0x18
mov edx, dword [ebp - 0x44]
cmp dword [edx + 0x14], 0
je 0x43977b
mov ecx, dword [ebp - 0x44]
push dword [ecx + 0x14]
call fcn.007a2b38
pop ecx
mov eax, dword [ebp - 0x44]
xor edx, edx
mov dword [eax + 0x14], edx
mov ecx, dword [ebp - 0x44]
push dword [ecx + 4]
call fcn.007a2b38
pop ecx
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x74], 0
jne 0x43943b
mov eax, dword [ebp - 0x44]
call fcn.004393ac
mov word [ebp - 0x30], 0x18
jmp 0x439406
mov edx, dword [ebp - 0x44]
cmp dword [edx + 0xc], 1
jne 0x439406
jmp 0x4397d3
sub dword [ebp - 0x24], 2
lea eax, [ebp - 4]
mov edx, 2
call fcn.00402554
mov ecx, dword [ebp - 0x40]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret