Function at 0x463264
Capabilities:
Resolve function by parsing pe exports
Suspend thread

Disassembly:
sub esp, 0x3c8
mov dword [esp + 8], edi
mov edi, eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0xa
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov dword [esp], ebx
imul ebx, edx, 0xa
mov edx, 0xa
mul edx
add edx, ebx
mov dword [esp + 4], esi
mov dword [esp + 0x2c], eax
mov esi, dword [esp + 0x2c]
mov eax, edi
mov dword [esp + 0x30], edx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x1c], 0xa
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
call fcn.004289dc
xor al, 1
jne 0x46369f
cmp byte [edi + 0x29], 0
je 0x463679
mov ebx, 0x49c45c
push ebx
call sub.KERNEL32.DLL_LeaveCriticalSection
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x58], 0
mov dword [esp + 0xac], 0xfffffffe
mov edx, dword [esp + 0x58]
mov dword [esp + 0xb0], edx
mov edx, dword [esp + 0xb0]
imul ebx, edx, 0x2710
mov eax, dword [esp + 0xac]
mov dword [esp + 0x14], ecx
mov edx, 0x2710
mul edx
add edx, ebx
mov dword [esp + 0xec], eax
mov ecx, dword [esp + 0xec]
mov dword [esp + 0x18], esi
mov dword [esp + 0xf0], edx
mov esi, dword [esp + 0xf0]
xor edx, edx
mov dword [esp + 0xbc], ecx
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x48], 0
mov dword [esp + 0xd4], edx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0xd8], ebx
mov edx, dword [esp + 0xd8]
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0xd4]
imul ecx, edx, 0x2710
mov edx, 0x2710
mul edx
add edx, ecx
mov dword [esp + 0xc0], esi
mov dword [esp + 0xf8], esi
mov dword [esp + 0xcc], eax
mov esi, dword [esp + 0xcc]
mov dword [esp + 0xd0], edx
mov ebx, dword [esp + 0xd0]
mov dword [esp + 0xc8], ebx
mov edx, dword [esp + 0xc8]
mov dword [esp + 0xc4], esi
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x54], 0xfffffffe
mov dword [esp + 0x44], 0
push edx
push eax
lea eax, [esp + 0x1c]
call fcn.0042029c
xor ecx, ecx
cmp eax, ecx
jle 0x463507
mov dword [esp + 0x40], ecx
mov esi, dword [esp + 0x40]
mov dword [esp + 0xb8], esi
mov edx, dword [esp + 0xb8]
mov dword [esp + 0xb4], 1
imul ebx, edx, 0x2710
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x3c], 1
mov edx, 0x2710
mul edx
add edx, ebx
mov dword [esp + 0xdc], eax
mov esi, dword [esp + 0xdc]
mov dword [esp + 0xe0], edx
mov eax, dword [esp + 0xe0]
mov dword [esp + 0xa0], eax
mov dword [esp + 0x9c], esi
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0x9c]
push edx
push eax
lea eax, [esp + 0x1c]
call fcn.0042029c
xor ecx, ecx
cmp eax, ecx
jns 0x463507
mov dword [esp + 0x38], ecx
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x98], ebx
mov edx, dword [esp + 0x98]
mov dword [esp + 0x94], 1
imul esi, edx, 0x2710
mov eax, dword [esp + 0x94]
mov dword [esp + 0x34], 1
mov edx, 0x2710
mul edx
add edx, esi
mov dword [esp + 0xe4], eax
mov ecx, dword [esp + 0xe4]
mov dword [esp + 0xe8], edx
mov ebx, dword [esp + 0xe8]
mov dword [esp + 0xa4], ecx
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xa8], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
push dword [esp + 0xf8]
push dword [esp + 0xf8]
lea eax, [esp + 0x1c]
call fcn.0042029c
test eax, eax
jle 0x463596
mov edx, dword [esp + 0xf4]
mov ecx, dword [esp + 0xf0]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x64]
mov ebx, 0x2710
mov dword [esp + 0x74], edx
mov eax, dword [esp + 0x74]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x68], ecx
xor ecx, ecx
push esi
push edi
call fcn.004658e6
pop edi
pop esi
mov esi, eax
push esi
call sub.KERNEL32.DLL_Sleep
push dword [esp + 0xf8]
push dword [esp + 0xf8]
lea eax, [esp + 0x1c]
call fcn.0044b82c
push dword [esp + 0xf8]
push dword [esp + 0xf8]
lea eax, [esp + 0x1c]
call fcn.0042029c
test eax, eax
jg 0x46355e
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, 0x2710
mov dword [esp + 0x84], esi
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x88], edx
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x90]
mov dword [esp + 0x8c], ecx
mov eax, dword [esp + 0x8c]
xor ecx, ecx
push esi
push edi
call fcn.004658e6
pop edi
pop esi
push eax
call sub.KERNEL32.DLL_Sleep
mov dword [esp + 0x50], 0
mov dword [esp + 0x6c], 0xa
mov esi, dword [esp + 0x50]
mov dword [esp + 0x70], esi
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
imul ecx, edx, 0x2710
mov edx, 0x2710
mul edx
add edx, ecx
mov dword [esp + 0x5c], eax
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x60], edx
mov esi, dword [esp + 0x60]
mov dword [esp + 0x80], esi
mov edx, dword [esp + 0x80]
mov dword [esp + 0x7c], ebx
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x4c], 0xa
push edx
push eax
lea eax, [esp + 0x14]
call fcn.0042029c
test eax, eax
jns 0x46365e
push 0
push 2
lea eax, [esp + 0x14]
call fcn.0046420c
mov ecx, 0x49c45c
push ecx
call sub.KERNEL32.DLL_EnterCriticalSection
mov eax, edi
call fcn.004289dc
xor al, 1
jne 0x46369f
jmp 0x4632d2
mov edx, dword [edi + 0xc]
push edx
call sub.KERNEL32.DLL_GetCurrentThreadId
pop edx
cmp edx, eax
je 0x4636c7
push dword [edi + 8]
call sub.KERNEL32.DLL_SuspendThread
cmp eax, 0xffffffff
jne 0x4636c7
mov eax, edi
call fcn.004289dc
xor al, 1
je 0x4636ba
mov eax, edi
call fcn.00428c80
mov ebx, dword [esp]
mov esi, dword [esp + 4]
mov edi, dword [esp + 8]
add esp, 0x3c8
xor eax, eax
ret
mov ebx, 0x48a4f0
push ebx
push 0x18
call fcn.00430838
mov dword [esp + 0xfc], 0x10003
lea ecx, [esp + 0xfc]
push ecx
push dword [edi + 8]
call sub.KERNEL32.DLL_GetThreadContext
test eax, eax
jne 0x4636f3
mov esi, 0x48a510
push esi
push 0x1d
call fcn.00430838
movsx edx, byte [edi + 0x4c]
xor dl, 1
je 0x463709
mov ebx, dword [edi + 0x48]
mov eax, dword [esp + 0x1c0]
mov dword [ebx + 4], eax
mov ecx, dword [esp + 0x1ac]
mov dword [edi + 0x54], ecx
mov esi, dword [esp + 0x1a0]
mov dword [edi + 0x58], esi
mov edx, dword [esp + 0x1a8]
mov dword [edi + 0x5c], edx
mov eax, dword [esp + 0x1a4]
mov dword [edi + 0x60], eax
mov ebx, dword [esp + 0x198]
mov eax, 1
mov dword [edi + 0x64], ebx
mov ecx, dword [esp + 0x19c]
mov dword [edi + 0x68], ecx
mov esi, dword [esp + 0x1b0]
mov dword [edi + 0x6c], esi
mov edx, dword [esp + 0x1c0]
mov dword [edi + 0x70], edx
mov ebx, dword [esp]
mov esi, dword [esp + 4]
mov edi, dword [esp + 8]
add esp, 0x3c8
ret