Function at 0x100c03a0
Capabilities:
Link many functions at runtime
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x514
mov eax, dword [0x1010b040]
xor eax, esp
mov dword [esp + 0x510], eax
mov eax, dword [0x102e0424]
push ebx
push esi
push edi
test al, 1
je 0x100c03e0
push 0x102e0425
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x100c0814
mov eax, dword [0x102e0424]
test al, 2
je 0x100c0425
push 0x102e0465
lea eax, [esp + 0x14]
push str.XTEAM_MAIN_10405__s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
jne 0x100c0503
lea eax, [esp + 0x10]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp dword [0x102e05fc], 0
je 0x100c050b
push 0x104
lea eax, [esp + 0x414]
push 0
push eax
call fcn.100d44a0
add esp, 0xc
lea eax, [esp + 0x410]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x100c0503
lea ecx, [esp + 0x410]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100c0470
sub ecx, edx
test ecx, ecx
jle 0x100c04ad
nop dword [eax]
cmp byte [esp + ecx + 0x410], 0x5c
je 0x100c0491
dec ecx
test ecx, ecx
jg 0x100c0480
jmp 0x100c04ad
lea eax, [esp + 0x411]
add eax, ecx
push eax
push 0x104
push 0x11509c58
call fcn.100db6eb
add esp, 0xc
push 0x102e04fb
push 0x11509c58
call fcn.100dc457
add esp, 8
test eax, eax
jne 0x100c0503
lea ecx, [esp + 0x10]
call fcn.10004da0
push ecx
lea eax, [esp + 0x10]
push eax
push 0x102e04fb
lea ecx, [esp + 0x1c]
call fcn.10004ed0
test al, al
je 0x100c04ef
mov eax, dword [0x102e05fc]
cmp eax, dword [esp + 0xc]
je 0x100c050b
push 0x10
push str.Error
push str.Main.exe_CRC_error_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [0x102e0600], 0
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
je 0x100c0588
lea ecx, [esp + 0x10]
call fcn.10004da0
push ecx
lea eax, [esp + 0x10]
push eax
push 0x102e051b
lea ecx, [esp + 0x1c]
call fcn.10004ed0
test al, al
je 0x100c05ef
mov eax, dword [0x102e0600]
cmp eax, dword [esp + 0xc]
jne 0x100c05ef
push 0x102e051b
call esi
test eax, eax
jne 0x100c057a
push 0x10
push str.Error
push str.Plugin1_load_error_
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x10102288
push eax
call edi
test eax, eax
je 0x100c0588
call eax
cmp dword [0x102e0604], 0
je 0x100c0619
lea ecx, [esp + 0x10]
call fcn.10004da0
push ecx
lea eax, [esp + 0x10]
push eax
push 0x102e053b
lea ecx, [esp + 0x1c]
call fcn.10004ed0
test al, al
je 0x100c0680
mov eax, dword [0x102e0604]
cmp eax, dword [esp + 0xc]
jne 0x100c0680
push 0x102e053b
call esi
test eax, eax
jne 0x100c060b
push 0x10
push str.Error
push str.Plugin2_load_error_
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x10
push str.Error
push str.Plugin1_CRC_error_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x10102288
push eax
call edi
test eax, eax
je 0x100c0619
call eax
cmp dword [0x102e0608], 0
je 0x100c06aa
lea ecx, [esp + 0x10]
call fcn.10004da0
push ecx
lea eax, [esp + 0x10]
push eax
push 0x102e055b
lea ecx, [esp + 0x1c]
call fcn.10004ed0
test al, al
je 0x100c0711
mov eax, dword [0x102e0608]
cmp eax, dword [esp + 0xc]
jne 0x100c0711
push 0x102e055b
call esi
test eax, eax
jne 0x100c069c
push 0x10
push str.Error
push str.Plugin3_load_error_
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x10
push str.Error
push str.Plugin2_CRC_error_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x10102288
push eax
call edi
test eax, eax
je 0x100c06aa
call eax
cmp dword [0x102e060c], 0
je 0x100c073b
lea ecx, [esp + 0x10]
call fcn.10004da0
push ecx
lea eax, [esp + 0x10]
push eax
push 0x102e057b
lea ecx, [esp + 0x1c]
call fcn.10004ed0
test al, al
je 0x100c07a2
mov eax, dword [0x102e060c]
cmp eax, dword [esp + 0xc]
jne 0x100c07a2
push 0x102e057b
call esi
test eax, eax
jne 0x100c072d
push 0x10
push str.Error
push str.Plugin4_load_error_
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x10
push str.Error
push str.Plugin3_CRC_error_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x10102288
push eax
call edi
test eax, eax
je 0x100c073b
call eax
cmp dword [0x102e0610], 0
je 0x100c07cc
lea ecx, [esp + 0x10]
call fcn.10004da0
push ecx
lea eax, [esp + 0x10]
push eax
push 0x102e059b
lea ecx, [esp + 0x1c]
call fcn.10004ed0
test al, al
je 0x100c081c
mov eax, dword [0x102e0610]
cmp eax, dword [esp + 0xc]
jne 0x100c081c
push 0x102e059b
call esi
test eax, eax
jne 0x100c07be
push 0x10
push str.Error
push str.Plugin5_load_error_
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x10
push str.Error
push str.Plugin4_CRC_error_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x10102288
push eax
call edi
test eax, eax
je 0x100c07cc
call eax
cmp dword [0x102e0614], 0
je 0x100c0846
lea ecx, [esp + 0x10]
call fcn.10004da0
push ecx
lea eax, [esp + 0x10]
push eax
push 0x102e05bb
lea ecx, [esp + 0x1c]
call fcn.10004ed0
test al, al
je 0x100c08c5
mov eax, dword [0x102e0614]
cmp eax, dword [esp + 0xc]
jne 0x100c08c5
push 0x102e05bb
call esi
test eax, eax
jne 0x100c0838
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x10
push str.Error
push str.Plugin5_CRC_error_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x10102288
push eax
call edi
test eax, eax
je 0x100c0846
call eax
call fcn.100c0900
cmp dword [0x102e0488], 0
jbe 0x100c08e1
xor esi, esi
push esi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x100c08e1
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
lea eax, [esp + 0x10]
push eax
push edi
mov dword [esp + 0x18], 0x128
call ebx
cmp eax, 1
jne 0x100c08ae
lea eax, [esp + 0x34]
push 0x102e04fb
push eax
call fcn.100dc457
add esp, 8
lea ecx, [esi + 1]
test eax, eax
lea eax, [esp + 0x10]
cmovne ecx, esi
push eax
push edi
mov esi, ecx
call ebx
cmp eax, 1
je 0x100c0885
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, dword [0x102e0488]
jbe 0x100c08e1
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x10
push str.Error
push str.Camera_CRC_error_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [esp + 0x51c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100d22e0
mov esp, ebp
pop ebp
ret