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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x480
mov esi, esp
mov dword [esi + 0x468], ebp
mov dword [esi + 0x46c], esp
mov dword [esi + 0x478], 0xffffffff
mov dword [esi + 0x474], 0x10033c50
lea eax, [esi + 0x470]
mov ecx, dword fs:[0]
mov dword [esi + 0x470], ecx
mov dword fs:[0], eax
mov dword [esi + 0x1c0], 1
mov dword [esi + 0x1c4], 1
mov dword [esi + 0x1cc], 0
mov dword [esi + 0x1c8], 4
mov dword [esi + 0x238], 0
movzx eax, byte [0x10283b09]
push 8
push 0x80
call fcn.10013860
add esp, 8
test eax, eax
mov dword [esi + 0x18], eax
je 0x100324f9
mov ebx, eax
lea edi, [esi + 0x1c0]
push 0x80
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lock inc dword [ebx]
jle 0x100325d8
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
push 0xc8
mov eax, dword [ebp + 0x10]
push eax
push edi
mov edi, eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [edi + 0xc8]
mov ecx, dword [edi + 0xcc]
mov edx, eax
xor edx, 3
or edx, ecx
jne 0x10031db8
movaps xmm0, xmmword [0x101d3f30]
lea ecx, [esi + 0x1c0]
movaps xmmword [esi + 0x20], xmm0
jmp 0x10032029
movsd xmm0, qword [edi + 0xd0]
movsd xmm1, qword [edi + 0xd8]
mov dword [esi + 0x478], 9
movsd qword [esi + 0x48], xmm1
movsd qword [esi + 0x40], xmm0
mov dword [esi + 0x38], eax
lea eax, [esi + 0x38]
mov dword [esi + 0x3c], ecx
lea ecx, [esi + 0xf8]
push eax
push ecx
call fcn.10046d40
add esp, 8
movsd xmm1, qword [esi + 0x118]
movsd xmm2, qword [esi + 0x110]
movsd xmm0, qword [esi + 0x120]
movsd xmm3, qword [esi + 0xf8]
test byte [esi + 0x138], 1
lea ecx, [esi + 0x1c0]
movsd qword [esi + 0x308], xmm1
movsd xmm1, qword [esi + 0x108]
movsd qword [esi + 0x300], xmm2
movsd xmm2, qword [esi + 0x130]
movsd qword [esi + 0x310], xmm0
movsd qword [esi + 0x2e8], xmm3
movsd qword [esi + 0x2f8], xmm1
movsd xmm1, qword [esi + 0x100]
movsd qword [esi + 0xa8], xmm2
movsd qword [esi + 0x2f0], xmm1
movsd xmm1, qword [esi + 0x128]
movsd qword [esi + 0xa0], xmm1
je 0x10031f66
mov ecx, dword [esi + 0x144]
mov eax, dword [esi + 0x140]
mov dword [esi + 0x78], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x70], 0x18
mov dword [esi + 0x6c], 0
mov byte [esi + 0xc], 1
mov dword [esi + 0x478], 0xc
lea edx, [esi + 0x3a8]
push ecx
push eax
push edx
call fcn.1017e330
add esp, 0xc
lea edi, [esi + 0x3a8]
mov byte [esi + 0xc], 0
lea eax, [esi + 0x6c]
lea ecx, [esi + 0xf8]
lea edx, [esi + 0x1c0]
push edi
push eax
call fcn.1002c770
add esp, 8
cmp byte [esi + 0x108], 3
je 0x1003259c
mov eax, dword [esi + 0x108]
movsd xmm0, qword [esi + 0xf8]
movsd xmm1, qword [esi + 0x100]
cmp al, 2
mov dword [esi + 0x98], eax
movsd qword [esi + 0x90], xmm1
movsd qword [esi + 0x88], xmm0
je 0x10031f60
mov eax, dword [esi + 0x88]
mov edi, dword [esi + 0x90]
mov ecx, dword [esi + 0x8c]
lea edx, [esi + 0x94]
mov eax, dword [eax + 0x10]
mov byte [esi + 9], 1
mov dword [esi + 0x478], 0xa
push edi
push ecx
push edx
call eax
add esp, 0xc
lea ecx, [esi + 0x1c0]
movsd xmm0, qword [esi + 0xa0]
movsd xmm1, qword [esi + 0xa8]
cmp dword [esi + 0x258], 0
movsd qword [esi + 0x100], xmm1
movsd qword [esi + 0xf8], xmm0
je 0x10031faa
lea ecx, [esi + 0x25c]
mov dword [esi + 0x478], 0xb
call fcn.10023310
lea ecx, [esi + 0x1c0]
movsd xmm1, qword [esi + 0x100]
mov dword [esi + 0x258], 1
movsd xmm2, qword [esi + 0x2f8]
movsd xmm0, qword [esi + 0xf8]
mov dword [esi + 0x478], 4
movsd qword [esi + 0x264], xmm1
movups xmm1, xmmword [esi + 0x2e8]
movsd qword [esi + 0x3a8], xmm2
movsd xmm2, qword [esi + 0x308]
movsd qword [esi + 0x25c], xmm0
movaps xmmword [esi + 0x20], xmm1
movsd xmm1, qword [esi + 0x300]
movsd qword [esi + 0x3b8], xmm2
movsd qword [esi + 0x3b0], xmm1
movsd xmm1, qword [esi + 0x310]
movsd qword [esi + 0x3c0], xmm1
lea eax, [esi + 0xf8]
push 0xc8
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movsd xmm1, qword [esi + 0x3b8]
movsd xmm0, qword [esi + 0x3c0]
movsd xmm2, qword [esi + 0x3a8]
lea eax, [esi + 0x148]
lea ecx, [esi + 0xc0]
mov byte [esi + 0xd], 1
mov byte [esi + 0xe], 1
mov byte [esi + 0xf], 1
mov dword [esi + 0x478], 4
movsd qword [esi + 0x58], xmm1
movsd xmm1, qword [esi + 0x3b0]
movsd qword [esi + 0x60], xmm0
movsd qword [esi + 0x48], xmm2
movsd qword [esi + 0x50], xmm1
movaps xmm1, xmmword [esi + 0x20]
movups xmmword [esi + 0x38], xmm1
push eax
push ecx
call fcn.101b28d0
add esp, 8
movzx ecx, byte [esi + 0x17c]
movsd xmm0, qword [esi + 0x174]
movsd xmm2, qword [esi + 0x16c]
movups xmm1, xmmword [esi + 0x158]
mov edi, dword [esi + 0x168]
mov edx, dword [esi + 0x138]
mov eax, dword [ebp + 0xc]
mov byte [esi + 0xf4], cl
mov ecx, dword [esi + 0x154]
movsd qword [esi + 0xec], xmm0
movsd qword [esi + 0xe4], xmm2
movups xmmword [esi + 0xd0], xmm1
mov dword [esi + 0xcc], ecx
mov dword [esi + 0xe0], edi
mov dword [esi + 0xb0], edx
mov edi, dword [esi + 0x13c]
mov edx, dword [esi + 0x140]
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb8], edx
mov edx, dword [esi + 0x188]
mov edi, dword [esi + 0x144]
cmp edx, 0x3b9aca00
mov dword [esi + 0xbc], edi
mov dword [esi + 0x20], edx
jne 0x10032147
mov ecx, dword [eax + 8]
mov dword [esi + 0x20], ecx
mov ecx, eax
jmp 0x1003214d
lea ecx, [esi + 0x180]
mov eax, dword [eax + 0x10]
mov edi, dword [eax + 8]
mov dword [esi + 0x7c], eax
test edi, edi
je 0x10032517
mov eax, dword [ecx]
mov ebx, dword [esi + 0xf8]
mov dword [esi + 0x14], eax
mov eax, dword [ecx + 4]
lea ecx, [esi + 0x2e8]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0xfc]
mov dword [esi + 0x10], eax
lea eax, [esi + 0x100]
push 0xc0
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [edi + 0xe0]
nop dword [eax]
test al, 1
jne 0x1003223a
cmp eax, 0xfffffffe
je 0x100325da
lea ecx, [eax + 2]
lock cmpxchg dword [edi + 0xe0], ecx
jne 0x100321a0
mov eax, dword [esi + 0x10]
mov dword [esi + 0x1c0], ebx
mov dword [esi + 0x1c4], eax
lea eax, [esi + 0x1c8]
push 0xc0
lea ecx, [esi + 0x2e8]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0x18]
lea ecx, [esi + 0x1c0]
mov dword [esi + 0x10], edi
mov byte [esi + 4], 1
mov byte [esi + 5], 1
mov byte [esi + 6], 0
mov dword [esi + 0x478], 5
mov dword [esi + 0x288], eax
lea eax, [edi + 0x40]
push ecx
push eax
call fcn.100d8a80
add esp, 8
mov eax, dword [esi + 0x10]
mov byte [esi + 4], 1
mov byte [esi + 5], 1
mov byte [esi + 6], 0
sub eax, 0xffffff80
push eax
call fcn.1014c120
add esp, 4
jmp 0x10032267
lea edi, [esi + 0x3a8]
push 0xc0
lea eax, [esi + 0x2e8]
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, ebx
mov ecx, ebx
mov ebx, dword [esi + 0x10]
xor eax, 3
or eax, ebx
jne 0x10032546
mov eax, dword [esi + 0x40]
mov dword [esi + 0x478], 5
xor eax, 2
or eax, dword [esi + 0x44]
jne 0x100322c1
mov eax, dword [esi + 0x18]
mov byte [esi + 4], 1
mov byte [esi + 5], 0
mov byte [esi + 6], 0
mov dword [esi + 0x1c0], eax
mov al, 1
mov byte [esi + 0x1c8], 0
mov dword [esi + 0x10], eax
push dword [esi + 0x20]
push dword [esi + 0x1c]
push dword [esi + 0x14]
lea eax, [esi + 0x1c0]
push eax
lea eax, [esi + 0x2e8]
push eax
call fcn.100cfaf0
add esp, 0x14
jmp 0x10032351
movsd xmm1, qword [esi + 0x58]
movsd xmm2, qword [esi + 0x50]
movsd xmm0, qword [esi + 0x60]
mov eax, dword [esi + 0x18]
mov byte [esi + 4], 0
mov byte [esi + 5], 0
mov byte [esi + 6], 0
movsd qword [esi + 0x1e0], xmm1
movsd xmm1, qword [esi + 0x48]
movsd qword [esi + 0x1d8], xmm2
movsd xmm2, qword [esi + 0x38]
movsd qword [esi + 0x1e8], xmm0
movsd qword [esi + 0x1d0], xmm1
movsd xmm1, qword [esi + 0x40]
movsd qword [esi + 0x1c0], xmm2
movsd qword [esi + 0x1c8], xmm1
mov dword [esi + 0x1f0], eax
mov byte [esi + 0x1f4], 0
push dword [esi + 0x20]
push dword [esi + 0x1c]
push dword [esi + 0x14]
lea eax, [esi + 0x1c0]
push eax
lea eax, [esi + 0x2e8]
push eax
call fcn.100d0330
add esp, 0x14
mov dword [esi + 0x10], 0
mov eax, dword [esi + 0x2e8]
mov ecx, eax
and cl, 7
cmp cl, 3
je 0x100323cc
cmp eax, 4
jne 0x10032415
mov edi, dword [esi + 0x2f0]
test edi, edi
jne 0x100323d2
mov word [esi + 0x3f0], 1
mov dword [esi + 0x3f4], 1
mov dword [esi + 0x3f8], 0x101d73b4
mov dword [esi + 0x3a8], 2
movzx eax, byte [0x10283b09]
push 4
push 0x54
call fcn.10013860
add esp, 8
test eax, eax
je 0x100325c2
mov edi, eax
lea eax, [esi + 0x3a8]
push 0x54
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x100323d2
mov edi, dword [esi + 0x2f0]
cmp dword [edi], 2
je 0x100323ec
mov eax, dword [edi + 0x10]
test eax, eax
je 0x100323ec
push 1
push eax
push dword [edi + 0x14]
call fcn.10013870
add esp, 0xc
lea eax, [esi + 0xb0]
push 0x48
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [eax + 8], edi
mov edi, eax
mov dword [eax + 4], 0
mov dword [eax], 3
jmp 0x1003246d
mov ebx, dword [esi + 0x7c]
lock inc dword [ebx]
jle 0x100325d8
push 0x60
lea eax, [esi + 0x2e8]
push eax
mov edi, dword [ebp + 8]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x64], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x60], eax
mov eax, dword [esi + 0x20]
mov dword [edi + 0x68], eax
mov eax, dword [esi + 0xc0]
mov dword [edi + 0x70], 0
mov dword [edi + 0x78], ebx
test eax, eax
je 0x1003246d
push 1
push eax
push dword [esi + 0xc4]
call fcn.10013870
add esp, 0xc
mov eax, dword [esi + 0x40]
xor eax, 2
or eax, dword [esi + 0x44]
je 0x100324e3
cmp byte [esi + 0x10], 0
je 0x100324e3
mov eax, dword [esi + 0x38]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x14], eax
mov eax, dword [eax]
test eax, eax
je 0x100324a2
mov dword [esi + 0x478], 8
push dword [esi + 0x20]
call eax
add esp, 4
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0x20]
mov eax, dword [edx + 4]
test eax, eax
je 0x100324c6
push dword [edx + 8]
push eax
push ecx
call fcn.10013870
add esp, 0xc
mov dword [esi + 0x478], 3
lea ecx, [esi + 0x50]
mov byte [esi + 7], 0
mov byte [esi + 8], 0
mov dword [esi + 0x478], 3
call fcn.1002acd0
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0x470]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esi + 0x478], 1
push 0x80
push 8
call fcn.101cb670
add esp, 8
jmp 0x100325d8
mov byte [esi + 4], 1
mov byte [esi + 5], 1
mov byte [esi + 6], 1
mov dword [esi + 0x478], 5
push 0x101d5000
push 0x18
push str.core_thread_exited_early
call fcn.101cb830
add esp, 0xc
jmp 0x100325d8
mov dword [esi + 0x1c0], ecx
mov dword [esi + 0x1c4], ebx
lea eax, [esi + 0x1c8]
push 0xc0
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0x18]
mov dword [esi + 0x478], 6
mov dword [esi + 0x288], eax
push 0x101d5024
push 0x101d4120
lea eax, [esi + 0x1c0]
push eax
push 0x14
push str.core_thread_panicked
call fcn.101cbbf0
add esp, 0x14
jmp 0x100325d8
mov byte [esi + 0xc], 0
lea eax, [esi + 0x88]
push 0x101d453c
push 0x101d4140
push eax
push 0x17
push 0x101d4522
call fcn.101cbbf0
add esp, 0x14
jmp 0x100325d8
mov dword [esi + 0x478], 7
push 0x54
push 4
call fcn.101cb670
add esp, 8
ud2
mov ecx, 7
int 0x29
ud2