Function at 0x4486b4
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2290
call fcn.0052d050
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [0x5a9cbc]
push edi
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0x18]
xor esi, esi
cmp eax, esi
je 0x4486e6
mov byte [eax], 0
mov dword [ebx + 0x1c], esi
cmp byte [ebx + 0x10], 0
jne 0x4486f2
push ebx
call fcn.00448240
mov eax, dword [ebx + 4]
cmp eax, esi
je 0x448ad7
cmp dword [eax + 4], esi
je 0x448ad7
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, dword [ebp + 0x10]
cmp edi, eax
jne 0x448806
push 0x2cc
lea eax, [ebp - 0x3fc]
push esi
push eax
call fcn.005251f0
add esp, 0xc
lea eax, [ebp - 0x3fc]
push eax
mov dword [ebp - 0x3fc], 0x10007
call dword [sym.imp.KERNEL32.dll_RtlCaptureContext]
push 0x108
lea eax, [ebp - 0x12c]
push esi
push eax
call fcn.005251f0
mov eax, dword [ebp - 0x344]
mov ecx, dword [ebp - 0x348]
add esp, 0xc
push 3
mov dword [ebp - 0x12c], eax
pop eax
push 0x420
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0x10c], ecx
mov ecx, dword [ebp - 0x338]
lea eax, [ebp - 0xa64]
push esi
push eax
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x108], esi
mov dword [ebp - 0xfc], ecx
mov dword [ebp - 0xf8], esi
call fcn.005251f0
add esp, 0xc
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
mov edi, 0x248
push edi
lea eax, [ebp - 0x644]
push esi
push eax
mov dword [ebp - 0xa64], 0x20
mov dword [ebp - 0xa4c], 0x400
mov dword [ebp - 0x24], 0x18
call fcn.005251f0
mov dword [ebp - 0x644], edi
add esp, 0xc
mov dword [ebp + 8], esi
mov edi, 0x14c
jmp 0x448a64
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2cc
lea eax, [ebp - 0x3fc]
push esi
push eax
call fcn.005251f0
add esp, 0xc
lea eax, [ebp - 0x3fc]
push eax
push edi
mov dword [ebp - 0x3fc], 0x10007
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x448743
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [ebp - 8]
jmp 0x448ae3
push 0x1828
lea eax, [ebp - 0x228c]
push esi
push eax
call fcn.005251f0
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x128]
mov edx, eax
add esp, 0xc
or edx, ecx
mov dword [ebp - 0x228c], eax
mov dword [ebp - 0x2288], ecx
je 0x448a36
mov ecx, dword [ebx + 4]
lea edx, [ebp - 0xa64]
push edx
lea edx, [ebp - 0x1684]
push edx
push dword [ebp - 0x128]
push eax
push dword [ebx + 8]
call dword [ecx + 0x28]
test eax, eax
je 0x4488f8
push 0x400
lea edx, [ebp - 0xa48]
lea esi, [ebp - 0x2284]
call fcn.0044b0d0
mov eax, dword [ebx + 4]
push 0x1000
mov esi, 0x400
push esi
lea ecx, [ebp - 0x1e84]
push ecx
lea ecx, [ebp - 0xa48]
push ecx
call dword [eax + 0x3c]
mov eax, dword [ebx + 4]
push 0
push esi
lea ecx, [ebp - 0x1a84]
push ecx
lea ecx, [ebp - 0xa48]
push ecx
call dword [eax + 0x3c]
xor esi, esi
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x18]
cmp eax, esi
je 0x448940
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x167c]
push ecx
push dword [ebp - 0x128]
push dword [ebp - 0x12c]
push dword [ebx + 8]
call eax
test eax, eax
je 0x448940
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
push 0x400
lea esi, [ebp - 0x1674]
mov dword [ebp - 0x1678], eax
call fcn.0044b0d0
xor esi, esi
lea eax, [ebp - 0x644]
push eax
push dword [ebp - 0x128]
push dword [ebp - 0x12c]
push dword [ebx + 8]
push dword [ebx + 4]
call fcn.00448140
test al, al
je 0x448a36
mov eax, dword [ebp - 0x624]
cmp eax, 8
mov dword [ebp - 0x1274], eax
ja case.default.0x448977
jmp dword [eax*4 + 0x448af4]
mov dword [ebp - 0x1270], str._nosymbols_
jmp 0x4489f0
mov dword [ebp - 0x1270], str.COFF
jmp 0x4489f0
mov dword [ebp - 0x1270], 0x571104
jmp 0x4489f0
mov dword [ebp - 0x1270], 0x571108
jmp 0x4489f0
mov dword [ebp - 0x1270], str._exported_
jmp 0x4489f0
mov dword [ebp - 0x1270], str._deferred_
jmp 0x4489f0
mov dword [ebp - 0x1270], 0x571124
jmp 0x4489f0
mov dword [ebp - 0x1270], 0x571128
jmp 0x4489f0
mov dword [ebp - 0x1270], str.Virtual
jmp 0x4489f0
mov dword [ebp - 0x1270], esi
push 0x400
lea edx, [ebp - 0x620]
lea esi, [ebp - 0x126c]
call fcn.0044b0d0
mov eax, dword [ebp - 0x63c]
mov dword [ebp - 0xe6c], eax
mov eax, dword [ebp - 0x638]
push 0x400
lea edx, [ebp - 0x500]
lea esi, [ebp - 0xe64]
mov dword [ebp - 0xe68], eax
call fcn.0044b0d0
xor esi, esi
xor eax, eax
inc eax
cmp dword [ebp + 8], esi
jne 0x448a40
xor eax, eax
mov edx, dword [ebx]
lea ecx, [ebp - 0x228c]
push ecx
push eax
mov ecx, ebx
call dword [edx + 4]
test al, al
je 0x448aa5
mov eax, dword [ebp - 0x11c]
or eax, dword [ebp - 0x118]
je 0x448a95
inc dword [ebp + 8]
mov eax, dword [ebx + 4]
push esi
push dword [eax + 0x1c]
lea ecx, [ebp - 0x3fc]
push dword [eax + 0x14]
push 0x448b18
push ecx
lea ecx, [ebp - 0x12c]
push ecx
push dword [ebp + 0x10]
push dword [ebx + 8]
push edi
call dword [eax + 0x38]
test eax, eax
jne 0x448851
jmp 0x448aac
mov eax, dword [ebx]
lea ecx, [ebp - 0x228c]
push ecx
push 2
mov ecx, ebx
call dword [eax + 4]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ebx, dword [ebx + 0x18]
cmp ebx, esi
jne 0x448ac1
mov ebx, 0x548bcc
mov eax, dword [ebp + 0xc]
push ebx
call fcn.0045249f
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
jmp 0x448aeb
push 0x45a
call dword [sym.imp.KERNEL32.dll_SetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0xc