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

Disassembly:
sub esp, 0x3ac
mov dword [esp + 0xc], edi
mov edi, eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x30], 0xa
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov dword [esp + 4], ebx
imul ebx, edx, 0xa
mov edx, 0xa
mul edx
add edx, ebx
mov dword [esp + 8], esi
mov dword [esp + 0x28], eax
mov esi, dword [esp + 0x28]
mov eax, edi
mov dword [esp + 0x2c], edx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x20], 0xa
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ecx
call fcn.0042446c
xor al, 1
jne 0x44e23d
cmp byte [edi + 0x29], 0
je 0x44e211
mov ebx, 0x47dc9c
push ebx
call sub.KERNEL32.DLL_LeaveCriticalSection
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0xa4], ecx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0xa0], 0xfffffffe
imul ebx, edx, 0x2710
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x1c], esi
mov edx, 0x2710
mul edx
add edx, ebx
mov dword [esp + 0xd0], eax
mov esi, dword [esp + 0xd0]
xor eax, eax
mov dword [esp + 0xd8], 0
mov dword [esp + 0xd4], edx
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0xdc], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0xa8], eax
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xac], edx
mov edx, dword [esp + 0xac]
imul ebx, edx, 0x2710
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xdc], ecx
mov edx, 0x2710
mul edx
add edx, ebx
mov dword [esp + 0xc8], eax
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0xd8], esi
mov dword [esp + 0xcc], edx
mov esi, dword [esp + 0xcc]
mov dword [esp + 0x64], esi
mov edx, dword [esp + 0x64]
mov dword [esp + 0x60], ecx
mov eax, dword [esp + 0x60]
mov dword [esp + 0x58], 0xfffffffe
mov dword [esp + 0x38], 0
push edx
push eax
lea eax, [esp + 0x20]
call fcn.004395cc
xor ebx, ebx
cmp eax, ebx
jle 0x44e0ae
mov dword [esp + 0x54], ebx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xb4], ecx
mov edx, dword [esp + 0xb4]
mov dword [esp + 0xb0], 1
imul esi, edx, 0x2710
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x50], 1
mov edx, 0x2710
mul edx
add edx, esi
mov dword [esp + 0xb8], eax
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0xbc], edx
mov eax, dword [esp + 0xbc]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc0], ecx
mov edx, dword [esp + 0xc4]
mov eax, dword [esp + 0xc0]
push edx
push eax
lea eax, [esp + 0x20]
call fcn.004395cc
cmp eax, ebx
jns 0x44e0ae
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x7c], ebx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x78], 1
imul ecx, edx, 0x2710
mov eax, dword [esp + 0x78]
mov edx, 0x2710
mul edx
add edx, ecx
mov dword [esp + 0x98], eax
mov esi, dword [esp + 0x98]
mov dword [esp + 0x9c], edx
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0x48], 1
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebx
push dword [esp + 0xd4]
push dword [esp + 0xdc]
lea eax, [esp + 0x20]
call fcn.004395cc
test eax, eax
jle 0x44e13d
mov edx, dword [esp + 0xd8]
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0x90], edx
mov eax, dword [esp + 0x90]
mov dword [esp + 0x94], ecx
mov edx, dword [esp + 0x94]
xor ecx, ecx
push esi
mov ebx, 0x2710
push edi
call fcn.00459476
pop edi
pop esi
mov esi, eax
push esi
call sub.KERNEL32.DLL_Sleep
push dword [esp + 0xd4]
push dword [esp + 0xdc]
lea eax, [esp + 0x20]
call fcn.00449b34
push dword [esp + 0xd4]
push dword [esp + 0xdc]
lea eax, [esp + 0x20]
call fcn.004395cc
test eax, eax
jg 0x44e105
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, 0x2710
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x6c]
xor ecx, ecx
mov dword [esp + 0x68], esi
mov eax, dword [esp + 0x68]
push esi
push edi
call fcn.00459476
pop edi
pop esi
push eax
call sub.KERNEL32.DLL_Sleep
mov dword [esp + 0x44], 0
mov dword [esp + 0x88], 0xa
mov esi, dword [esp + 0x44]
mov dword [esp + 0x8c], esi
mov edx, dword [esp + 0x8c]
imul ecx, edx, 0x2710
mov eax, dword [esp + 0x88]
mov dword [esp + 0x40], 0xa
mov edx, 0x2710
mul edx
add edx, ecx
mov dword [esp + 0x80], eax
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x84], edx
mov esi, dword [esp + 0x84]
mov dword [esp + 0x74], esi
mov edx, dword [esp + 0x74]
mov dword [esp + 0x70], ebx
mov eax, dword [esp + 0x70]
push edx
push eax
lea eax, [esp + 0x18]
call fcn.004395cc
test eax, eax
jns 0x44e1f6
push 0
push 2
lea eax, [esp + 0x18]
call fcn.00453438
mov ecx, 0x47dc9c
push ecx
call sub.KERNEL32.DLL_EnterCriticalSection
mov eax, edi
call fcn.0042446c
xor al, 1
jne 0x44e23d
jmp 0x44dea7
mov edx, dword [edi + 0xc]
push edx
sub esp, 4
call sub.KERNEL32.DLL_GetCurrentThreadId
add esp, 4
pop edx
cmp edx, eax
je 0x44e26a
push dword [edi + 8]
call sub.KERNEL32.DLL_SuspendThread
cmp eax, 0xffffffff
jne 0x44e26a
mov eax, edi
call fcn.0042446c
xor al, 1
je 0x44e259
mov eax, edi
call fcn.004246d0
mov ebx, dword [esp + 4]
mov esi, dword [esp + 8]
mov edi, dword [esp + 0xc]
add esp, 0x3ac
xor eax, eax
ret
mov ecx, 0x44ddfc
mov ebx, 0x18
push ecx
push ebx
call fcn.0042f240
mov dword [esp + 0xe0], 0x10003
lea esi, [esp + 0xe0]
push esi
push dword [edi + 8]
call sub.KERNEL32.DLL_GetThreadContext
test eax, eax
jne 0x44e29a
mov edx, 0x44de18
mov eax, 0x1d
push edx
push eax
call fcn.0042f240
movsx ecx, byte [edi + 0x4c]
xor cl, 1
je 0x44e2b0
mov esi, dword [edi + 0x48]
mov ebx, dword [esp + 0x1a4]
mov dword [esi + 4], ebx
mov edx, dword [esp + 0x190]
mov dword [edi + 0x54], edx
mov eax, dword [esp + 0x184]
mov dword [edi + 0x58], eax
mov ecx, dword [esp + 0x18c]
mov dword [edi + 0x5c], ecx
mov ebx, dword [esp + 0x188]
mov dword [edi + 0x60], ebx
mov esi, dword [esp + 0x17c]
mov dword [edi + 0x64], esi
mov edx, dword [esp + 0x180]
mov dword [edi + 0x68], edx
mov eax, dword [esp + 0x194]
mov dword [edi + 0x6c], eax
mov ecx, dword [esp + 0x1a4]
mov eax, 1
mov dword [edi + 0x70], ecx
mov ebx, dword [esp + 4]
mov esi, dword [esp + 8]
mov edi, dword [esp + 0xc]
add esp, 0x3ac
ret