Function at 0x100073e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xc98
mov eax, dword [0x101b100c]
xor eax, esp
mov dword [esp + 0xc94], eax
mov ecx, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x14], esi
push edi
test ecx, ecx
je 0x1000780d
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10007411
sub ecx, edx
je 0x1000780d
mov ecx, esi
call fcn.100071e0
cmp byte [ebp + 0x18], 0
jne 0x10007435
test eax, eax
je 0x1000780d
xor eax, eax
xorps xmm0, xmm0
mov word [esp + 0x20], ax
mov dword [esp + 0x2a], eax
mov word [esp + 0x2e], ax
lea eax, [esp + 0x20]
push eax
movq qword [esp + 0x26], xmm0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov esi, dword [ebp + 0x14]
xorps xmm0, xmm0
movups xmmword [esp + 0x31], xmm0
mov edi, esi
mov dword [esp + 0x49], 0
movq qword [esp + 0x41], xmm0
xor ecx, ecx
movaps xmm0, xmmword [0x101adae0]
mov byte [esp + 0x30], 0
mov word [esp + 0x4d], 0
lea edx, [edi + 1]
mov byte [esp + 0x4f], 0
movaps xmmword [esp + 0x30], xmm0
movq qword [esp + 0x40], xmm0
mov dword [esp + 0x48], 0x20202020
mov word [esp + 0x4c], 0x2020
nop dword [eax + eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x100074b0
sub edi, edx
mov dword [esp + 0x14], 0x1e
mov dword [esp + 0x10], edi
lea edx, [esp + 0x4d]
add esi, edi
lea eax, [edi + 1]
mov dword [esp + 0xc], eax
mov edi, eax
cmp edi, 0x1e
mov eax, edi
cmova eax, dword [esp + 0x14]
cmp ecx, eax
jae 0x100074eb
mov al, byte [esi]
inc ecx
mov byte [edx], al
dec esi
dec edx
jmp 0x100074d4
mov edi, dword [esp + 0x10]
cmp ecx, 0x1d
jae 0x100074fd
lea eax, [esp + 0x4d]
sub eax, ecx
mov byte [eax], 0x7c
mov edx, dword [ebp + 0x10]
inc ecx
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x10007504
sub edx, esi
lea esi, [esp + 0x4d]
sub esi, ecx
lea eax, [edx + 1]
sub edx, ecx
add edx, edi
mov dword [esp + 0xc], eax
mov edi, dword [ebp + 0x10]
inc edi
add edx, edi
mov edi, 0x1e
nop dword [eax]
cmp dword [esp + 0xc], edi
cmova eax, edi
cmp ecx, eax
jae 0x10007548
mov al, byte [edx]
inc ecx
mov byte [esi], al
dec edx
mov eax, dword [esp + 0xc]
dec esi
jmp 0x10007530
push 0x200
lea eax, [esp + 0x54]
push 0
push eax
call fcn.1000d180
mov esi, dword [ebp + 0x1c]
add esp, 0xc
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10007564
sub ecx, edx
cmp ecx, 0x200
jb 0x10007591
push str.The_format_string_is_too_long.
lea eax, [esp + 0x54]
push 0x200
push eax
call fcn.10011302
add esp, 0xc
jmp 0x10007727
call fcn.10002500
mov edi, eax
lea eax, [ebp + 0x20]
push eax
push 0
push esi
push 0xffffffffffffffff
push 0x200
lea eax, [esp + 0x64]
mov dword [esp + 0x24], edi
push eax
push dword [edi + 4]
push dword [edi]
call fcn.10011248
or ecx, 0xffffffff
add esp, 0x20
test eax, eax
cmovs eax, ecx
test eax, eax
jle 0x100075df
lea ecx, [esp + 0x50]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100075d0
sub ecx, edx
jne 0x10007727
push 0x400
lea eax, [esp + 0x49c]
push 0
push eax
call fcn.1000d180
add esp, 0xc
lea eax, [esp + 0x898]
push 0x400
push 0
push eax
call fcn.1000d180
mov edx, dword [ebp + 0x1c]
add esp, 0xc
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10007615
push 0x200
lea eax, [esp + 0x49c]
sub ecx, esi
push eax
push ecx
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [esp + 0x498]
xor edx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10007643
sub ecx, esi
sar ecx, 1
lea eax, [ecx - 1]
test eax, eax
je 0x100076b2
mov eax, 0x25
lea ecx, [eax + 0x2e]
lea edi, [eax + 0x4e]
cmp ax, word [esp + edx*2 + 0x498]
jne 0x10007680
cmp cx, word [esp + edx*2 + 0x49a]
jne 0x10007680
mov word [esp + edx*2 + 0x49a], di
lea ecx, [esp + 0x498]
inc edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10007690
sub ecx, esi
sar ecx, 1
lea eax, [ecx - 1]
cmp edx, eax
mov eax, 0x25
lea ecx, [eax + 0x2e]
jb 0x10007664
mov edi, dword [esp + 0x10]
lea eax, [ebp + 0x20]
push eax
push 0
lea eax, [esp + 0x4a0]
push eax
push 0xffffffffffffffff
push 0x200
lea eax, [esp + 0x8ac]
push eax
push dword [edi + 4]
push dword [edi]
call fcn.1001126f
push 0x200
lea eax, [esp + 0x74]
push 0
push eax
call fcn.1000d180
lea ecx, [esp + 0x8c4]
add esp, 0x2c
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100076f7
push 0
push 0
push 0x200
sub ecx, edx
lea eax, [esp + 0x5c]
push eax
sar ecx, 1
lea eax, [esp + 0x8a8]
push ecx
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0x246
lea eax, [esp + 0x254]
push 0
push eax
call fcn.1000d180
add esp, 0xc
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 0x3c]
push eax
push dword [ebp + 0xc]
movzx eax, word [esp + 0x40]
push eax
movzx eax, word [esp + 0x42]
push eax
movzx eax, word [esp + 0x44]
push eax
movzx eax, word [esp + 0x46]
push eax
movzx eax, word [esp + 0x46]
push eax
movzx eax, word [esp + 0x48]
push eax
push str.__4d__2d__2d__2d:_2d:_2d___4d___s______d:_d__s_r_n
push 0xffffffffffffffff
lea eax, [esp + 0x284]
push 0x246
push eax
call fcn.10007960
add esp, 0x3c
cmp byte [ebp + 0x18], 0
je 0x100077af
lea eax, [esp + 0x250]
push eax
call fcn.10007920
add esp, 4
mov edi, dword [esp + 0x18]
mov dword [esp + 0x1c], 0
lea esi, [edi + 0x10c]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [edi + 0x108], 0xffffffff
je 0x10007806
lea ecx, [esp + 0x250]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100077e0
push 0
lea eax, [esp + 0x20]
sub ecx, edx
push eax
push ecx
lea eax, [esp + 0x25c]
push eax
mov eax, dword [edi + 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0xc9c]
pop edi
pop esi
xor ecx, esp
call fcn.1000a89d
mov esp, ebp
pop ebp
ret