Function at 0x441160
Capabilities:
Create thread
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5c8a55
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x694114]
xor eax, esp
mov dword [esp + 0x12c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x144]
mov dword fs:[0], eax
mov eax, dword [esp + 0x154]
mov esi, ecx
mov ecx, dword [esp + 0x158]
lea edx, [esi + 0x10]
push edx
push 4
push eax
push 0x4410b0
xor ebx, ebx
push ecx
push ebx
mov dword [esp + 0x30], ebx
call fcn.00587ee9
add esp, 0x18
mov dword [esi + 4], eax
cmp eax, ebx
jne 0x441660
xor al, al
cmp al, bl
jne 0x441239
lea eax, [esp + 0x11c]
push 0x5fcf00
push eax
call fcn.00423280
add esp, 8
mov esi, eax
mov edi, 1
or dword [esp + 0x18], edi
mov dword [esp + 0x14c], ebx
cmp dword [0x695aa8], ebx
je 0x44121c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, dword [0x695aa8]
je 0x44121c
call fcn.004443b0
jmp 0x441221
mov al, byte [0x68a580]
cmp al, bl
je 0x44123e
push esi
call fcn.00445fa0
add esp, 4
cmp eax, edi
jb 0x44123e
mov byte [esp + 0x17], 1
jmp 0x441242
mov edi, 1
mov byte [esp + 0x17], bl
test byte [esp + 0x18], 1
mov dword [esp + 0x14c], 0xffffffff
je 0x441283
mov ecx, dword [esp + 0x138]
and dword [esp + 0x18], 0xfffffffe
push ecx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x130], 8
jb 0x441283
mov edx, dword [esp + 0x11c]
push edx
call fcn.00584768
add esp, 4
cmp byte [esp + 0x17], bl
je 0x44165c
push str.Cant_create_thread
lea ecx, [esp + 0xd8]
call fcn.00402bb0
mov ebp, 7
xor eax, eax
mov dword [esp + 0x14c], edi
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], ax
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
xor ecx, ecx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], cx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov byte [esp + 0x14c], 3
call fcn.00425e70
cmp eax, ebx
je 0x441306
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0xdc]
push edx
mov ecx, eax
call fcn.00429320
cmp eax, ebx
jne 0x441316
lea eax, [esp + 0xd4]
push eax
call fcn.004292f0
add esp, 4
mov esi, eax
call fcn.00420510
mov dword [esp + 0x20], eax
mov byte [esp + 0x14c], 4
call fcn.00420510
mov dword [esp + 0x24], eax
mov byte [esp + 0x14c], 5
call fcn.00420510
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], ebx
push str.wx.sys_error
lea ecx, [esp + 0xfc]
mov byte [esp + 0x150], 6
call fcn.00402bb0
mov dword [esp + 0x7c], edi
mov dword [esp + 0x84], str....._srcmsw_thread.cpp
mov dword [esp + 0x8c], str.wxThreadInternal::Create
mov dword [esp + 0x88], 0x307
mov dword [esp + 0x90], 0x5fcf00
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor ecx, ecx
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xc0], ebp
mov dword [esp + 0xbc], ebx
mov word [esp + 0xac], cx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebx
mov byte [esp + 0x14c], 8
call sub.KERNEL32.dll_GetLastError
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x100]
push edx
lea ecx, [esp + 0xb8]
mov edi, eax
call fcn.00402610
mov ecx, dword [esp + 0xa8]
cmp ecx, ebx
jne 0x441486
push 0x20
call fcn.00584773
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
mov byte [esp + 0x14c], 9
cmp esi, ebx
je 0x441475
push 0x64
call fcn.00447710
push 4
push eax
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
call fcn.00585c5e
mov dword [esi], eax
push 0x64
mov byte [esp + 0x15c], 0xa
call fcn.00447710
push 4
push eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ebx
call fcn.00585c5e
add esp, 0x18
mov dword [esi + 0x10], eax
mov ecx, esi
jmp 0x441477
xor ecx, ecx
mov byte [esp + 0x14c], 8
mov dword [esp + 0xa8], ecx
lea eax, [esp + 0xf8]
push eax
call fcn.004775a0
lea ecx, [esp + 0x20]
mov dword [eax], edi
call fcn.0041de00
push eax
lea ecx, [esp + 0x80]
push ecx
call fcn.0040b680
mov edx, dword [esp + 0xd0]
push edx
call fcn.005844d1
mov edi, 8
add esp, 0xc
cmp dword [esp + 0xc0], edi
jb 0x4414da
mov eax, dword [esp + 0xac]
push eax
call fcn.00584768
add esp, 4
mov esi, dword [esp + 0xa8]
xor ecx, ecx
mov dword [esp + 0xc0], ebp
mov dword [esp + 0xbc], ebx
mov word [esp + 0xac], cx
mov dword [esp + 0x1c], esi
cmp esi, ebx
je 0x441559
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
push 0x40b5f0
push edx
push eax
mov byte [esp + 0x158], 0xb
call fcn.00447740
mov edi, dword [esi + 0x10]
push edi
mov dword [esi + 0x18], ebx
call fcn.005844d1
mov ecx, dword [esi]
mov edx, dword [esi + 4]
push 0x475ea0
push ecx
push edx
mov byte [esp + 0x168], 7
call fcn.00447740
mov eax, dword [esi]
push eax
mov dword [esi + 8], ebx
call fcn.005844d1
push esi
call fcn.00584768
add esp, 0x24
mov edi, 8
mov eax, dword [esp + 0x114]
push eax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x10c], edi
jb 0x441582
mov ecx, dword [esp + 0xf8]
push ecx
call fcn.00584768
add esp, 4
xor edx, edx
lea ecx, [esp + 0x20]
mov dword [esp + 0x10c], ebp
mov dword [esp + 0x108], ebx
mov word [esp + 0xf8], dx
mov byte [esp + 0x14c], 3
call fcn.004020c0
mov eax, dword [esp + 0x50]
push eax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x48], edi
jb 0x4415cb
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00584768
add esp, 4
mov eax, dword [esp + 0x74]
xor edx, edx
push eax
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], dx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x6c], edi
jb 0x4415fa
mov ecx, dword [esp + 0x58]
push ecx
call fcn.00584768
add esp, 4
mov eax, dword [esp + 0xf0]
xor edx, edx
push eax
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], dx
mov dword [esp + 0x150], 0xffffffff
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xe8], edi
jb 0x44163d
mov ecx, dword [esp + 0xd4]
push ecx
call fcn.00584768
add esp, 4
xor edx, edx
mov dword [esp + 0xe8], ebp
mov dword [esp + 0xe4], ebx
mov word [esp + 0xd4], dx
mov al, 1
jmp 0x4411d4
xor al, al
jmp 0x441672
mov eax, dword [esi + 0xc]
cmp eax, 0x32
je 0x441670
push eax
mov ecx, esi
call fcn.0043f180
mov al, 1
mov ecx, dword [esp + 0x144]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.00585b7b
add esp, 0x13c
ret 8