Function at 0x48f270
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b350c
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
push ebx
push esi
push edi
mov eax, dword [0x4e0240]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
lea eax, [edi + 0x18]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040e700
mov esi, dword [edi + 0x14]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], esi
call fcn.0040e730
xor ebx, ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x48f39c
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], ebx
mov edx, dword [0x4e0004]
lea eax, [ebp - 0x94]
mov dword [ebp - 0x1c], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x4e0004
mov dword [ebp - 4], ebx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
call eax
add eax, 0x10
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
push 0x4c204c
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 2
call fcn.00402008
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 3
call fcn.0048cf80
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], 4
call fcn.0048ce50
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
lea edx, [ebp - 0x10]
push edx
push 4
push eax
push ecx
push ebx
push ebx
mov dword [ebp - 0x10], ebx
call fcn.0047184d
mov esi, eax
add esp, 0x18
cmp esi, ebx
ja 0x48f3b2
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], 0xffffffff
call fcn.0048b5e0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
push edx
push eax
mov ecx, edi
call fcn.0048f0c0
mov ecx, dword [ebp - 0x14]
push esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, dword [ebp + 0x18]
push edx
push ebx
lea eax, [ebp - 0x28]
push eax
push 2
mov dword [ebp + 0xc], 1
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x48f3f5
mov dword [ebp + 0xc], ebx
jmp 0x48f4bc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x10]
lea eax, [edi + 0x18]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040e700
mov ecx, dword [edi + 8]
mov eax, dword [ecx + 4]
mov byte [ebp - 4], 5
cmp byte [eax + 0x91], bl
jne 0x48f436
lea ecx, [ecx]
cmp dword [eax + 0xc], esi
jae 0x48f42a
mov eax, dword [eax + 8]
jmp 0x48f42e
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0x91], bl
je 0x48f420
mov eax, dword [edi + 8]
mov dword [ebp + 8], ecx
cmp ecx, eax
je 0x48f44a
cmp esi, dword [ecx + 0xc]
jb 0x48f44a
lea eax, [ebp + 8]
jmp 0x48f450
mov dword [ebp + 0x14], eax
lea eax, [ebp + 0x14]
mov esi, dword [eax]
cmp esi, dword [edi + 8]
je 0x48f4b0
mov edi, dword [ebp + 0x10]
add esi, 0x50
push esi
mov ecx, edi
call fcn.00414a40
mov ecx, dword [esi + 0x10]
mov dword [edi + 0x10], ecx
mov edx, dword [esi + 0x14]
mov dword [edi + 0x14], edx
mov eax, dword [esi + 0x18]
lea ebx, [esi + 0x1c]
lea ecx, [edi + 0x1c]
push ebx
mov dword [edi + 0x18], eax
call fcn.0040195e
lea ecx, [ebx + 4]
push ecx
lea ecx, [edi + 0x20]
call fcn.00414a40
add ebx, 0x14
lea ecx, [edi + 0x30]
push ebx
call fcn.0040195e
mov edx, dword [esi + 0x34]
mov dword [edi + 0x34], edx
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
mov ecx, dword [esi + 0x3c]
mov dword [edi + 0x3c], ecx
mov edi, dword [ebp - 0x18]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.0040e730
mov edx, dword [ebp - 0x10]
push edx
mov ecx, edi
call fcn.0048e780
lea ecx, [ebp - 0xb0]
mov dword [ebp - 4], 0xffffffff
call fcn.0048b5e0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14