Function at 0x404b96
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [ebp + 0x138]
push ebx
cmp eax, 0xffffffff
push esi
je 0x404f26
imul eax, eax, 0x3c
xor ebx, ebx
cmp dword [eax + 0x429e64], ebx
je 0x404e07
push 4
call fcn.00418119
test eax, eax
pop ecx
jne 0x404f26
mov eax, dword [0x4323f0]
push edi
mov edi, 0x43bf74
push 0x104
push edi
push ebx
mov dword [0x43c184], eax
mov dword [0x43c180], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x103
mov esi, 0x43c078
push 0x43246c
push esi
call fcn.00419e20
mov eax, dword [ebp + 0x118]
add esp, 0xc
cmp byte [ebp + 0x98], bl
mov dword [0x43bf70], eax
mov eax, dword [ebp + 0x140]
push 0x7f
mov dword [0x43c208], eax
jne 0x404c49
lea eax, [ebp + 0x18]
push eax
push 0x43c188
call fcn.00419e20
add esp, 0xc
mov dword [0x43c20c], 1
jmp 0x404c63
lea eax, [ebp + 0x98]
push eax
push 0x43c188
call fcn.00419e20
add esp, 0xc
mov dword [0x43c20c], ebx
push esi
push edi
push dword [0x43c184]
lea eax, [ebp - 0x204]
push 0x42a5f4
push eax
call fcn.00418f47
push ebx
lea eax, [ebp - 0x204]
push 4
push eax
call fcn.00417ed1
add esp, 0x20
mov dword [0x43c17c], eax
lea eax, [ebp - 4]
push eax
push ebx
push 0x43bf70
push fcn.004179ea
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [0x43c17c]
imul ecx, ecx, 0x234
cmp eax, ebx
mov dword [ecx + 0x443bec], eax
je 0x404cd2
cmp dword [0x43c210], ebx
jne 0x404ced
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x404cc0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x204]
push 0x42a5c4
push eax
call fcn.00418f47
add esp, 0xc
lea eax, [ebp - 0x204]
push eax
call fcn.00405616
mov edi, 0x43c5cc
mov dword [esp], 0x104
push edi
push ebx
mov dword [0x43c7d8], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x103
mov esi, 0x43c6d0
push 0x43246c
push esi
call fcn.00419e20
mov eax, dword [ebp + 0x118]
add esp, 0xc
cmp byte [ebp + 0x98], bl
mov dword [0x43c5c8], eax
mov eax, dword [ebp + 0x140]
push 0x7f
mov dword [0x43c860], eax
jne 0x404d68
lea eax, [ebp + 0x18]
push eax
push 0x43c7e0
call fcn.00419e20
add esp, 0xc
mov dword [0x43c864], 1
jmp 0x404d82
lea eax, [ebp + 0x98]
push eax
push 0x43c7e0
call fcn.00419e20
add esp, 0xc
mov dword [0x43c864], ebx
push esi
push edi
push dword [0x43c7dc]
lea eax, [ebp - 0x204]
push 0x42a588
push eax
call fcn.00418f47
push ebx
lea eax, [ebp - 0x204]
push 5
push eax
call fcn.00417ed1
add esp, 0x20
mov dword [0x43c7d4], eax
lea eax, [ebp - 4]
push eax
push ebx
push 0x43c5c8
push 0x408814
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [0x43c7d4]
pop edi
imul ecx, ecx, 0x234
cmp eax, ebx
mov dword [ecx + 0x443bec], eax
je 0x404df6
cmp dword [0x43c868], ebx
jne 0x404f19
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x404de0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x42a55c
jmp 0x404f0a
cmp dword [eax + 0x429e68], ebx
je 0x404f26
push 3
call fcn.00418119
test eax, eax
pop ecx
jne 0x404f26
mov esi, 0x43c4a4
push 0x104
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
push esi
call fcn.00419df0
pop ecx
cmp eax, ebx
pop ecx
je 0x404e45
mov byte [eax], bl
mov eax, dword [0x4323f4]
mov dword [0x43c5bc], ebx
mov dword [0x43c5a8], eax
lea eax, [ebp + 0x18]
push eax
push 0x43c21c
call fcn.00418f47
mov eax, dword [ebp + 0x118]
pop ecx
pop ecx
mov dword [0x43c218], eax
mov ecx, dword [ebp + 0x140]
push esi
push dword [0x43c5a8]
mov dword [0x43c5b4], ecx
mov ecx, dword [ebp + 0x144]
push eax
mov dword [0x43c5b8], ecx
call fcn.0040cf12
pop ecx
push eax
lea eax, [ebp - 0x204]
push 0x42a524
push eax
call fcn.00418f47
push ebx
lea eax, [ebp - 0x204]
push 3
push eax
call fcn.00417ed1
add esp, 0x20
mov dword [0x43c5b0], eax
lea eax, [ebp - 4]
push eax
push ebx
push 0x43c218
push 0x408f2c
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [0x43c5b0]
imul ecx, ecx, 0x234
cmp eax, ebx
mov dword [ecx + 0x443bec], eax
je 0x404efe
cmp dword [0x43c5c4], ebx
jne 0x404f19
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x404eec
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x42a4f4
lea eax, [ebp - 0x204]
push eax
call fcn.00418f47
add esp, 0xc
lea eax, [ebp - 0x204]
push eax
call fcn.00405616
pop ecx
pop esi
pop ebx
leave
ret