Function at 0x41b700
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e58d8
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x50e5d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa0], ecx
mov ecx, dword [ebp - 0xa0]
call fcn.004213b0
lea ecx, [ebp - 0x1c]
call dword [sym.imp.ui_d.dll_public:_void___thiscall_DuiLib::CDuiRect::constructor_void_]
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x258
call fcn.004a2ef5
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0
je 0x41b7be
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x34]
mov dword [ecx], edx
mov eax, dword [ebp - 0x30]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x2c]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x28]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0xa0]
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.00406600
mov dword [ebp - 0xa4], eax
jmp 0x41b7c8
mov dword [ebp - 0xa4], 0
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
mov dword [0x51a16c], eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x96c80000
push 0x4f1bba
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx + 4]
push edx
mov ecx, dword [0x51a16c]
call dword [sym.imp.ui_d.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____char_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HMENU____]
push 1
push 0
mov ecx, dword [0x51a16c]
call dword [sym.imp.ui_d.dll_public:_void___thiscall_DuiLib::CWindowWnd::ShowWindow_bool__bool_]
push 0x2a4
call fcn.004a2ef5
add esp, 4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x3c], 0
je 0x41b884
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x40], eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x4c]
mov dword [ecx], edx
mov eax, dword [ebp - 0x48]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x44]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x40]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0xa0]
push ecx
mov ecx, dword [ebp - 0x3c]
call fcn.004096e0
mov dword [ebp - 0xa8], eax
jmp 0x41b88e
mov dword [ebp - 0xa8], 0
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0x38], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x38]
mov dword [0x51a178], eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x96c80000
push 0x4f1bbb
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx + 4]
push edx
mov ecx, dword [0x51a178]
call dword [sym.imp.ui_d.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____char_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HMENU____]
push 1
push 0
mov ecx, dword [0x51a178]
call dword [sym.imp.ui_d.dll_public:_void___thiscall_DuiLib::CWindowWnd::ShowWindow_bool__bool_]
push 0x280
call fcn.004a2ef5
add esp, 4
mov dword [ebp - 0x54], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x54], 0
je 0x41b94a
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x58], eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x64]
mov dword [ecx], edx
mov eax, dword [ebp - 0x60]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x5c]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x58]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0xa0]
push ecx
mov ecx, dword [ebp - 0x54]
call fcn.00408f30
mov dword [ebp - 0xac], eax
jmp 0x41b954
mov dword [ebp - 0xac], 0
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0x50], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x50]
mov dword [0x51a17c], eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x96c80000
push 0x4f1bc1
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx + 4]
push edx
mov ecx, dword [0x51a17c]
call dword [sym.imp.ui_d.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____char_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HMENU____]
push 1
push 0
mov ecx, dword [0x51a17c]
call dword [sym.imp.ui_d.dll_public:_void___thiscall_DuiLib::CWindowWnd::ShowWindow_bool__bool_]
push 0x244
call fcn.004a2ef5
add esp, 4
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], 3
cmp dword [ebp - 0x6c], 0
je 0x41ba10
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x70], eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x7c]
mov dword [ecx], edx
mov eax, dword [ebp - 0x78]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x74]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x70]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0xa0]
push ecx
mov ecx, dword [ebp - 0x6c]
call fcn.0040e520
mov dword [ebp - 0xb0], eax
jmp 0x41ba1a
mov dword [ebp - 0xb0], 0
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0x68], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x68]
mov dword [0x51a174], eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x96c80000
push 0x4f1bc2
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx + 4]
push edx
mov ecx, dword [0x51a174]
call dword [sym.imp.ui_d.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____char_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HMENU____]
push 1
push 0
mov ecx, dword [0x51a174]
call dword [sym.imp.ui_d.dll_public:_void___thiscall_DuiLib::CWindowWnd::ShowWindow_bool__bool_]
push 0x230
call fcn.004a2ef5
add esp, 4
mov dword [ebp - 0x84], eax
mov dword [ebp - 4], 4
cmp dword [ebp - 0x84], 0
je 0x41baf7
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x88], eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x94]
mov dword [ecx], edx
mov eax, dword [ebp - 0x90]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x8c]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x88]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0xa0]
push ecx
mov ecx, dword [ebp - 0x84]
call fcn.0040f8b0
mov dword [ebp - 0xb4], eax
jmp 0x41bb01
mov dword [ebp - 0xb4], 0
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0x80], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x80]
mov dword [0x51a170], eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x96c80000
push 0x4f1bc3
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx + 4]
push edx
mov ecx, dword [0x51a170]
call dword [sym.imp.ui_d.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____char_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HMENU____]
push 1
push 0
mov ecx, dword [0x51a170]
call dword [sym.imp.ui_d.dll_public:_void___thiscall_DuiLib::CWindowWnd::ShowWindow_bool__bool_]
push 0x2d4
call fcn.004a2ef5
add esp, 4
mov dword [ebp - 0x9c], eax
mov dword [ebp - 4], 5
cmp dword [ebp - 0x9c], 0
je 0x41bb92
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0x9c]
call fcn.00410bc0
mov dword [ebp - 0xb8], eax
jmp 0x41bb9c
mov dword [ebp - 0xb8], 0
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0x98], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x98]
mov dword [0x51a180], edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0x96c80000
push 0x4f1bca
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [0x51a180]
call dword [sym.imp.ui_d.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____char_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HMENU____]
push 1
push 0
mov ecx, dword [0x51a180]
call dword [sym.imp.ui_d.dll_public:_void___thiscall_DuiLib::CWindowWnd::ShowWindow_bool__bool_]
push 0
push 0
mov edx, dword [0x51a180]
push edx
push 0x41b090
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret