Function at 0x40a4b9
Capabilities:
Create thread

Disassembly:
push 0x2c
mov eax, 0x48ada2
call fcn.00453498
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov edi, dword [0x48d3a8]
push 0xc
call edi
push eax
push 0xb
call edi
push ecx
mov ecx, esp
mov esi, 0x80
mov edx, eax
mov dword [ecx], esi
call fcn.00404f35
pop ecx
pop ecx
push eax
push 1
push esi
push dword [ebx + 4]
mov esi, dword [0x48d3ac]
call esi
push 0x32
call edi
push eax
push 0x31
call edi
push ecx
mov ecx, esp
mov edi, 0x80
mov edx, eax
mov dword [ecx], edi
call fcn.00404f35
pop ecx
pop ecx
push eax
push 0
push edi
push dword [ebx + 4]
call esi
call dword [0x48d2a0]
push eax
call fcn.00404ec7
mov edi, ebx
lea ecx, [edi + 0x20]
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [eax + 4]
call fcn.00404df1
sub esp, 0xc
lea ecx, [ebx + 4]
call fcn.00404dc2
mov ecx, dword [edi + 0x24]
lea eax, [ebp - 0x2c]
push 0x12c
push 0x49b8c4
push eax
call fcn.00424970
mov ecx, eax
call fcn.00424810
mov ecx, dword [edi + 0x24]
mov esi, eax
push 0x190
push 0x49b8d4
lea eax, [ebp - 0x18]
push eax
call fcn.00424970
mov ecx, eax
call fcn.00424810
push 2
push esi
push eax
xor eax, eax
push eax
push eax
push eax
push dword [ebx + 4]
call dword [0x48d3b0]
call fcn.004042f0
mov ecx, eax
call fcn.0040212b
mov esi, eax
mov edx, 0x49b8e0
mov dword [ebp - 0x1c], esi
mov ecx, esi
call fcn.004261c0
push 0
or edx, 0xffffffff
mov ecx, esi
call fcn.00425d10
pop ecx
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.00404d2f
and dword [ebp - 4], 0
mov ecx, esi
push 0xfffffffffffffffe
pop edx
call fcn.00425480
push 0x49b8f4
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x24]
call fcn.00403fdc
pop ecx
mov byte [ebp - 4], 1
push dword [ebp - 0x24]
push dword [ebx + 4]
call dword [0x48d3bc]
call fcn.0040437a
mov ecx, dword [edi + 0x24]
mov esi, eax
push 0x49b8fc
lea eax, [ebp - 0x2c]
push eax
call fcn.00424900
push eax
push dword [ebx + 4]
mov ecx, esi
call fcn.0041b8d6
mov dword [edi + 0x2c], eax
test eax, eax
je 0x40a881
push 0
lea ecx, [ebx + 4]
call fcn.00404b59
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
push ecx
mov eax, esp
mov byte [ebp - 4], 2
push ecx
lea ecx, [ebp - 0x38]
mov dword [eax], 0x49c43c
mov eax, esp
mov dword [eax], 0x49c44c
call fcn.00407fed
mov edi, dword [ebp - 0x38]
push edi
call dword [0x48d2f4]
push dword [ebp - 0x34]
push dword [0x4b33c8]
call dword [0x48d2f8]
mov esi, eax
test edi, edi
je 0x40a688
push edi
call dword [0x48d27c]
mov edi, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], edi
mov edx, ebx
mov ecx, esi
call fcn.00485500
mulsd xmm0, qword [0x4a1788]
divsd xmm0, qword [0x4a17d8]
call fcn.004853d1
mov ebx, eax
call fcn.0040a365
test al, al
je 0x40a6d4
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
shr ebx, 0x1f
addsd xmm0, qword [ebx*8 + 0x4a1840]
mulsd xmm0, qword [0x4a17b8]
call fcn.004853d1
mov ebx, eax
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x40a6f8
mov eax, dword [ecx + 8]
mov edx, 0x49c454
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movsd qword [eax], xmm0
add dword [ecx + 8], 8
call fcn.00426490
mov eax, dword [ebp - 0x14]
xor ecx, ecx
push ecx
push ecx
push dword [eax + 4]
push 0x40a88c
push ecx
push ecx
call fcn.004622a6
mov esi, eax
add esp, 0x18
mov dword [ebp - 0x30], esi
push 0x49b910
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.00402429
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 4
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x2c]
call fcn.0041f5f7
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov dword [ebp - 0x20], eax
call fcn.0040212e
push 0x49c474
lea ecx, [ebp - 0x1c]
call fcn.00402429
push 0
push 0x4b205c
push 0x4b1f2c
push 0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x20]
push eax
call fcn.0041f639
push eax
call fcn.00456d99
mov byte [ebp - 4], 3
add esp, 0x14
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov dword [ebp - 0x2c], eax
call fcn.0040212e
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x40a7c3
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, eax
call fcn.00421c2f
mov ecx, dword [ebp - 0x14]
push eax
mov byte [ebp - 4], 6
lea ecx, [ecx + 0x40]
call fcn.004061eb
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.0040212e
mov eax, dword [ebp - 0x14]
push 0
push ebx
push 0x2ef8
push dword [eax + 4]
call dword [0x48d3dc]
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40a82e
push 0x49ba5c
lea ecx, [ebp - 0x20]
call fcn.00402429
push 0
push 0x4b2030
push 0x4b1f2c
push 0
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 7
push eax
mov ecx, ebx
call fcn.0041f639
push eax
call fcn.00456d99
mov byte [ebp - 4], 3
add esp, 0x14
mov ecx, dword [ebp - 0x20]
mov ebx, eax
add ecx, 0xfffffff0
call fcn.0040212e
test ebx, ebx
je 0x40a82e
lea ecx, [ebx + 0x2c]
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x14]
mov ecx, ebx
call fcn.0040a8ea
push 0
push 0x42
push 0x2b0f
push dword [ebx + 4]
call dword [0x48d3dc]
test esi, esi
je 0x40a855
push esi
call dword [0x48d304]
test edi, edi
je 0x40a860
push edi
call dword [0x48d27c]
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0040212e
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.0040212e
xor eax, eax
inc eax
call fcn.00453472
ret 0x10
push 0x80004005
call fcn.00402348
int3