Function at 0x1003d0f0
Capabilities:
Hide graphical window

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
push 0xffffffffffffffff
push 0x100a17ad
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
push esi
push edi
mov eax, dword [0x100c50e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x538]
cmp dword [ecx + 4], 0
je 0x1003d160
mov eax, dword [ecx]
call dword [eax + 0x20]
mov edi, dword [esi + 0x538]
mov eax, dword [edi + 4]
test eax, eax
je 0x1003d152
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [edi + 4], 0
mov byte [esi + 0x4ec], 0
mov al, byte [esi + 0x5cc]
mov edi, dword [esi + 0xf4]
mov byte [ebp - 0x11], al
test al, al
je 0x1003d18b
mov eax, dword [edi + 0x122c]
mov ecx, dword [edi + 0x1228]
mov dword [esi + 0x5f0], eax
mov dword [esi + 0x5f4], ecx
cmp dword [esi + 0xd0], 0
je 0x1003d1bc
mov eax, dword [esi]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, esi
mov eax, dword [eax + 8]
call eax
movsd xmm1, qword [ebx + 0xc]
movsd xmm0, qword [ebx + 0x14]
addsd xmm1, qword [eax]
addsd xmm0, qword [eax + 8]
unpcklpd xmm1, xmm0
movups xmmword [ebx + 0xc], xmm1
mov eax, dword [esi]
lea ecx, [ebp - 0x18]
push ecx
mov ecx, esi
call dword [eax + 0x100]
mov dword [ebp - 4], 0
mov eax, dword [esi + 0xb8]
test eax, eax
je 0x1003d1e3
mov ecx, dword [eax + 0x1e4]
jmp 0x1003d1e5
xor ecx, ecx
movups xmm0, xmmword [ebx + 0xc]
sub esp, 0x10
mov edx, 0x1240
cmp byte [ebp - 0x11], 0
mov eax, esp
movups xmmword [eax], xmm0
mov eax, 0xf70
cmovne eax, edx
mov edx, dword [esi + 0x60]
add eax, edi
add edx, edx
push eax
push dword [ebp - 0x18]
mov eax, dword [esi + 0x38]
push ecx
push dword [ebx + 8]
lea ecx, [esi + 0x558]
push dword [esi + 0x128]
push dword [eax + edx*8]
lea eax, [ebp - 0x38]
push eax
call fcn.10037240
mov eax, dword [esi]
lea ecx, [ebp - 0x58]
push ecx
mov ecx, esi
call dword [eax + 0x1c]
movsd xmm3, qword [ebp - 0x20]
movsd xmm2, qword [ebp - 0x30]
movaps xmm5, xmm3
movsd xmm1, qword [ebp - 0x40]
subsd xmm5, xmm2
movsd xmm4, qword [ebp - 0x50]
cvttsd2si eax, xmm5
add eax, dword [esi + 0x128]
comisd xmm3, xmm1
jbe 0x1003d289
movaps xmm0, xmm1
subsd xmm0, xmm4
comisd xmm0, xmm5
jbe 0x1003d289
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm2, xmm0
subsd xmm3, xmm0
movsd qword [ebp - 0x30], xmm2
movsd qword [ebp - 0x20], xmm3
comisd xmm4, xmm2
jbe 0x1003d2bd
movaps xmm0, xmm3
subsd xmm1, xmm4
subsd xmm0, xmm2
comisd xmm1, xmm0
jbe 0x1003d2bd
movd xmm1, eax
cvtdq2pd xmm1, xmm1
movaps xmm0, xmm1
addsd xmm1, xmm3
addsd xmm0, xmm2
movsd qword [ebp - 0x20], xmm1
movsd qword [ebp - 0x30], xmm0
movups xmm0, xmmword [ebp - 0x38]
mov edx, dword [esi]
sub esp, 0x20
mov eax, esp
mov ecx, esi
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [eax + 0x10], xmm0
call dword [edx + pe_nt_image_headers32]
movups xmm0, xmmword [ebp - 0x38]
sub esp, 0x20
lea ecx, [esi + 0x5d0]
mov eax, esp
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [eax + 0x10], xmm0
lea eax, [esi + 0xc0]
push eax
call fcn.10022c40
push 4
push dword [esi + 0x5d4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push dword [esi + 0x5d4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1003d32c
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x14