Function at 0x446060
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x110
mov esi, esp
mov dword [esi + 0xf8], ebp
mov ebx, ecx
mov dword [esi + 0xfc], esp
mov dword [esi + 0x108], 0xffffffff
lea eax, [esi + 0x100]
mov dword [esi + 0x104], 0x453f10
mov ecx, dword fs:[0]
mov dword [esi + 0x100], ecx
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
sub ecx, dword [ebp + 0xc]
mov dword [ebx + 0xc], ecx
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 4]
sub edx, dword [eax]
lea edi, [ebp + 8]
sar edx, 1
cmp ecx, edx
jbe 0x4460d0
xor ebx, ebx
jmp 0x446a7c
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
add eax, eax
mov dword [esi + 8], eax
mov dword [esi], ebx
mov eax, dword [ebx + 0x14]
test eax, eax
jne 0x446101
mov dword [esi + 0x108], 0
push 1
push ecx
push ecx
push dword [esi + 8]
call fcn.0045f350
add esp, 0x10
mov ecx, dword [esi]
mov dword [ecx + 0x14], eax
lea ecx, [esi + 0x64]
mov dword [esi + 0x108], 0
push eax
call fcn.00460550
mov dword [esi + 0xe8], 0
mov dword [esi + 0xec], 0
mov dword [esi + 0xf0], 0
lea eax, [ebp + 8]
mov eax, dword [eax + 4]
mov dword [esi + 0xcc], eax
mov eax, dword [esi + 0x70]
mov dword [esi + 0xc], eax
mov ebx, dword [esi + 0x74]
mov edi, dword [esi + 0x78]
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x80]
mov dword [esi + 0xf4], eax
mov ecx, edi
shr ecx, 1
add ecx, dword [esi + 8]
mov eax, ecx
xor edx, edx
div edi
cmp edi, ecx
mov ecx, 1
cmovbe ecx, eax
mov edi, dword [esi + 8]
lea eax, [ecx + edi]
add eax, 0xffffffff
xor edx, edx
div ecx
add eax, ebx
add eax, 0xffffffff
neg ebx
and ebx, eax
mov ecx, dword [esi]
mov dword [ecx + 8], ebx
lea eax, [ebx + edi]
add eax, 0xffffffff
xor edx, edx
div ebx
mov dword [ecx + 4], eax
mov edx, dword [ecx]
test edx, edx
je 0x4461b2
push edx
call fcn.004c99dd
mov ecx, dword [esi]
add esp, 4
mov eax, dword [ecx + 4]
mov ebx, dword [ecx + 8]
imul eax, ebx
imul eax, dword [ecx + 0xc]
push dword [esi + 0xc]
mov dword [esi + 0x34], eax
push eax
mov edi, ecx
call fcn.004c99f7
add esp, 8
mov dword [edi], eax
cmp dword [esi + 0xa8], 0x448d70
setne byte [esi + 0x10]
lea eax, [ebp + 8]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, eax
sub edx, ecx
sar edx, 1
mov edi, dword [edi + 0xc]
mov dword [esi + 4], edi
mov dword [esi + 0x108], 1
sub esp, 0x10
mov bl, byte [esi + 0x38]
mov byte [esp + 0xc], bl
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00449e80
add esp, 0x10
cmp byte [0x50d878], 0
jne 0x44622d
mov byte [0x50d878], 1
call fcn.0045ea00
mov edi, dword [esi]
mov eax, dword [edi]
mov dword [esi + 0xd0], eax
mov ecx, dword [edi + 8]
lea edx, [eax + ecx]
mov dword [esi + 0xd4], edx
lea edx, [eax + ecx*2]
mov dword [esi + 0xd8], edx
lea edx, [ecx + ecx*2]
add edx, eax
mov dword [esi + 0xdc], edx
lea edx, [eax + ecx*4]
mov dword [esi + 0xe0], edx
lea ecx, [ecx + ecx*4]
add ecx, eax
mov dword [esi + 0xe4], ecx
cmp dword [edi + 0xc], 0xa
mov ecx, 1
jb 0x44627b
mov edx, edi
mov ecx, dword [edi + 0x10]
cmp ecx, 2
mov dword [esi + 0x24], ecx
jb 0x4463e9
mov eax, dword [esi + 0xf0]
sub eax, dword [esi + 0xe8]
sar eax, 4
imul eax, eax, 0xb6db6db7
cmp eax, ecx
jae 0x4462ba
mov eax, dword [esi + 0x24]
cmp eax, 0x2492493
jae 0x446acb
lea ecx, [esi + 0xe8]
push eax
call fcn.0044a4b0
xor eax, eax
jmp 0x4462c9
mov esp, dword [esi + 0xc]
mov eax, dword [esi + 8]
add eax, 1
cmp eax, dword [esi + 0x24]
lea ebx, [ebp + 8]
jae 0x4463f6
mov dword [esi + 8], eax
mov edx, dword [esi + 0xec]
mov dword [esi + 0x108], 1
cmp edx, dword [esi + 0xf0]
je 0x446350
lea eax, [esi + 0x64]
mov dword [edx], eax
mov dword [esi + 0xc], edx
lea ecx, [edx + 8]
mov dword [esi + 0x1c], ecx
call fcn.00449320
mov eax, dword [esi + 0xc]
mov dword [eax + 0x5c], 0
mov byte [eax + 0x60], 0
mov dword [eax + 0x64], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x28], 0
mov word [eax + 0x30], 0
mov dword [esi + 0x108], 2
lea ecx, [esi + 0x64]
call fcn.004605c0
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x68], eax
add dword [esi + 0xec], 0x70
jmp 0x446360
lea ecx, [esi + 0xe8]
lea eax, [esi + 0x64]
push eax
push edx
call fcn.00448d80
mov dword [esi + 0xc], esp
mov eax, dword [esi + 0xe8]
imul ecx, dword [esi + 8], 0x70
mov dword [eax + ecx + 0x64], str.gauss_worker
mov eax, dword [esi + 0xe8]
sub esp, 0x28
mov ebx, esp
mov dword [ebx], vtable.std::_Func_impl_no_alloc_void____cdecl___class_ThreadMessageQueue_void______void__class_ThreadMessageQueue_void____.0
mov dword [ebx + 4], 0x446d40
mov dword [ebx + 0x24], ebx
mov dword [esi + 0x38], vtable.std::_Func_impl_no_alloc_void____cdecl___class_ThreadMessageQueue_void______void__class_ThreadMessageQueue_void____.0
mov dword [esi + 0x3c], 0x446d40
lea edi, [esi + 0x38]
mov dword [esi + 0x5c], edi
add eax, ecx
add eax, 0x38
mov ecx, edi
push eax
call fcn.00449bd0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x4463c5
xor eax, eax
cmp ecx, edi
setne al
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x4462c0
xor eax, eax
cmp ecx, ebx
setne al
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov dword [ebx + 0x24], 0
jmp 0x4462c0
lea ecx, [esi + 0x64]
call fcn.004605c0
lea ebx, [ebp + 8]
jmp 0x4463ff
mov eax, dword [esi + 0xe8]
mov eax, dword [eax + 0x68]
mov dword [esi + 0xc8], eax
mov dword [esi + 0x2c], 0
mov eax, 0x80000
xor edx, edx
mov ecx, dword [esi]
div dword [ecx + 8]
mov edx, ecx
mov ecx, eax
mov edi, dword [edx + 4]
cmp edi, dword [esi + 0x24]
jae 0x446430
mov eax, dword [esi + 0x24]
xor edx, edx
div edi
mov edx, dword [esi]
imul ecx, eax
mov eax, dword [esi + 0x28]
cmp eax, 6
mov edi, 6
cmovb edi, eax
add edi, edi
cmp ecx, edi
cmovae edi, ecx
mov eax, dword [edx + 0xc]
cmp edi, eax
cmova edi, eax
mov dword [esi + 0x1c], edi
imul edi, edi
test edi, edi
je 0x44649d
js 0x446ab2
lea eax, [edi + edi]
cmp edi, 0x800
mov dword [esi + 8], edi
mov dword [esi + 0xc], eax
jb 0x4464a1
mov dword [esi + 0x108], 1
cmp edi, 0x7fffffef
jae 0x446ac1
add eax, 0x23
push eax
call fcn.004a880e
add esp, 4
mov ecx, eax
add ecx, 0x23
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x4464b6
xor edi, edi
jmp 0x4464d4
mov dword [esi + 0x108], 1
push eax
call fcn.004a880e
add esp, 4
mov ecx, eax
mov eax, dword [esi + 8]
lea eax, [ecx + eax*2]
mov dword [esi + 0x2c], eax
push dword [esi + 0xc]
push 0
push ecx
mov edi, ecx
call fcn.004c4c10
add esp, 0xc
lea ebx, [ebp + 8]
mov edx, dword [esi]
xor eax, eax
mov cl, byte [esi + 0x10]
mov al, cl
mov ecx, dword [esi + 4]
lea eax, [ecx + eax*2]
add eax, 1
mov dword [esi + 8], eax
mov dword [esi + 0x20], edi
mov dword [esi + 0x60], edi
jmp 0x446514
mov edi, dword [ebx + 8]
mov ecx, dword [edi]
lea edx, [ecx + eax*2]
lea eax, [ecx + eax*2]
add eax, 2
mov ecx, dword [edi + 4]
sub ecx, eax
push ecx
push eax
push edx
call fcn.004c4690
mov edx, dword [esi]
add esp, 0xc
add dword [edi + 4], 0xfffffffe
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
sar ecx, 1
cmp dword [edx + 0xc], ecx
ja 0x4469b2
mov ecx, dword [ebx + 0x30]
mov dword [esi + 0x108], 3
test ecx, ecx
je 0x44655a
mov eax, dword [esi + 8]
mov word [esi + 0x38], ax
mov word [esi + 0x1a], 0
mov eax, dword [ecx]
lea edx, [esi + 0x38]
push edx
lea edx, [esi + 0x1a]
push edx
call dword [eax + 8]
lea ebx, [ebp + 8]
mov eax, dword [ebx + 8]
mov edx, dword [esi]
mov ecx, edx
push eax
push dword [ebx + 4]
push dword [ebx]
call fcn.004453a0
mov eax, dword [esi + 0xa8]
cmp eax, 0x448d70
je 0x4465c0
lea ecx, [ebp + 8]
mov ecx, dword [ecx + 0x30]
test ecx, ecx
je 0x44659e
mov eax, dword [esi + 8]
mov word [esi + 0x38], ax
mov word [esi + 0x1a], 1
mov eax, dword [ecx]
lea edx, [esi + 0x38]
push edx
lea edx, [esi + 0x1a]
push edx
call dword [eax + 8]
mov eax, dword [esi + 0xa8]
mov ecx, dword [esi]
mov ecx, dword [ecx]
mov word [esi + 0xc], 2
push dword [esi + 0x34]
push ecx
push ecx
call eax
add esp, 0xc
jmp 0x4465c6
mov word [esi + 0xc], 1
mov dword [esi + 0x38], 0
mov eax, dword [esi + 0x28]
cmp eax, 6
jb 0x446670
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
cmp eax, 6
lea ebx, [ebp + 8]
jb 0x446681
mov dword [esi + 0x10], esp
push eax
sub esp, 0x38
mov edi, esp
mov dword [edi + 0x30], 0
mov ecx, dword [ebx + 0x30]
test ecx, ecx
je 0x446623
mov dword [esi + 4], edi
add edi, 0xc
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [esi + 0x108], 9
mov dword [esi + 0x14], edi
push edi
call eax
mov edi, dword [esi + 4]
mov dword [edi + 0x30], eax
mov edx, dword [esi]
lea eax, [esi + 0x60]
mov dword [edi], eax
lea eax, [esi + 0x38]
mov dword [edi + 4], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 8], eax
movzx eax, word [esi + 0xc]
mov word [edi + 0x34], ax
mov eax, dword [esi + 8]
mov word [edi + 0x38], ax
mov dword [esi + 0x108], 3
mov ecx, edx
call fcn.00446e10
mov esp, dword [esi + 0x10]
test eax, eax
lea ebx, [ebp + 8]
mov edx, dword [esi]
jns 0x4464f0
jmp 0x44667e
cmp eax, 5
lea ebx, [ebp + 8]
mov edx, dword [esi]
jne 0x446710
mov eax, dword [edx + 0xc]
cmp eax, 5
jb 0x44671a
mov dword [esi + 0x10], esp
push eax
sub esp, 0x38
mov edi, esp
mov dword [edi + 0x30], 0
mov ecx, dword [ebx + 0x30]
test ecx, ecx
je 0x4466c3
mov dword [esi + 4], edi
add edi, 0xc
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [esi + 0x108], 8
mov dword [esi + 0x14], edi
push edi
call eax
mov edi, dword [esi + 4]
mov dword [edi + 0x30], eax
mov edx, dword [esi]
lea eax, [esi + 0x60]
mov dword [edi], eax
lea eax, [esi + 0x38]
mov dword [edi + 4], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 8], eax
movzx eax, word [esi + 0xc]
mov word [edi + 0x34], ax
mov eax, dword [esi + 8]
mov word [edi + 0x38], ax
mov dword [esi + 0x108], 3
mov ecx, edx
call fcn.00447330
mov esp, dword [esi + 0x10]
test eax, eax
lea ebx, [ebp + 8]
mov edx, dword [esi]
jns 0x4464f0
jmp 0x44671a
cmp dword [esi + 0x28], 4
jb 0x4467a2
mov eax, dword [edx + 0xc]
cmp eax, 4
jb 0x4467af
mov dword [esi + 0x10], esp
push eax
sub esp, 0x38
mov edi, esp
mov dword [edi + 0x30], 0
mov ecx, dword [ebx + 0x30]
test ecx, ecx
je 0x44675f
mov dword [esi + 4], edi
add edi, 0xc
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [esi + 0x108], 7
mov dword [esi + 0x14], edi
push edi
call eax
mov edi, dword [esi + 4]
mov dword [edi + 0x30], eax
mov edx, dword [esi]
lea eax, [esi + 0x60]
mov dword [edi], eax
lea eax, [esi + 0x38]
mov dword [edi + 4], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 8], eax
movzx eax, word [esi + 0xc]
mov word [edi + 0x34], ax
mov eax, dword [esi + 8]
mov word [edi + 0x38], ax
mov dword [esi + 0x108], 3
mov ecx, edx
call fcn.00447840
mov esp, dword [esi + 0x10]
test eax, eax
lea ebx, [ebp + 8]
mov edx, dword [esi]
jns 0x4464f0
jmp 0x4467ac
cmp dword [esi + 0x28], 3
jne 0x446834
mov eax, dword [edx + 0xc]
cmp eax, 3
jb 0x446840
mov dword [esi + 0x10], esp
push eax
sub esp, 0x38
mov edi, esp
mov dword [edi + 0x30], 0
mov ecx, dword [ebx + 0x30]
test ecx, ecx
je 0x4467f1
mov dword [esi + 4], edi
add edi, 0xc
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [esi + 0x108], 6
mov dword [esi + 0x14], edi
push edi
call eax
mov edi, dword [esi + 4]
mov dword [edi + 0x30], eax
mov edx, dword [esi]
lea eax, [esi + 0x60]
mov dword [edi], eax
lea eax, [esi + 0x38]
mov dword [edi + 4], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 8], eax
movzx eax, word [esi + 0xc]
mov word [edi + 0x34], ax
mov eax, dword [esi + 8]
mov word [edi + 0x38], ax
mov dword [esi + 0x108], 3
mov ecx, edx
call fcn.00447d50
mov esp, dword [esi + 0x10]
test eax, eax
lea ebx, [ebp + 8]
mov edx, dword [esi]
jns 0x4464f0
jmp 0x446840
cmp dword [esi + 0x28], 2
jb 0x4468c8
nop
mov eax, dword [edx + 0xc]
cmp eax, 2
jb 0x4468d1
mov dword [esi + 0x10], esp
push eax
sub esp, 0x38
mov edi, esp
mov dword [edi + 0x30], 0
mov ecx, dword [ebx + 0x30]
test ecx, ecx
je 0x446885
mov dword [esi + 4], edi
add edi, 0xc
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [esi + 0x108], 5
mov dword [esi + 0x14], edi
push edi
call eax
mov edi, dword [esi + 4]
mov dword [edi + 0x30], eax
mov edx, dword [esi]
lea eax, [esi + 0x60]
mov dword [edi], eax
lea eax, [esi + 0x38]
mov dword [edi + 4], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 8], eax
movzx eax, word [esi + 0xc]
mov word [edi + 0x34], ax
mov eax, dword [esi + 8]
mov word [edi + 0x38], ax
mov dword [esi + 0x108], 3
mov ecx, edx
call fcn.00448260
mov esp, dword [esi + 0x10]
test eax, eax
lea ebx, [ebp + 8]
mov edx, dword [esi]
jns 0x4464f0
jmp 0x4468ce
cmp dword [esi + 0x28], 0
je 0x44694d
mov eax, dword [edx + 0xc]
test eax, eax
je 0x44694d
mov dword [esi + 0x10], esp
push eax
sub esp, 0x38
mov edi, esp
mov dword [edi + 0x30], 0
mov ecx, dword [ebx + 0x30]
test ecx, ecx
je 0x44690e
mov dword [esi + 4], edi
add edi, 0xc
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [esi + 0x108], 4
mov dword [esi + 0x14], edi
push edi
call eax
mov edi, dword [esi + 4]
mov dword [edi + 0x30], eax
mov edx, dword [esi]
lea eax, [esi + 0x60]
mov dword [edi], eax
lea eax, [esi + 0x38]
mov dword [edi + 4], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 8], eax
movzx eax, word [esi + 0xc]
mov word [edi + 0x34], ax
mov eax, dword [esi + 8]
mov word [edi + 0x38], ax
mov dword [esi + 0x108], 3
mov ecx, edx
call fcn.00448770
mov esp, dword [esi + 0x10]
test eax, eax
lea ebx, [ebp + 8]
jns 0x4464f0
cmp dword [esi + 0xa8], 0x448d70
je 0x44698e
lea eax, [ebp + 8]
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x44697e
mov edx, dword [esi + 8]
lea eax, [edx - 1]
mov word [esi + 0x1a], dx
mov word [esi + 0x32], ax
mov eax, dword [ecx]
lea edx, [esi + 0x32]
lea edi, [esi + 0x1a]
push edi
push edx
call dword [eax + 8]
push dword [esi + 0x34]
mov eax, dword [esi]
push dword [eax]
call dword [esi + 0xac]
add esp, 8
lea eax, [ebp + 8]
mov edi, dword [eax + 8]
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
mov ebx, dword [edi]
mov ecx, dword [edi + 4]
mov dword [esi], ecx
sub ecx, ebx
sar ecx, 1
mov edx, eax
sub edx, ecx
jae 0x4469eb
lea eax, [ebx + eax*2]
mov dword [edi + 4], eax
jmp 0x446a1c
cmp dword [esi + 0x24], 1
ja 0x4469d1
mov eax, dword [esi + 0xc8]
mov dword [esi + 0x108], 3
lea ecx, [esi + 0x64]
push eax
call fcn.004605f0
mov edi, dword [esi]
push dword [edi]
call fcn.004c99dd
add esp, 4
mov dword [edi], 0
mov dword [esi], 0
jmp 0x446a34
jbe 0x446a1c
mov ecx, dword [edi + 8]
sub ecx, ebx
sar ecx, 1
cmp ecx, eax
jae 0x446a06
mov ecx, edi
lea edx, [esi + 0x38]
push edx
push eax
call fcn.00453df0
jmp 0x446a1c
mov eax, dword [esi]
lea ebx, [eax + edx*2]
add edx, edx
push edx
push 0
push eax
call fcn.004c4c10
add esp, 0xc
mov dword [edi + 4], ebx
mov al, 1
mov dword [esi], eax
cmp dword [esi + 0x24], 1
ja 0x446a34
lea ecx, [esi + 0x64]
push dword [esi + 0xc8]
call fcn.004605f0
mov edx, dword [esi + 0x20]
test edx, edx
lea edi, [ebp + 8]
je 0x446a67
mov ecx, dword [esi + 0x2c]
sub ecx, edx
cmp ecx, 0x1000
jb 0x446a5d
mov eax, dword [edx - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x446ac6
add ecx, 0x23
mov edx, eax
push ecx
push edx
call fcn.004a8843
add esp, 8
lea ecx, [esi + 0xe8]
call fcn.00449d40
lea ecx, [esi + 0x64]
call fcn.00448d60
mov ebx, dword [esi]
mov ecx, dword [edi + 0x30]
test ecx, ecx
je 0x446a9a
xor eax, eax
lea edx, [ebp + 0x14]
cmp ecx, edx
setne al
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov dword [edi + 0x30], 0
mov eax, dword [esi + 0x100]
mov dword fs:[0], eax
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x34
mov dword [esi + 0x108], 1
call fcn.00417760
call fcn.00407020
call fcn.004cc578
call fcn.00417760
push ebp
sub esp, 0x3c
lea esi, [ebp - 0x10c]
mov ebp, dword [esi + 0xf8]
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x446b04
xor eax, eax
cmp ecx, edx
setne al
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
mov eax, dword [esi + 4]
mov dword [eax + 0x30], 0
add esp, 0x3c
pop ebp
ret