Function at 0x100079a0
Capabilities:
Create thread

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebp
push esi
push edi
mov esi, ecx
call ebx
mov ecx, esi
call fcn.10007f10
test eax, eax
jne 0x100079d2
push 0x20010000
mov ecx, esi
call sym.KCCOMM32.dll_public:_void___thiscall_CCommBase::SetLastError_unsigned_long_int_
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret
mov ecx, esi
call fcn.10008010
test eax, eax
jne 0x100079f3
push 0x20010000
mov ecx, esi
call sym.KCCOMM32.dll_public:_void___thiscall_CCommBase::SetLastError_unsigned_long_int_
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret
call ebx
mov edi, eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, esi
add edi, 0x3a98
mov dword [esp + 0x1c], 0
call fcn.10008190
test eax, eax
je 0x10007a7d
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
jle 0x10007a42
mov edx, dword [esp + 0x10]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, esi
call fcn.10007f60
test eax, eax
je 0x10007aa1
jge 0x10007ac3
jmp 0x10007a60
mov eax, dword [esp + 0x10]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push 0x1f4
call ebp
call ebx
cmp edi, eax
jb 0x10007b63
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x1c], 0
call fcn.10008190
test eax, eax
jne 0x10007a20
mov ecx, dword [esp + 0x10]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, esi
push 0x20010000
call sym.KCCOMM32.dll_public:_void___thiscall_CCommBase::SetLastError_unsigned_long_int_
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x14
ret
lea eax, [esp + 0x18]
push eax
push 0
push esi
push 0x10007950
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x10007ac3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esi + 0x24]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10007ae5
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x24]
push 0x10
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov edx, dword [esi + 0x54]
mov ebx, dword [sym.imp.KERNEL32.dll_SetEvent]
push edx
call ebx
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x70]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov dword [esi + 0x3c], 1
push 0x1f4
lea edx, [esp + 0x20]
push 0
push edx
push 2
call edi
cmp eax, 0x102
je 0x10007b28
cmp eax, 1
jne 0x10007b81
mov eax, dword [esi + 0x5c]
test eax, eax
jne 0x10007b3d
mov ecx, esi
call fcn.10008790
mov ecx, esi
call fcn.10007bb0
mov ecx, esi
call fcn.10007cd0
test eax, eax
jne 0x10007b0c
mov eax, dword [esi + 0x5c]
cmp eax, 0x48f
je 0x10007b57
cmp eax, 2
jne 0x10007b7a
mov eax, dword [esi + 0x50]
test eax, eax
je 0x10007b0c
push eax
call ebx
jmp 0x10007b0c
push 0x20050000
mov ecx, esi
call sym.KCCOMM32.dll_public:_void___thiscall_CCommBase::SetLastError_unsigned_long_int_
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x14
ret
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
push 0x200b0000
mov ecx, esi
call sym.KCCOMM32.dll_public:_void___thiscall_CCommBase::SetLastError_unsigned_long_int_
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x14
ret