Function at 0x439ef0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6403
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push esi
push edi
mov eax, dword [0x4ed310]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x94]
call fcn.00474d30
xor ebx, ebx
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x94]
call fcn.00438fd0
mov esi, eax
mov dword [ebp - 0x10], esi
cmp esi, 1
jne 0x43a127
mov esi, dword [ebp + 8]
mov edi, dword [0x4e89f0]
cmp esi, ebx
je 0x439f65
push ebx
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x50], 0x4bd6d0
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov byte [ebp - 4], 1
cmp byte [ebp + 0xc], bl
je 0x439fc5
mov eax, dword [0x4f1110]
add eax, 0x10
lea ecx, [ebp - 0x50]
push eax
mov dword [ebp + 8], ecx
mov dword [ebp - 0x58], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x4ef2ec]
lea edx, [ebp + 8]
mov dword [ebp - 0x14], eax
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.0043ee90
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [ebp + 0xc]
mov ecx, dword [0x4ef2ac]
push edx
call fcn.0048af20
mov eax, dword [0x4ef2ac]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x439ff4
mov ecx, dword [0x4ef2ac]
push ebx
push esi
call fcn.00439170
mov edx, dword [0x4ef2ac]
mov eax, dword [edx + 4]
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xa3
call fcn.004966e0
mov ecx, dword [0x4ef2ac]
mov edx, dword [ecx + 4]
add esp, 4
push eax
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [0x4ef2ac]
call fcn.0048b010
mov ecx, dword [0x4ef2ac]
push 0x4efe40
call fcn.0048af00
mov ecx, dword [0x4ef2ac]
push esi
call fcn.0048af10
call fcn.0043d600
mov ecx, dword [0x4ef2ac]
push edi
call fcn.0048cd60
mov esi, dword [0x4ef2ac]
mov edi, dword [esi + 0x20]
add esi, 0x20
push 0x8a
call fcn.004966e0
push eax
mov eax, dword [edi + 0xc]
push esi
call eax
push 1
mov dword [ebp - 0x18], ebx
call fcn.0049964e
add esp, 0x10
cmp eax, ebx
je 0x43a08f
mov byte [eax], 1
jmp 0x43a091
xor eax, eax
lea ecx, [ebp - 0x18]
push ecx
push ebx
push eax
push 0x438640
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp byte [ebp + 0xc], bl
je 0x43a0eb
lea ecx, [ebp - 0x50]
call fcn.004383c0
mov ecx, 0x4ef2b8
mov esi, eax
call fcn.004393b0
mov eax, dword [ebp - 0x40]
cmp eax, ebx
je 0x43a0d0
push eax
call fcn.004993aa
add esp, 4
mov dword [ebp - 0x40], ebx
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
cmp eax, ebx
je 0x43a121
push eax
call fcn.004993aa
add esp, 4
mov dword [ebp - 0x4c], ebx
jmp 0x43a121
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x40]
cmp eax, ebx
je 0x43a105
push eax
call fcn.004993aa
add esp, 4
mov dword [ebp - 0x40], ebx
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
cmp eax, ebx
je 0x43a11e
push eax
call fcn.004993aa
add esp, 4
mov dword [ebp - 0x4c], ebx
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.00474ca0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8