Function at 0x41b750
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
jne 0x41b766
mov eax, 0xfffffffe
jmp 0x41ba56
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x110], 0
jg 0x41b7bb
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 4]
add edx, 0x148
push edx
push 0x1e
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.0041c220
add esp, 0x10
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x110], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x110], 0
je 0x41b7bb
mov eax, dword [ebp - 4]
push eax
call fcn.0041a020
add esp, 4
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x198], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x110], 0
jle 0x41b824
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x11a]
test edx, edx
jne 0x41b824
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1a8], 0
je 0x41b7ff
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1a8]
push edx
call fcn.0041fe99
add esp, 4
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x134]
imul edx, dword [ecx + 0x138]
push edx
call fcn.0041ff76
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1a8], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x110], 0
jg 0x41b876
mov eax, dword [ebp - 4]
cmp dword [eax + 0x128], 0xffff
jne 0x41b876
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x120], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x124], 0
mov eax, dword [ebp - 4]
mov ecx, dword [0x43fd44]
mov dword [eax + 0x128], ecx
mov edx, dword [ebp - 4]
mov eax, dword [0x43fd48]
mov dword [edx + 0x12c], eax
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 0x2dc]
cmp edx, 7
jl 0x41b894
mov eax, dword [ebp - 4]
mov dword [eax + 0x238], 0x14
jmp 0x41b8a1
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x238], 0x23
mov edx, dword [ebp - 4]
mov dword [edx + 0x240], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x240]
mov dword [eax + 0x23c], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x244], 0
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x270], 0
je 0x41b998
mov edx, dword [0x472328]
mov eax, dword [ebp + 0x10]
mov dword [edx + 0x1c], eax
mov ecx, dword [0x472328]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 4]
add edx, 0x114
mov eax, dword [0x472328]
mov dword [eax], edx
mov ecx, dword [0x472328]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x110]
mov dword [ecx + 0x10], eax
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 0x2dc]
mov eax, dword [0x472328]
mov dword [eax + 0x14], edx
mov ecx, dword [0x472328]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x2d8]
mov dword [ecx + 0x18], eax
mov byte [0x940640], 1
lea ecx, [ebp - 8]
push ecx
push 4
mov edx, dword [ebp - 4]
push edx
push 0x41b610
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x47232c], eax
push 0
mov eax, dword [0x47232c]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, dword [0x47232c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edx, dword [ebp - 4]
mov dword [edx + 0x2f0], eax
jmp 0x41ba51
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18]
mov edx, dword [ebp + 0x10]
mov dword [ecx + 0x20], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18]
mov dword [ecx + 8], 0
mov edx, dword [ebp - 4]
add edx, 0x114
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x110]
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 0x2dc]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
mov dword [eax + 0x18], ecx
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x18]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2d8]
mov dword [edx + 0x1c], ecx
push 1
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 0x24]
call eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x278], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x27c], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x204], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x1c]
call ecx
mov eax, 1
mov esp, ebp
pop ebp
ret