Function at 0x433110
Capabilities:
Check mutex on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47e814
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x4a3140]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x4a3140]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov edx, dword [0x4879c0]
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], eax
mov eax, dword [0x4879bc]
mov dword [esp + 0x2c], eax
mov eax, dword [0x4879c4]
mov dword [esp + 0x34], eax
push 4
lea eax, [esp + 0x24]
mov dword [esp + 0x34], edx
mov edx, dword [0x4879c8]
push eax
push ecx
xor ebx, ebx
mov dword [esp + 0x2c], 0x20
mov dword [esp + 0x30], 5
mov dword [esp + 0x44], edx
call dword [sym.imp.USER32.dll_RegisterDeviceNotificationW]
cmp eax, ebx
jne 0x4331fc
xor ecx, ecx
push 9
mov word [esp + 0x7c], cx
push str.reg_error
lea ecx, [esp + 0x80]
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], ebx
call fcn.004042f0
cmp dword [esp + 0x8c], 8
jb 0x4331fc
mov edx, dword [esp + 0x78]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
cmp dword [0x52ce84], ebx
jne 0x43323a
push 0x58
call esi
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0xc0], ebx
cmp eax, ebx
je 0x433228
push eax
call fcn.00424cd0
jmp 0x43322a
xor eax, eax
mov dword [esp + 0xc0], 0xffffffff
mov dword [0x52ce84], eax
lea edi, [esp + 0x94]
call fcn.004251e0
push str.aapt.exe
mov eax, edi
push eax
lea ecx, [esp + 0x64]
push ecx
mov dword [esp + 0xcc], 1
call fcn.00411dd0
add esp, 0xc
push str.adb.exe
mov edx, edi
push edx
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0xcc], 2
call fcn.00411dd0
add esp, 0xc
push 0x474
mov byte [esp + 0xc4], 3
call esi
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0xc0], 4
cmp esi, ebx
je 0x43330a
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x64]
mov edi, 7
xor edx, edx
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push eax
mov word [ecx], dx
call fcn.00401390
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
push 0xffffffffffffffff
mov byte [esp + 0xfc], 5
push ebx
lea eax, [esp + 0x9c]
xor edx, edx
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push eax
mov word [ecx], dx
call fcn.00401390
mov ecx, esi
mov byte [esp + 0xf8], 4
call fcn.00436df0
jmp 0x43330c
xor eax, eax
push ebx
push ebx
mov byte [esp + 0xc8], 3
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x52bdc8], eax
call ebx
mov esi, dword [0x52cd20]
mov dword [0x52bdd0], eax
mov eax, dword [0x52cd24]
cmp esi, eax
je 0x43335a
mov dword [esp + 0x14], esi
mov edi, eax
mov edi, edi
push esi
call fcn.00435f00
add esi, 0x43c
cmp esi, edi
jne 0x433340
mov ecx, dword [esp + 0x14]
mov dword [0x52cd24], ecx
mov edx, 0x432b10
test edx, edx
je 0x43336d
mov dword [0x52bdd4], 0x432b10
mov eax, 0x432c00
test eax, eax
je 0x433380
mov dword [0x52bdd8], 0x432c00
mov eax, dword [ebp + 8]
test eax, eax
je 0x43338c
mov dword [0x52bddc], eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x433398
mov dword [0x52bde0], eax
push 0
push 0
push 0
call ebx
push 0
push 0
push 0
mov dword [0x52bdc0], eax
call ebx
push 0
push 0
push 0
mov dword [0x52bdc4], eax
call ebx
mov ecx, dword [0x52cd34]
mov edx, dword [0x52cd30]
mov dword [0x52bdcc], eax
cmp edx, ecx
je 0x4333f3
mov eax, ecx
sub eax, ecx
sar eax, 2
lea esi, [eax*4]
push esi
push ecx
push edx
mov edi, edx
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
add edi, esi
mov dword [0x52cd34], edi
push 0
push 0
push 0
push 0x433530
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esp + 0x14], eax
test eax, eax
je 0x433435
mov ecx, dword [0x52bdcc]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [esp + 0x14]
call fcn.00435260
mov edx, dword [0x52bdcc]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edi, 8
cmp dword [esp + 0x54], edi
jb 0x43344e
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ebx, ebx
xor ecx, ecx
mov esi, 7
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], cx
cmp dword [esp + 0x70], edi
jb 0x433478
mov edx, dword [esp + 0x5c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], ax
cmp dword [esp + 0xa8], edi
jb 0x4334a1
mov ecx, dword [esp + 0x94]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00456bde
mov esp, ebp
pop ebp
ret