Function at 0x100013e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000f360
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x10017008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0xd4], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x68], 0
lea eax, [ebp - 0x68]
mov dword [ebp - 4], 0
push eax
push 0
push 0x10014cfc
push 0
call dword [sym.imp.d2d1.dll_Ordinal_1]
mov esi, eax
test esi, esi
js 0x10001b9e
mov dword [ebp - 0x1c], 0
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea eax, [ebp - 0x1c]
push eax
push 0x10014d1c
push 1
push 0
push 0x10010200
call esi
test eax, eax
jns 0x10001489
lea eax, [ebp - 0x1c]
push eax
push 0x10014d1c
push 1
push 0
push 0x100101f0
call esi
mov esi, eax
test esi, esi
js 0x10001b8d
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x34]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
push edx
push 2
push 0x10010210
mov ecx, dword [eax]
push 0x100
push 0x100
push eax
call dword [ecx + 0x44]
mov esi, eax
test esi, esi
js 0x10001b6b
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x18]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
movups xmm0, xmmword [ebp - 0x50]
push edx
lea edx, [ebp - 0xf0]
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0x3c], 0
movq xmm0, qword [ebp - 0x40]
push edx
push dword [ebp - 0x34]
movq qword [ebp - 0xe0], xmm0
mov dword [ebp - 0xd8], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
mov esi, eax
test esi, esi
js 0x10001b6b
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc0]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x44]
movaps xmm0, xmmword [0x10014e50]
movups xmmword [ebp - 0x44], xmm0
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xbc]
mov dword [ebp - 0x64], 0
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push ecx
mov ecx, esp
mov dword [ecx], eax
test eax, eax
je 0x1000157b
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov edx, esi
mov ecx, edi
call fcn.10001200
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0xd0]
add esp, 8
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xd4]
movss xmm0, dword [ebp - 0xd0]
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 0x18]
push 0
movss dword [ebp - 0x70], xmm0
movss xmm0, dword [ebp - 0xcc]
push 1
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
movss dword [ebp - 0x6c], xmm0
mov ecx, dword [eax]
push ecx
mov dword [esp], 0x3f800000
push edx
push dword [ebp - 0x64]
push eax
call dword [ecx + 0x68]
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x30]
push eax
push 0x10014d0c
push 0
call dword [sym.imp.DWrite.dll_DWriteCreateFactory]
mov esi, eax
test esi, esi
js 0x10001b49
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 6
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x30]
push edx
push 0x10014cd8
mov ecx, dword [eax]
push ecx
mov dword [esp], 0x42800000
push 5
push 0
push 0x2bc
push 0
push str.Microsoft_Yahei
push eax
call dword [ecx + 0x3c]
mov esi, eax
test esi, esi
js 0x10001b38
mov eax, dword [ebp - 0x28]
push 2
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x28]
push 2
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov dword [ebp - 0x60], 0
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 7
mov edi, dword [ebp - 0x30]
push eax
sub esp, 8
mov esi, dword [edi]
mov dword [esp + 4], 0x42b40000
mov dword [esp], 0x436c0000
push dword [ebp - 0x28]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push dword [ebp - 0x14]
push edi
call dword [esi + 0x48]
mov esi, eax
test esi, esi
js 0x10001b27
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0xc4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xf0]
mov esi, eax
test esi, esi
js 0x10001b27
movss xmm0, dword [ebp - 0xb8]
sub esp, 8
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
fstp qword [esp]
call fcn.1000cf60
fstp dword [ebp - 0xc8]
add esp, 8
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 9
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0x18]
movaps xmm0, xmmword [0x10014e60]
push edx
push 0
movups xmmword [ebp - 0x44], xmm0
mov ecx, dword [eax]
lea edx, [ebp - 0x44]
push edx
push eax
call dword [ecx + 0x20]
mov esi, eax
test esi, esi
js 0x10001b05
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x2c]
movaps xmm0, xmmword [0x10014e70]
push edx
push 0
movups xmmword [ebp - 0x44], xmm0
mov ecx, dword [eax]
lea edx, [ebp - 0x44]
push edx
push eax
call dword [ecx + 0x20]
mov esi, eax
test esi, esi
js 0x10001b05
movss xmm0, dword [ebp - 0xc8]
addss xmm0, dword [0x10014e44]
movss xmm1, dword [0x10014e48]
comiss xmm1, xmm0
ja 0x1000175f
movaps xmm1, xmm0
movss xmm0, dword [0x10014e4c]
lea edx, [ebp - 0xa0]
mov eax, dword [ebp - 0x18]
subss xmm0, xmm1
push dword [ebp - 0x5c]
mov dword [ebp - 0x38], 0x42340000
mov dword [ebp - 0x84], 0x40a00000
mov dword [ebp - 0x80], 0x437a0000
movss dword [ebp - 0x88], xmm0
movss dword [ebp - 0x4c], xmm0
movaps xmm0, xmmword [0x10014e80]
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x7c], 0x42be0000
movups xmm0, xmmword [ebp - 0x4c]
push edx
push eax
movups xmmword [ebp - 0xa0], xmm0
movq xmm0, qword [ebp - 0x3c]
movq qword [ebp - 0x90], xmm0
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0xa0]
push 0
mov ecx, dword [eax]
push ecx
mov dword [esp], 0x41000000
push dword [ebp - 0x2c]
push edx
push eax
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x18]
push dword [ebp - 0x14]
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0xc8], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [ebp - 0xc8]
push 0
push 0
push esi
mov ecx, dword [edx]
lea esi, [ebp - 0x88]
push esi
push edi
push eax
push dword [ebp - 0x14]
push edx
call dword [ecx + 0x6c]
mov eax, dword [ebp - 0x18]
push 0
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc4]
push 0
push 0x80
push 2
push 0
push 0
xorps xmm0, xmm0
push 0x40000000
push dword [ebp - 0xd4]
movups xmmword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 0xa
cmp eax, 0xffffffff
je 0x10001af1
mov ecx, 0xa
mov dword [ebp - 0x14], 0
push 0
mov word [ebp - 0x54], cx
lea ecx, [ebp - 0x14]
push ecx
push 6
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x58], 0x10000
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10001af1
mov eax, dword [ebp - 0x14]
push 0xa0
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0
call fcn.100033a8
mov esi, eax
add esp, 4
mov dword [ebp - 0xd4], esi
test esi, esi
je 0x10001af1
push 0xa0
push 0
push esi
call fcn.10004860
add esp, 0xc
mov dword [ebp - 0x24], 0xa6
mov dword [ebp - 0x20], 0
mov edi, 0x10014d2c
add esi, 6
mov ecx, dword [edi]
lea esi, [esi + 0x10]
mov byte [esi - 0x16], cl
mov byte [esi - 0x15], cl
mov dword [esi - 0x12], 0x200001
lea eax, [ecx + 0x1f]
mov byte [esi - 0x13], 0
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
add eax, ecx
imul eax, ecx
mov ecx, dword [ebp - 0x24]
mov dword [esi - 0xa], ecx
lea eax, [eax*4 + 0x28]
mov dword [esi - 0xe], eax
cdq
add ecx, eax
mov dword [ebp - 0x24], ecx
adc dword [ebp - 0x20], edx
add edi, 4
cmp edi, 0x10014d54
jl 0x100018f1
mov edi, dword [ebp - 0x44]
lea eax, [ebp - 0x14]
push 0
push eax
push 0xa0
push dword [ebp - 0xd4]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0xd4]
mov esi, eax
call fcn.10003040
add esp, 4
test esi, esi
je 0x10001af4
mov eax, dword [ebp - 0xc8]
mov edi, 0x10014d2c
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x3c], eax
mov eax, 0
adc eax, eax
mov dword [ebp - 0x38], eax
nop word [eax + eax]
mov eax, dword [edi]
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov esi, eax
test esi, esi
js 0x10001adb
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0xd4]
push 3
push edx
mov ecx, dword [eax]
push edx
push dword [ebp - 0x34]
push eax
call dword [ecx + 0x20]
mov esi, eax
test esi, esi
js 0x10001adb
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
push edx
push 0
push dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x48]
mov esi, eax
test esi, esi
js 0x10001aca
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x24]
push edx
push 1
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
mov esi, eax
test esi, esi
js 0x10001ab9
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0xc8]
push edx
mov dword [ebp - 0x54], 0
lea edx, [ebp - 0x54]
mov dword [ebp - 0xc8], 0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x14]
mov esi, eax
test esi, esi
js 0x10001ab9
push dword [ebp - 0xd4]
push ecx
push dword [ebp - 0xc8]
lea ecx, [ebp - 0x44]
call fcn.10001080
test al, al
je 0x10001ab4
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x10001a7c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10001a8d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10001a9e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
add edi, 4
cmp edi, 0x10014d54
jl 0x10001990
mov edi, dword [ebp - 0x44]
xor esi, esi
jmp 0x10001af9
mov esi, 1
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x10001aca
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10001adb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10001aec
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edi, dword [ebp - 0x44]
jmp 0x10001af9
mov edi, dword [ebp - 0x44]
mov esi, 1
cmp edi, 0xffffffff
je 0x10001b05
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x10001b16
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x10001b27
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x10001b38
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x10001b49
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x10001b5a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x10001b6b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10001b7c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x10001b8d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10001b9e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x68]
test ecx, ecx
je 0x10001bb2
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000302f
mov esp, ebp
pop ebp
ret