Function at 0x4948a7
Capabilities:
Create thread

Disassembly:
push 0x3c
mov eax, 0x5e6486
call fcn.00593b07
mov ebx, ecx
mov eax, dword [ebx + 0x10c]
xor ecx, ecx
mov dword [ebx + 0xfc], ecx
cmp eax, 0xffffffff
je 0x494d60
cmp eax, 2
jne 0x494929
xor eax, eax
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x38]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x30]
xorps xmm0, xmm0
sub eax, dword [ebp - 0x38]
mov dword [ebx + 0x44], eax
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
push ecx
push ecx
mov dword [ebx + 0x48], eax
mov eax, esp
push ecx
push 0x50000000
push str.8FCFE185_3672_4A15_8598_79DB8B9E5884
and dword [eax], 0
push ecx
mov eax, esp
lea ecx, [ebp - 0x20]
movups xmmword [ebp - 0x20], xmm0
push 0xfffffffffffffffd
mov dword [eax], ecx
lea ecx, [ebx + 8]
call fcn.0049ca78
mov al, 1
jmp 0x494d62
test eax, eax
jne 0x494d60
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ecx
call esi
push 1
mov edi, eax
call esi
mov ecx, dword [ebp + 8]
mov esi, eax
mov dword [ebx + 0x6c], ecx
mov cl, byte [ebp + 0xc]
mov byte [ebx + 0x70], cl
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebx + 0x5c], 0
jne 0x494969
mov ecx, eax
mov dword [ebx + 0x44], edi
mov dword [ebx + 0x48], esi
call fcn.004cbc1d
jmp 0x49497a
movd xmm0, dword [ebx + 0x60]
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x66fbb0]
push ecx
push ecx
movsd qword [esp], xmm0
push esi
push edi
push 0x5b3
push str.ScreenSaverFrame::CreateFrame
push str.__s__d___m_szWindowx___d_m_szWindowy_d_dScale_f
movsd qword [ebp - 0x48], xmm0
call fcn.0040a649
movsd xmm1, qword [ebp - 0x48]
add esp, 0x1c
comisd xmm1, xmmword [0x66fb68]
jb 0x494a39
cmp dword [ebx + 0x5c], 0
push ecx
push ecx
jne 0x4949f8
movsd qword [esp], xmm1
push 0x5b7
push str.ScreenSaverFrame::CreateFrame
push str.__s__d___m_szWindowx___f
call fcn.0040a649
movd xmm0, edi
add esp, 0xc
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [ebp - 0x48]
movsd qword [esp], xmm0
call fcn.005be840
call fcn.005d8700
movd xmm0, esi
jmp 0x494a19
movd xmm0, dword [ebx + 0x44]
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.005be840
call fcn.005d8700
movd xmm0, dword [ebx + 0x48]
cvtdq2pd xmm0, xmm0
mov dword [ebx + 0x44], eax
divsd xmm0, qword [ebp - 0x48]
movsd qword [esp], xmm0
call fcn.005be840
pop ecx
pop ecx
call fcn.005d8700
mov dword [ebx + 0x48], eax
push dword [ebx + 0x48]
mov edi, str.ScreenSaverFrame::CreateFrame
push dword [ebx + 0x44]
push 0x5c3
push edi
push str.__s__d___later_m_szWindowx___d_m_szWindowy_d
call fcn.0040a649
add esp, 0x14
lea ecx, [ebp - 0x40]
push str.8AA25190_0DFF_471C_BBAB_AFCF6F1F970C
call fcn.0040b0d5
and dword [ebp - 4], 0
call fcn.004c4cd0
test eax, eax
je 0x494a87
mov esi, str.2767ECAD_4280_4886_B88F_D904E45F9611
push esi
call fcn.005baec0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.0040b566
cmp dword [ebx + 0x5c], 1
jne 0x494a94
mov esi, str.29E906C9_5160_4872_BFD0_53BD7D55FDED
jmp 0x494a9f
cmp dword [ebx + 0x5c], 2
jne 0x494ab0
mov esi, str.54FB661F_9BFB_43CA_A865_9C7B26F168E1
push esi
call fcn.005baec0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.0040b566
push ecx
push ecx
mov eax, esp
xorps xmm0, xmm0
push ecx
push accept
and dword [eax], 0
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
movups xmmword [ebp - 0x20], xmm0
cmovae eax, dword [ebp - 0x40]
push eax
push ecx
mov eax, esp
lea ecx, [ebp - 0x20]
push 0
mov dword [eax], ecx
lea ecx, [ebx + 8]
call fcn.0049ca78
push 0x5d1
push edi
push str.__s__d____CreateFrame_wnd_ok
call fcn.0040a649
add esp, 0xc
cmp byte [ebx + 0x70], 0
je 0x494c94
mov eax, dword [ebx + 0x6c]
test eax, eax
je 0x494b16
cmp eax, 1
je 0x494b16
lea esi, [ebx + 0xe8]
jmp 0x494b97
push str.fe724f07116933a6f469fccc9041383e
lea ecx, [ebp - 0x28]
call fcn.004045aa
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
lea esi, [ebx + 0xe8]
push eax
mov ecx, esi
call fcn.004058dc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00404812
push str.8b1129c48b332aed3d35fdf444965f37
lea ecx, [ebp - 0x28]
call fcn.004045aa
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
mov ecx, esi
call fcn.004058dc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00404812
push str.45422bd3afd408b887e991977c7491a1
lea ecx, [ebp - 0x28]
call fcn.004045aa
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
mov ecx, esi
call fcn.004058dc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00404812
mov eax, dword [ebx + 0x6c]
cmp eax, 2
jne 0x494c17
push str.8b1129c48b332aed3d35fdf444965f37
lea ecx, [ebp - 0x28]
call fcn.004045aa
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
mov ecx, esi
call fcn.004058dc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00404812
push str.fe724f07116933a6f469fccc9041383e
lea ecx, [ebp - 0x28]
call fcn.004045aa
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
mov ecx, esi
call fcn.004058dc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00404812
push str.45422bd3afd408b887e991977c7491a1
lea ecx, [ebp - 0x28]
call fcn.004045aa
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
push eax
mov ecx, esi
call fcn.004058dc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00404812
mov eax, dword [ebx + 0x6c]
cmp eax, 3
jne 0x494c94
push str.45422bd3afd408b887e991977c7491a1
lea ecx, [ebp - 0x28]
call fcn.004045aa
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
mov ecx, esi
call fcn.004058dc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00404812
push str.fe724f07116933a6f469fccc9041383e
lea ecx, [ebp - 0x28]
call fcn.004045aa
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 8
push eax
mov ecx, esi
call fcn.004058dc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00404812
push str.8b1129c48b332aed3d35fdf444965f37
lea ecx, [ebp - 0x28]
call fcn.004045aa
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 9
push eax
mov ecx, esi
call fcn.004058dc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00404812
mov ecx, ebx
call fcn.0049478c
call fcn.004c4cd0
test eax, eax
jne 0x494cec
push 0x5ee
push edi
push str.__s__d___begin_LoadIniDll_thread
call fcn.0040a649
xor ecx, ecx
lea eax, [ebp - 0x44]
push eax
push ecx
push ebx
push 0x49af9c
push ecx
push ecx
mov dword [ebp - 0x44], ecx
call fcn.005bb02f
add esp, 0x24
test eax, eax
je 0x494cdf
push 0x5f3
push edi
push str.__s__d___begin_LoadIniDll_thread_success
jmp 0x494cf7
push 0x5f7
push edi
push str.__s__d___begin_LoadIniDll_thread_failed
jmp 0x494cf7
push 0x5fd
push edi
push str.__s__d___dont_begin_LoadIniDll_thread
call fcn.0040a649
mov eax, dword [ebx + 0xc]
add esp, 0xc
mov esi, dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x6e4dc8], eax
push 0
push 0x2bf20
push 0x3ee
push eax
call esi
call fcn.00431d55
push 0
push 0x5dc
push 0x3f5
push dword [ebx + 0xc]
call esi
mov ecx, dword [ebx + 0xc]
call fcn.0045f394
push 0x606
push edi
push str.__s__d___return_CreateFrame_ok
mov byte [ebx + 0x174], al
call fcn.0040a649
add esp, 0xc
lea ecx, [ebp - 0x40]
call fcn.0040b67e
jmp 0x494922
xor al, al
call fcn.00593ab1
ret 0xc