Function at 0x100d4814
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, dword [0x101be6fc]
sub esp, 0xb0
cmp byte [eax + 0xd], 0
push esi
push edi
je 0x100d49bb
mov eax, dword [0x101be6c0]
mov edi, dword [eax + 0x10]
mov ecx, dword [eax + 0x1c]
mov edx, dword [edi]
mov eax, dword [ecx]
mov esi, dword [edx + 0xc]
mov eax, dword [eax + 0x30]
call eax
push eax
mov ecx, edi
call esi
test eax, eax
je 0x100d447a
mov ecx, dword [0x101be6c0]
mov edi, dword [ecx + 0x10]
mov ecx, eax
mov edx, dword [edi]
mov esi, dword [edx + 0x10]
call fcn.10049740
mov ecx, edi
push dword [eax]
call esi
jmp 0x100d447c
xor eax, eax
mov ecx, eax
call fcn.1014b9e0
mov eax, dword [eax + 0x658]
test eax, eax
je 0x100d49bb
cmp eax, 7
je 0x100d49bb
cmp eax, 8
je 0x100d49bb
push 0
call fcn.101454f0
test byte [eax + 0x24], 1
je 0x100d49bb
mov esi, dword [0x101be6bc]
call fcn.101458f0
mov ecx, eax
call fcn.10014070
mov ecx, dword [esi + 0x14]
mov ecx, dword [ecx]
movss xmm0, dword [ecx + 0x4c]
comiss xmm0, dword [eax]
jbe 0x100d49bb
push 0
call fcn.101454f0
mov dword [eax + 0x34], 0x8d
nop word [eax + eax]
mov eax, dword fs:[0x2c]
mov ecx, dword [0x101bf848]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x101c6e1c]
cmp eax, dword [ecx + 4]
jg 0x100d49c4
mov eax, dword [0x101be6c0]
mov edi, dword [eax + 0x10]
mov ecx, dword [eax + 0x1c]
mov edx, dword [edi]
mov eax, dword [ecx]
mov esi, dword [edx + 0xc]
mov eax, dword [eax + 0x30]
call eax
push eax
mov ecx, edi
call esi
neg eax
push pe_nt_image_headers32
sbb eax, eax
and eax, dword [0x101c6e14]
push 0
mov esi, dword [eax + 4]
lea eax, [ebp - 0x98]
push eax
call fcn.10079280
mov eax, 0x20
mov dword [ebp - 0xb0], 0x67452301
mov dword [ebp - 0xa0], eax
lea ecx, [ebp - 0x98]
shr eax, 3
mov edx, 0x3f
and eax, 0x3f
mov dword [ebp - 0xac], 0xefcdab89
add ecx, eax
mov dword [ebp - 0xa8], 0x98badcfe
mov dword [ebp - 0xa4], 0x10325476
sub edx, eax
mov dword [ebp - 0x9c], 0
add esp, 0xc
mov dword [ebp - 0x98], esi
mov byte [ecx], 0x80
inc ecx
cmp edx, 8
jae 0x100d45d7
push edx
push 0
push ecx
call fcn.10079280
add esp, 0xc
lea edx, [ebp - 0x98]
lea ecx, [ebp - 0xb0]
call fcn.1014c7d0
push 0x38
push 0
lea eax, [ebp - 0x98]
push eax
jmp 0x100d45de
lea eax, [edx - 8]
push eax
push 0
push ecx
call fcn.10079280
mov eax, dword [ebp - 0xa0]
lea edx, [ebp - 0x98]
add esp, 0xc
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x9c]
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x5c], eax
call fcn.1014c7d0
cmp byte [ebp - 0xaa], 0x8d
je 0x100d4660
mov eax, dword fs:[0x2c]
mov ecx, dword [0x101bf848]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x101c6e1c]
cmp eax, dword [ecx + 4]
jg 0x100d49fa
mov eax, dword [0x101be6c0]
mov edi, dword [eax + 0x10]
mov ecx, dword [eax + 0x1c]
mov edx, dword [edi]
mov eax, dword [ecx]
mov esi, dword [edx + 0xc]
mov eax, dword [eax + 0x30]
call eax
push eax
mov ecx, edi
call esi
neg eax
sbb eax, eax
and eax, dword [0x101c6e14]
inc dword [eax + 4]
jmp 0x100d44f0
call fcn.101458f0
mov ecx, eax
call fcn.1014af30
push 0
movss dword [ebp - 0x4c], xmm0
call fcn.101454f0
mov cl, 0x37
mov dword [ebp - 0x24], 0x43444137
mov dword [ebp - 0x20], 0x555e5b53
mov dword [ebp - 0x1c], 0x5b5b5319
movzx esi, byte [eax + 0x34]
inc esi
mov byte [ebp - 0x18], 0
xor eax, eax
nop word [eax + eax]
xor byte [ebp + eax - 0x23], cl
inc eax
cmp eax, 0xb
jae 0x100d46af
mov cl, byte [ebp - 0x24]
jmp 0x100d46a0
lea eax, [ebp - 0x23]
mov byte [ebp - 0x18], 0
push eax
call dword [sym.imp.kerNEl32.DLl_GetModuleHandleA]
mov edi, eax
test edi, edi
je 0x100d4741
mov byte [ebp - 0x10], 6
mov cl, 0x54
xor cl, byte [ebp - 0x10]
mov al, 0x69
mov byte [ebp - 0xf], cl
mov dh, 0x62
mov cl, byte [ebp - 0x10]
mov ah, 0x6b
xor al, cl
mov byte [ebp - 0x11], 0x55
mov byte [ebp - 0xb], al
xor ah, cl
mov al, byte [ebp - 0x11]
mov dl, 0x67
xor al, cl
mov byte [ebp - 0x12], 0x63
mov byte [ebp - 9], al
mov ch, 0x68
mov al, byte [ebp - 0x12]
xor dl, cl
xor al, cl
mov byte [ebp - 0x13], 0x63
mov byte [ebp - 8], al
xor ch, cl
mov al, byte [ebp - 0x13]
xor al, cl
mov byte [ebp - 0x14], dh
mov byte [ebp - 7], al
xor dh, cl
mov al, byte [ebp - 0x14]
xor al, cl
mov byte [ebp - 0xa], ah
mov byte [ebp - 6], al
lea eax, [ebp - 0xf]
push eax
mov byte [ebp - 5], 0
push edi
mov byte [ebp - 0xe], dl
mov byte [ebp - 0xd], ch
mov byte [ebp - 0xc], dh
mov byte [ebp - 5], 0
call dword [sym.imp.kerNEl32.DLl_GetProcAddress]
test eax, eax
je 0x100d4741
push esi
call eax
add esp, 4
movss xmm1, dword [0x101afbec]
movss xmm0, dword [0x101afe30]
call fcn.1015f110
movss xmm1, dword [0x101afbec]
movss dword [ebp - 0x34], xmm0
movss xmm0, dword [0x101afe30]
call fcn.1015f110
movss xmm1, dword [ebp - 0x34]
addss xmm1, xmm0
movss xmm0, dword [0x101afe30]
movss dword [ebp - 0x34], xmm1
movss xmm1, dword [0x101afbec]
call fcn.1015f110
movss xmm1, dword [0x101afbec]
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [0x101afe30]
call fcn.1015f110
movss xmm1, dword [ebp - 0x38]
addss xmm1, xmm0
push 0
movss dword [ebp - 0x38], xmm1
call fcn.101454f0
movss xmm0, dword [eax + 0xc]
mulss xmm0, dword [0x101afb40]
lea esi, [eax + 0xc]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x10], xmm0
call fcn.10160ee0
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x3c], xmm0
movsd xmm0, qword [ebp - 0x10]
call fcn.1015ff40
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [esi + 4]
mulss xmm0, dword [0x101afb40]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x10], xmm0
call fcn.10160ee0
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x2c], xmm0
movsd xmm0, qword [ebp - 0x10]
call fcn.1015ff40
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm0
movss xmm0, dword [esi + 8]
mulss xmm0, dword [0x101afb40]
movss dword [ebp - 0x40], xmm2
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x10], xmm0
call fcn.10160ee0
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x48], xmm0
movsd xmm0, qword [ebp - 0x10]
call fcn.1015ff40
movss xmm1, dword [ebp - 0x2c]
xorps xmm3, xmm3
mulss xmm1, dword [ebp - 0x30]
movss xmm4, dword [0x101b1470]
movss xmm7, dword [ebp - 0x40]
movss xmm6, dword [ebp - 0x48]
cvtsd2ss xmm3, xmm0
movss dword [ebp - 0x54], xmm1
movaps xmm0, xmm7
movss xmm1, dword [ebp - 0x3c]
mulss xmm0, dword [ebp - 0x30]
xorps xmm1, xmm4
movss dword [ebp - 8], xmm1
movaps xmm1, xmm3
mulss xmm1, dword [0x101afe40]
movss dword [ebp - 0x44], xmm3
movss xmm3, dword [ebp - 0x2c]
movss dword [ebp - 0x28], xmm1
xorps xmm3, xmm4
movaps xmm1, xmm6
movss dword [ebp - 0x50], xmm0
mulss xmm1, dword [ebp - 0x3c]
movaps xmm5, xmm3
mulss xmm5, dword [ebp - 0x28]
movaps xmm0, xmm1
mulss xmm0, xmm7
mulss xmm1, dword [ebp - 0x2c]
subss xmm5, xmm0
lea eax, [ebp - 0x10]
movss xmm0, dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
mulss xmm0, xmm7
movaps xmm7, xmm6
push eax
mulss xmm7, dword [0x101afe40]
subss xmm0, xmm1
mulss xmm3, xmm6
movss xmm1, dword [ebp - 0x44]
mulss xmm1, dword [ebp - 0x3c]
mulss xmm6, dword [ebp - 0x40]
movss dword [ebp - 0x28], xmm0
movaps xmm0, xmm1
mulss xmm1, dword [ebp - 0x2c]
mulss xmm0, dword [ebp - 0x40]
mulss xmm7, dword [ebp - 0x30]
subss xmm1, xmm6
movss xmm6, dword [ebp - 0x4c]
subss xmm0, xmm3
movss xmm3, dword [ebp - 0x38]
xorps xmm6, xmm4
movss xmm4, dword [ebp - 0x34]
movss xmm2, dword [ebp - 0x44]
mulss xmm2, dword [ebp - 0x30]
mulss xmm4, xmm6
mulss xmm3, xmm6
mulss xmm5, xmm4
mulss xmm0, xmm3
addss xmm5, dword [ebp - 0x50]
mulss xmm7, xmm4
mulss xmm1, xmm3
addss xmm7, dword [ebp - 8]
addss xmm5, xmm0
mulss xmm2, xmm3
movss xmm0, dword [ebp - 0x28]
mulss xmm0, xmm4
addss xmm7, xmm2
movss dword [ebp - 0x24], xmm5
addss xmm0, dword [ebp - 0x54]
movss dword [ebp - 0x1c], xmm7
addss xmm0, xmm1
movss dword [ebp - 0x20], xmm0
call fcn.1014e0c0
push 0
mov esi, eax
call fcn.101454f0
mov ecx, dword [esi]
mov dword [eax + 0xc], ecx
mov ecx, dword [esi + 4]
mov dword [eax + 0x10], ecx
mov ecx, dword [esi + 8]
mov dword [eax + 0x14], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x101c6e1c
call fcn.100774e5
add esp, 4
cmp dword [0x101c6e1c], 0xffffffff
jne 0x100d4510
push 0x101c6e1c
mov dword [0x101c6e14], 0
call fcn.1007749b
add esp, 4
jmp 0x100d4510
push 0x101c6e1c
call fcn.100774e5
add esp, 4
cmp dword [0x101c6e1c], 0xffffffff
jne 0x100d4632
push 0x101c6e1c
mov dword [0x101c6e14], 0
call fcn.1007749b
add esp, 4
jmp 0x100d4632