Function at 0x42dd40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1b18
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4cc99c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, ecx
mov edi, dword [esi + 4]
mov dword [ebp - 0x4c], ebx
cmp dword [0x4e9d14], ebx
jne 0x42dd8c
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x4e9d14], eax
lea eax, [ebp - 0x4c]
push eax
push ebx
push edi
push 0x41b100
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esi + 0x2694], bl
jne 0x42ddb7
mov ecx, esi
call fcn.0042db00
jmp 0x42ddd5
mov ecx, dword [esi + 4]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, dword [esi + 4]
and eax, 0x80
push eax
push 0xffffffffffffffec
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
cmp byte [esi + 0x2694], bl
je 0x42df0d
mov ecx, dword [esi + 0x2690]
cmp ecx, ebx
je 0x42df0d
mov eax, dword [esi + 4]
push eax
call fcn.0044c950
mov edi, 7
xor ecx, ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
mov dword [ebp - 4], ebx
xor edx, edx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
mov eax, dword [esi + 0x2690]
push ecx
call fcn.0044cd50
push ebx
call fcn.0042b860
push ebx
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4c], esp
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x2c]
xor edx, edx
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push eax
mov word [ecx], dx
call fcn.00402530
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x50], esp
push 0xffffffffffffffff
mov byte [ebp - 4], 2
push ebx
lea eax, [ebp - 0x48]
xor edx, edx
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push eax
mov word [ecx], dx
call fcn.00402530
push esi
mov byte [ebp - 4], 1
call fcn.00420fc0
mov edi, dword [esi + 0x2690]
mov ecx, dword [edi + 4]
push 1
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [edi + 4]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff3fffff
or eax, 0x6000000
push eax
mov eax, dword [edi + 4]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 1
push ebx
mov ecx, esi
call dword [sym.imp.HFUILib.dll_public:_void___thiscall_CWindowWnd::ShowWindow_bool__bool_]
mov ecx, dword [esi + 4]
push ebx
push 0x32
push 0x83e
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov edi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x42deef
mov edx, dword [ebp - 0x2c]
push edx
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], esi
jb 0x42df0d
mov ecx, dword [ebp - 0x48]
push ecx
call edi
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00497792
mov esp, ebp
pop ebp
ret