Function at 0x48f300
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5101b6
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x553418]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x20], ebx
cmp dword [ebx + 0x554], 0
jne 0x48f478
push 0x55b716
push 0x4998
call fcn.0043e71a
mov esi, eax
add esp, 8
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x48f469
lea ecx, [ebx + 0x550]
mov dword [esi], 0
mov dword [esi + 4], ecx
lea ecx, [esi + 0x10]
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.0046d8d0
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 1
call fcn.0046d8d0
lea ecx, [esi + 0x4818]
mov byte [ebp - 4], 2
call fcn.0044d2f0
push 0
lea ecx, [esi + 0x48a4]
mov byte [ebp - 4], 3
mov dword [esi + 0x48a0], 0x14
call fcn.004b3f50
mov dword [esi + 0x48b8], 0
lea eax, [esi + 0x489c]
mov dword [esi + 0x48bc], 0
mov dword [esi + 0x48ec], 0
mov dword [esi + 0x48f8], 0
mov dword [esi + 0x48fc], 0
mov dword [esi + 0x4928], 0
mov dword [esi + 0x4934], 0
mov dword [esi + 0x4938], 0
mov dword [esi + 0x4958], 0
mov byte [esi + 0x495c], 0xff
mov dword [esi + 0x4960], 0
mov dword [esi + 0x4964], 0
push 1
push eax
mov dword [esi + 0x4988], 0
mov dword [esi + 0x498c], 0
mov dword [esi + 0x4990], 0
mov dword [esi + 0x4994], 0
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x48f46b
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x554], esi
mov eax, dword [ebx + 0x550]
lea ecx, [ebx + 0x550]
call dword [eax + 4]
lea ecx, [ebx + 0x558]
call fcn.004177b0
mov edi, dword [ebx + 0x554]
mov esi, eax
push esi
mov dword [ebp - 0x10], edi
lea ecx, [edi + 0x4818]
call fcn.0044d5d0
mov ecx, dword [edi + 4]
push 0
push 0
push esi
mov eax, dword [ecx]
call dword [eax + 0x18]
push eax
push 0
call fcn.00463510
add esp, 0x14
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x48f56e
push dword [eax]
lea esi, [edi + 0x10]
mov ecx, esi
call fcn.0046f990
mov ebx, dword [ebp - 0x1c]
push dword [ebx]
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [ebx + 0x10]
call fcn.00405570
push 0x98
push ebx
call fcn.0043e101
mov ecx, dword [edi + 4]
lea edx, [ebp - 0x24]
add esp, 8
mov eax, dword [ecx]
push edx
lea edx, [ebp - 0x28]
push edx
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x14]
push edx
call dword [eax + 8]
mov edi, dword [ebp - 0x14]
mov ecx, esi
mov ebx, dword [ebp - 0x18]
call fcn.0046f5b0
mov ecx, dword [ebp - 0x10]
mov esi, eax
add esi, dword [ebp - 0x14]
lea ecx, [ecx + 0x10]
call fcn.0046f560
mov ecx, dword [ebp - 0x10]
add eax, dword [ebp - 0x18]
push eax
push esi
mov ecx, dword [ecx + 4]
push ebx
push edi
mov edx, dword [ecx]
call dword [edx + 0xc]
mov esi, dword [ebp - 0x10]
lea ecx, [esi + 0x10]
mov dword [esi + 0x48f0], edi
mov dword [esi + 0x48f4], ebx
call fcn.0046f5b0
lea ecx, [esi + 0x10]
mov dword [esi + 0x492c], eax
call fcn.0046f560
mov ebx, dword [ebp - 0x20]
mov dword [esi + 0x4930], eax
cmp byte [ebx + 0x5dc], 0
je 0x48f5ce
mov esi, dword [ebx + 0x554]
cmp dword [esi + 0x489c], 1
lea eax, [esi + 0x489c]
jne 0x48f5c3
lea eax, [ebp - 0x20]
push eax
push 4
push esi
push 0x4904d0
push 0
push 0
call fcn.004dbc49
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x48f5ce
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret