Function at 0x47fa20
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4dc
mov eax, dword [0x6ac30c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x36c], 0
je 0x47fd02
mov ecx, 0x605058
call fcn.0050f5b0
mov ecx, 0x602128
call fcn.0047ab60
mov ecx, 0x6007bc
call fcn.0043c5f0
mov eax, dword [0x6d41bc]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [0x6d41bc]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x47fbd0
cmp dword [0x6d5be4], eax
je 0x47fd02
mov eax, dword [0x6d41bc]
test eax, eax
je 0x47faa0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x46a
lea edx, [ebp - 0x4dc]
push 0
push edx
call fcn.00599ee0
lea edx, [ebp - 0x4b6]
push str.KillThread
push edx
mov dword [ebp - 0x4d9], 0x2000243
call fcn.0059a4c2
lea eax, [ebp - 0x2a5]
push 0x5d1cd4
push eax
call fcn.0059a4c2
mov ecx, dword [0x6d8f5c]
add ecx, 0x131
push ecx
lea edx, [ebp - 0x2b6]
push edx
call fcn.0059a4c2
mov eax, dword [0x6d8f5c]
mov ecx, dword [eax + 0x129]
add esp, 0x24
lea edx, [ebp - 0x93]
mov dword [ebp - 0x4ba], ecx
push edx
mov ecx, 0x6d41c0
call fcn.0047f910
lea eax, [ebp - 0xa5]
push eax
mov ecx, 0x6d41c0
call fcn.0047c390
push 0x46a
lea ecx, [ebp - 0x4dc]
push ecx
mov ecx, 0x604d20
call fcn.0050f010
mov ecx, dword [0x6d8f5c]
add ecx, 0x131
push ecx
lea edx, [ebp - 0x4a]
push edx
mov byte [ebp - 0x6e], 0
mov dword [ebp - 0x6d], 0x2040243
call fcn.0059a4c2
mov eax, dword [0x6d8f5c]
mov ecx, dword [eax + 0x129]
add esp, 8
lea edx, [ebp - 0x27]
mov dword [ebp - 0x4e], ecx
push edx
mov ecx, 0x6d41c0
call fcn.0047f910
lea eax, [ebp - 0x39]
push eax
mov ecx, 0x6d41c0
call fcn.0047c390
push 0x6a
lea ecx, [ebp - 0x70]
push ecx
mov ecx, 0x604d20
call fcn.0050f010
mov ecx, 0x604d20
call fcn.0050ef10
push 0x230
mov ecx, 0x6c6dd0
call fcn.00448f80
push eax
push 1
push 0xfd1
push 0x604150
call fcn.004c9140
add esp, 0x10
call fcn.0042e7d0
mov ecx, eax
call fcn.00425660
mov ecx, dword [0x6d8f5c]
test ecx, ecx
je 0x47fc15
cmp dword [0x6da220], 0
jne 0x47fc15
cmp dword [esi + 8], 0
jne 0x47fc15
call fcn.004a0d30
test eax, eax
jne 0x47fc0a
call fcn.0042e7d0
mov ecx, eax
call fcn.004254f0
mov ecx, dword [esi + 0x110]
call fcn.00510b10
mov ecx, dword [esi + 0x110]
call fcn.00510b10
mov ecx, dword [0x6d448c]
cmp dword [ecx + 0x284], 0
je 0x47fc34
call fcn.00472270
cmp dword [0x6c6ba0], 0
jne 0x47fc50
mov ecx, 0x6c6900
call fcn.0047fd50
cmp dword [0x6c6ba0], 0
je 0x47fc5a
mov ecx, 0x6c6900
call fcn.0043ea20
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x47fc66
call fcn.00535b40
mov ecx, dword [esi + 0x314]
test ecx, ecx
je 0x47fc75
call fcn.00476f30
mov ecx, dword [esi + 0x2f4]
call fcn.00455000
mov ecx, 0x601d1c
call fcn.00471550
mov ecx, 0x60307c
call fcn.0049d050
mov ecx, 0x6d5cf0
call fcn.004d7590
mov ecx, dword [esi + 0x1dc]
call fcn.00565980
mov ecx, dword [esi + 0x1dc]
call fcn.005659a0
mov ecx, dword [esi + 0x200]
call fcn.0048d1a0
mov ecx, dword [esi + 0x214]
call fcn.00443850
mov ecx, dword [esi + 0x220]
call fcn.00564a50
mov ecx, dword [esi + 0x224]
call fcn.00564cb0
mov ecx, esi
call fcn.0047b260
mov ecx, esi
call fcn.0047b2e0
mov ecx, 0x60cca8
call fcn.0053a2a0
mov ecx, 0x6d56d8
call fcn.004a8620
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00599821
mov esp, ebp
pop ebp
ret