Function at 0x493d18
Capabilities:
Create thread

Disassembly:
push 0x3c
mov eax, 0x5e4820
call fcn.00592017
mov ebx, ecx
mov eax, dword [ebx + 0x10c]
xor ecx, ecx
mov dword [ebx + 0xfc], ecx
cmp eax, 0xffffffff
je 0x4941d1
cmp eax, 2
jne 0x493d9a
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.0049bdbf
mov al, 1
jmp 0x4941d3
test eax, eax
jne 0x4941d1
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 0x493dda
mov ecx, eax
mov dword [ebx + 0x44], edi
mov dword [ebx + 0x48], esi
call fcn.004ca155
jmp 0x493deb
movd xmm0, dword [ebx + 0x60]
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x66d568]
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 [0x66d520]
jb 0x493eaa
cmp dword [ebx + 0x5c], 0
push ecx
push ecx
jne 0x493e69
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.005bcd50
call fcn.005d6c10
movd xmm0, esi
jmp 0x493e8a
movd xmm0, dword [ebx + 0x44]
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.005bcd50
call fcn.005d6c10
movd xmm0, dword [ebx + 0x48]
cvtdq2pd xmm0, xmm0
mov dword [ebx + 0x44], eax
divsd xmm0, qword [ebp - 0x48]
movsd qword [esp], xmm0
call fcn.005bcd50
pop ecx
pop ecx
call fcn.005d6c10
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.004c3599
test eax, eax
je 0x493ef8
mov esi, str.2767ECAD_4280_4886_B88F_D904E45F9611
push esi
call fcn.005b93d0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.0040b566
cmp dword [ebx + 0x5c], 1
jne 0x493f05
mov esi, str.29E906C9_5160_4872_BFD0_53BD7D55FDED
jmp 0x493f10
cmp dword [ebx + 0x5c], 2
jne 0x493f21
mov esi, str.54FB661F_9BFB_43CA_A865_9C7B26F168E1
push esi
call fcn.005b93d0
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.0049bdbf
push 0x5d1
push edi
push str.__s__d____CreateFrame_wnd_ok
call fcn.0040a649
add esp, 0xc
cmp byte [ebx + 0x70], 0
je 0x494105
mov eax, dword [ebx + 0x6c]
test eax, eax
je 0x493f87
cmp eax, 1
je 0x493f87
lea esi, [ebx + 0xe8]
jmp 0x494008
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 0x494088
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 0x494105
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.00493c01
call fcn.004c3599
test eax, eax
jne 0x49415d
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 0x49a2e3
push ecx
push ecx
mov dword [ebp - 0x44], ecx
call fcn.005b953f
add esp, 0x24
test eax, eax
je 0x494150
push 0x5f3
push edi
push str.__s__d___begin_LoadIniDll_thread_success
jmp 0x494168
push 0x5f7
push edi
push str.__s__d___begin_LoadIniDll_thread_failed
jmp 0x494168
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 [0x6e1d78], eax
push 0
push 0x2bf20
push 0x3ee
push eax
call esi
call fcn.00431d52
push 0
push 0x5dc
push 0x3f5
push dword [ebx + 0xc]
call esi
mov ecx, dword [ebx + 0xc]
call fcn.0045eae3
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.0040b67b
jmp 0x493d93
xor al, al
call fcn.00591fc1
ret 0xc