Function at 0x416e60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x460
mov eax, dword [0x4a12d8]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, edx
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x414], ecx
mov ecx, 1
mov dword [ebx], esi
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x28], esi
mov dword [ebx + 0x2c], esi
mov dword [ebx + 0x110], esi
mov dword [ebx + 0x118], esi
mov dword [ebx + 0x11c], ecx
mov dword [ebx + 0x120], esi
mov dword [ebx + 0x124], esi
mov dword [ebx + 0x128], esi
mov dword [ebx + 0x12c], esi
mov dword [ebx + 0x130], esi
mov dword [ebx + 0x134], esi
mov dword [ebx + 0x14c], esi
mov dword [ebx + 0x150], esi
mov dword [ebx + 0x154], esi
mov dword [ebx + 0x158], ecx
mov dword [ebx + 0x15c], ecx
mov dword [ebx + 0x160], ecx
mov dword [ebx + 0x198], esi
mov dword [ebx + 0x19c], esi
mov dword [ebx + 0x1a8], esi
mov dword [ebx + 0x1ac], esi
mov dword [ebx + 0x1a4], edi
mov dword [ebx + 0x1a0], eax
mov dword [ebx + 0xc], esi
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], esi
push edi
mov dword [ebp - 0x424], edi
mov dword [ebp - 0x41c], eax
mov dword [ebx + 8], esi
mov dword [ebx + 4], esi
call dword [sym.imp.libssclient.dll_ss_window_screen_size_get]
mov eax, dword [ebp - 0x414]
add esp, 4
push 0x200
lea edx, [ebp - 0x40c]
push edx
push 0xffffffffffffffff
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push ebx
lea ecx, [ebp - 0x40c]
mov edx, eax
call fcn.00416ce0
push 1
push eax
mov dword [ebx], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.libssclient.dll_ss_window_frame_size_get]
mov ecx, dword [ebx]
add esp, 4
mov edi, ebx
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x414], edx
mov dword [ebp - 0x410], ecx
call fcn.00416450
mov edi, dword [ebp - 0x420]
mov edx, dword [ebx + 0x178]
push edi
push 0x20
call edx
push 0x38
lea eax, [ebp - 0x45c]
push esi
push eax
call sub.MSVCR100.dll_memset
mov ecx, dword [ebp - 0x410]
add esp, 0xc
mov eax, 1
mov dword [ebp - 0x43c], eax
mov dword [ebp - 0x444], eax
mov eax, dword [edi]
mov dword [ebp - 0x440], ecx
lea edi, [ebx + 4]
push edi
push esi
lea ecx, [ebp - 0x45c]
push ecx
mov ecx, dword [ebp - 0x410]
push 0x40
push ecx
push 1
mov dword [ebp - 0x428], Ordinal_2
mov edx, dword [eax]
mov edx, dword [edx + 0x50]
push esi
push eax
call edx
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
mov dword [ebx + 0x130], eax
mov dword [ebx + 0x134], ecx
cmp dword [edi], esi
je 0x417037
call fcn.00416680
mov edi, dword [ebp - 0x424]
push 4
push edi
call dword [sym.imp.libssclient.dll_ss_window_frame_forced_type_set]
push ebx
push 0x418660
push edi
call dword [sym.imp.libssclient.dll_ss_window_cb_property_changed_set]
add esp, 0x14
push ebx
push 0x418680
push edi
call dword [sym.imp.libssclient.dll_ss_window_cb_delete_window_set]
add esp, 0xc
push ebx
push 0x418640
push edi
call dword [sym.imp.libssclient.dll_ss_window_cb_new_frame_set]
add esp, 0xc
push esi
push edi
call dword [sym.imp.libssclient.dll_ss_window_schema_current_set]
push edi
mov dword [ebx + 0x1a8], esi
mov dword [ebx + 0x1ac], esi
call dword [sym.imp.libssclient.dll_ss_window_schema_current_get]
add esp, 0xc
push eax
push edi
call dword [sym.imp.libssclient.dll_ss_window_schema_ith_get]
add esp, 8
mov dword [ebx + 0x114], eax
cmp eax, esi
je 0x417159
push eax
call dword [sym.imp.libssclient.dll_ss_one_schema_widget_amount_get]
add esp, 4
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x410], esi
cmp eax, esi
jbe 0x417159
mov edx, dword [ebp - 0x41c]
add edx, 0x214
mov dword [ebp - 0x414], edx
mov eax, dword [ebp - 0x410]
mov ecx, dword [ebx + 0x114]
push eax
push ecx
call dword [sym.imp.libssclient.dll_ss_one_schema_widget_ith_get]
mov edi, eax
add esp, 8
cmp edi, esi
je 0x41713e
push edi
call dword [sym.imp.libssclient.dll_ss_one_widget_type_get]
add esp, 4
dec eax
je 0x417138
sub eax, 2
je 0x417130
sub eax, 2
jne 0x41713e
mov eax, dword [ebp - 0x414]
mov dword [eax], edi
add eax, 4
mov dword [ebp - 0x414], eax
mov eax, dword [ebp - 0x41c]
inc dword [eax + 0x224]
jmp 0x41713e
mov dword [ebx + 0x1a8], edi
jmp 0x41713e
mov dword [ebx + 0x1ac], edi
mov eax, dword [ebp - 0x410]
inc eax
mov dword [ebp - 0x410], eax
cmp eax, dword [ebp - 0x420]
jb 0x4170dd
mov edi, dword [ebp - 0x424]
mov ecx, dword [ebx + 0x1ac]
push edi
mov edi, dword [ebx]
call fcn.0040e940
add esp, 4
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, dword [ebp - 0x41c]
mov dword [ebx + 0x148], eax
mov dword [ebx + 0x194], 0xffffffff
mov dword [ebx + 0x1d4], esi
cmp dword [edi + 0x224], esi
jle 0x4171ad
push esi
push esi
push ebx
push 0x40ef30
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 0x194], eax
push 0x2000
push esi
push esi
push esi
push 0xa0
push esi
mov dword [ebx + 0x1d0], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
lea edx, [ebx + 0xf8]
push edx
push 0x18
push eax
mov dword [ebx + 0x110], eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebx]
push eax
mov eax, edi
call fcn.00415f20
mov ecx, dword [ebp - 8]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0043e590
mov esp, ebp
pop ebp
ret 0xc