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

Disassembly:
sub esp, 0x14c
mov eax, 0x2aaaaaab
push ebx
push ebp
mov ebp, dword [0x10249618]
push esi
push edi
mov ecx, dword [ebp + 0x1c]
sub ecx, dword [ebp + 0x18]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [0x10247370], eax
jb 0x10021869
mov dword [0x10247370], 0xffffffff
push str.map_files
call fcn.100c0160
mov eax, dword [0x1024b4a8]
lea edx, [esp + 0x14]
add esp, 4
mov dword [esp + 0x10], 0
mov ecx, 0x10219b16
movss xmm0, dword [eax + 0x1940]
addss xmm0, dword [eax + 0x1574]
movss xmm1, dword [eax + 0x1564]
addss xmm1, xmm1
mulss xmm0, dword [0x1024076c]
addss xmm0, xmm1
movss dword [esp + 0x14], xmm0
call fcn.100cda50
mov ecx, dword [ebp + 0x1c]
mov eax, 0x2aaaaaab
mov edi, dword [ebp + 0x18]
xor esi, esi
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1002193e
mov dword [esp + 0x10], esi
xor ebx, ebx
mov dword [esp + 0x14], esi
nop word [eax + eax]
cmp dword [0x10247370], esi
lea ecx, [ebx + edi]
sete dl
cmp dword [ecx + 0x14], 0xf
jbe 0x10021904
mov ecx, dword [ecx]
lea eax, [esp + 0x10]
push eax
push 0
call fcn.100cd120
add esp, 8
test al, al
je 0x1002191d
mov dword [0x10247370], esi
mov ecx, dword [ebp + 0x1c]
mov eax, 0x2aaaaaab
mov edi, dword [ebp + 0x18]
inc esi
sub ecx, edi
add ebx, 0x18
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x100218f0
call fcn.100a8a80
call fcn.100ae8c0
push 0
push 0
push 0
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push 0x20
push 0x1027cbe8
mov edx, str.route_name
mov dword [esp + 0x2c], 0
mov ecx, 0x1021a228
call fcn.100c6f10
mov eax, dword [0x1024b4a8]
add esp, 0x18
cmp byte [eax + 0x1d97], 0
mov ecx, dword [eax + 0x1bac]
je 0x100219cb
cmp byte [eax + 0x1d96], 0
jne 0x100219cb
test byte [eax + 0x1c4c], 4
jne 0x10021a5e
mov ecx, dword [eax + 0x1d48]
cmp ecx, dword [eax + 0x1c48]
jne 0x100219bc
test ecx, ecx
je 0x100219bc
mov al, 1
jmp 0x100219be
xor al, al
test al, al
je 0x10021a5e
jmp 0x10021a51
mov edx, dword [eax + 0x1c50]
test dl, 1
je 0x10021a5e
cmp dword [eax + 0x1bb0], ecx
je 0x100219e6
test dl, dl
jns 0x10021a5e
mov edx, dword [eax + 0x1be0]
test edx, edx
je 0x10021a06
cmp edx, dword [eax + 0x1c48]
je 0x10021a06
cmp byte [eax + 0x1bed], 0
jne 0x10021a06
cmp edx, dword [ecx + 0x70]
jne 0x10021a5e
mov edx, dword [eax + 0x1d44]
test edx, edx
je 0x10021a34
mov edx, dword [edx + 0x32c]
test edx, edx
je 0x10021a34
cmp byte [edx + 0xab], 0
je 0x10021a34
cmp edx, dword [ecx + 0x32c]
je 0x10021a34
test dword [edx + 0x10], 0xc000000
jne 0x10021a5e
test byte [eax + 0x1c4c], 4
jne 0x10021a5e
mov eax, dword [eax + 0x1c48]
cmp eax, dword [ecx + 0x70]
jne 0x10021a51
cmp byte [ecx + 0xac], 0
jne 0x10021a5e
push str.press_enter_to_create_a_new_record
call fcn.100af210
add esp, 4
cmp dword [0x10247370], 0xffffffff
je 0x10021aed
push 0
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], 0xbf800000
mov ecx, str.save_route
mov dword [esp + 0x20], 0x41700000
call fcn.100c0980
add esp, 4
test al, al
je 0x10021aed
mov esi, dword [0x10249618]
sub esp, 0x18
mov edi, dword [0x10247370]
mov ecx, esp
mov edx, 0x1027cbe8
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
lea ebx, [edx + 1]
mov dword [ecx + 0x14], 0
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x10021ac0
sub edx, ebx
push edx
push 0x1027cbe8
call fcn.10003bc0
push edi
mov ecx, esi
call fcn.10024b90
xorps xmm0, xmm0
movups xmmword [0x1027cbe8], xmm0
movups xmmword [0x1027cbf8], xmm0
mov ecx, dword [0x1024b32c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x10021c98
push 0
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0xbf800000
mov ecx, str.create_file_map
mov dword [esp + 0x18], 0x41700000
call fcn.100c0980
add esp, 4
test al, al
je 0x10021c98
mov eax, dword [0x102812e8]
lea ecx, [esp + 0xe0]
movss xmm0, dword [0x10240668]
divss xmm0, dword [eax + 0x20]
cvttss2si edx, xmm0
call fcn.100148b0
mov ecx, dword [0x1024b32c]
mov esi, eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xd4]
call edx
mov edx, eax
lea edi, [edx + 1]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x10021b66
sub edx, edi
mov ecx, esi
push edx
push eax
push 0
call fcn.100139f0
mov dword [esp + 0x78], 0
xorps xmm0, xmm0
movups xmmword [esp + 0x68], xmm0
mov dword [esp + 0x7c], 0
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x68], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x78], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [esp + 0xf4]
cmp ecx, 0xf
jbe 0x10021bf4
mov edx, dword [esp + 0xe0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10021bea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10021bea
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1018b662
add esp, 8
cmp dword [esp + 0x7c], 0xf
lea eax, [esp + 0x68]
mov ecx, dword [0x10249618]
cmova eax, dword [esp + 0x68]
push eax
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0xf
mov byte [esp + 0xe4], 0
call fcn.100258e0
mov ecx, dword [esp + 0x7c]
xorps xmm0, xmm0
movups xmmword [0x1027cbe8], xmm0
movups xmmword [0x1027cbf8], xmm0
movups xmmword [0x1027cc08], xmm0
movups xmmword [0x1027cc18], xmm0
cmp ecx, 0xf
jbe 0x10021c83
mov edx, dword [esp + 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10021c79
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10021c79
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1018b662
add esp, 8
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0xf
mov byte [esp + 0x68], 0
cmp dword [0x10247370], 0xffffffff
je 0x10022520
push 0
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0xbf800000
mov ecx, str.load_selected_map_file
mov dword [esp + 0x18], 0x41700000
call fcn.100c0980
add esp, 4
test al, al
je 0x10021cfc
push dword [0x10247370]
mov ecx, dword [0x10249618]
call fcn.10024000
xorps xmm0, xmm0
movups xmmword [0x1027cbe8], xmm0
movups xmmword [0x1027cbf8], xmm0
movups xmmword [0x1027cc08], xmm0
movups xmmword [0x1027cc18], xmm0
push 0
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0xbf800000
mov ecx, str.delete_selected_map_file
mov dword [esp + 0x18], 0x41700000
call fcn.100c0980
add esp, 4
test al, al
je 0x10021d5d
push dword [0x10247370]
mov ecx, dword [0x10249618]
call fcn.10025db0
xorps xmm0, xmm0
mov dword [0x10247370], 0xffffffff
movups xmmword [0x1027cbe8], xmm0
movups xmmword [0x1027cbf8], xmm0
movups xmmword [0x1027cc08], xmm0
movups xmmword [0x1027cc18], xmm0
push 0
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0xbf800000
mov ecx, str.clear_routes_from_map_file
mov dword [esp + 0x18], 0x41700000
call fcn.100c0980
add esp, 4
test al, al
je 0x10021dac
mov esi, dword [0x1027cc3c]
mov edi, dword [0x1027cc40]
cmp esi, edi
je 0x10021dac
mov ecx, esi
call fcn.10024af0
add esi, 0x3c
cmp esi, edi
jne 0x10021d94
mov eax, dword [0x1027cc3c]
mov dword [0x1027cc40], eax
push 0
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0xbf800000
mov ecx, str.reload_records
mov dword [esp + 0x18], 0x41700000
call fcn.100c0980
add esp, 4
test al, al
je 0x10021dde
mov ecx, dword [0x10249618]
call fcn.10025fc0
mov eax, dword [0x1027cc3c]
mov ecx, dword [0x1027cc40]
cmp eax, ecx
je 0x10022520
sub ecx, eax
mov eax, 0x88888889
imul ecx
lea eax, [ecx + edx]
sar eax, 5
lea ecx, [esp + 0xf8]
mov edx, eax
shr edx, 0x1f
add edx, eax
call fcn.100203d0
push 9
push str.records__
push 0
mov ecx, eax
call fcn.100139f0
mov dword [esp + 0x30], 0
xorps xmm0, xmm0
movups xmmword [esp + 0x20], xmm0
mov dword [esp + 0x34], 0
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x20], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [esp + 0x34]
mov eax, edx
mov ecx, dword [esp + 0x30]
sub eax, ecx
cmp eax, 2
jb 0x10021e97
lea eax, [ecx + 2]
cmp edx, 0xf
mov dword [esp + 0x30], eax
mov edx, 0x3a29
lea eax, [esp + 0x20]
cmova eax, dword [esp + 0x20]
mov word [eax + ecx], dx
mov byte [eax + ecx + 2], 0
lea eax, [esp + 0x20]
jmp 0x10021ead
push 2
push 0x1021a2d4
push dword [esp + 0x18]
lea ecx, [esp + 0x2c]
push 2
call fcn.10004980
mov dword [esp + 0xc0], 0
xorps xmm0, xmm0
movups xmmword [esp + 0xb0], xmm0
mov dword [esp + 0xc4], 0
movups xmm0, xmmword [eax]
movups xmmword [esp + 0xb0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0xc0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [esp + 0x34]
cmp ecx, 0xf
jbe 0x10021f2a
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10021f20
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10021f6d
push ecx
push edx
call fcn.1018b662
add esp, 8
mov ecx, dword [esp + 0x10c]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0xf
mov byte [esp + 0x20], 0
cmp ecx, 0xf
jbe 0x10021f7d
mov edx, dword [esp + 0xf8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10021f73
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10021f73
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1018b662
add esp, 8
cmp dword [0x10247950], 0xf
mov eax, 0x1024793c
mov dword [0x1024794c], 0
cmova eax, dword [0x1024793c]
xor ebx, ebx
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0xf
mov byte [esp + 0xf8], 0
mov byte [eax], 0
mov eax, 0x88888889
mov ecx, dword [0x1027cc40]
mov esi, dword [0x1027cc3c]
sub ecx, esi
imul ecx
mov dword [esp + 0x18], ebx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10022321
xor edi, edi
mov dword [esp + 0x10], edi
nop
mov edx, ebx
lea ecx, [esp + 0x128]
lea ebp, [edi + esi]
call fcn.100148b0
mov esi, eax
mov ecx, dword [esi + 0x14]
mov eax, ecx
mov edi, dword [esi + 0x10]
sub eax, edi
cmp eax, 3
jb 0x1002203b
lea eax, [edi + 3]
mov ebx, esi
mov dword [esi + 0x10], eax
cmp ecx, 0xf
jbe 0x10022021
mov ebx, dword [esi]
push 3
lea eax, [ebx + edi]
push 0x1021a308
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [ebx + edi + 3], 0
jmp 0x10022051
push 3
push 0x1021a308
push dword [esp + 0x18]
mov ecx, esi
push 3
call fcn.10004980
mov esi, eax
mov dword [esp + 0xa8], 0
lea ecx, [esp + 0x98]
mov dword [esp + 0xac], 0
xorps xmm0, xmm0
movups xmmword [esp + 0x98], xmm0
push ebp
movups xmm0, xmmword [esi]
movups xmmword [esp + 0x9c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [esp + 0xac], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
call fcn.1001f7e0
mov dword [esp + 0x48], 0
xorps xmm0, xmm0
movups xmmword [esp + 0x38], xmm0
mov dword [esp + 0x4c], 0
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x38], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x48], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [esp + 0x4c]
mov eax, edx
mov ecx, dword [esp + 0x48]
sub eax, ecx
cmp eax, 1
jb 0x10022115
lea eax, [ecx + 1]
cmp edx, 0xf
mov dword [esp + 0x48], eax
lea eax, [esp + 0x38]
cmova eax, dword [esp + 0x38]
mov word [eax + ecx], 0xa
lea eax, [esp + 0x38]
jmp 0x1002212b
push 1
push 0x1021a2e8
push dword [esp + 0x18]
lea ecx, [esp + 0x44]
push 1
call fcn.10004980
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x80], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x90], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [esp + 0x4c]
cmp ecx, 0xf
jbe 0x1002218b
mov edx, dword [esp + 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10022181
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10021be4
push ecx
push edx
call fcn.1018b662
add esp, 8
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0xf
mov byte [esp + 0x38], 0
cmp ecx, 0xf
jbe 0x100221dc
mov edx, dword [esp + 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100221d2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10021be4
push ecx
push edx
call fcn.1018b662
add esp, 8
mov ecx, dword [esp + 0x13c]
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0xf
mov byte [esp + 0x98], 0
cmp ecx, 0xf
jbe 0x10022236
mov edx, dword [esp + 0x128]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002222c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10021be4
push ecx
push edx
call fcn.1018b662
add esp, 8
mov ebp, dword [esp + 0x94]
lea ecx, [esp + 0x80]
mov esi, dword [0x10247950]
cmp ebp, 0xf
mov edi, dword [esp + 0x80]
mov eax, esi
mov edx, dword [0x1024794c]
cmova ecx, edi
mov ebx, dword [esp + 0x90]
sub eax, edx
push ebx
push ecx
cmp ebx, eax
ja 0x10022297
lea eax, [ebx + edx]
cmp esi, 0xf
mov dword [0x1024794c], eax
mov eax, 0x1024793c
cmova eax, dword [0x1024793c]
lea esi, [eax + edx]
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + ebx], 0
jmp 0x100222b4
push dword [esp + 0x18]
mov ecx, 0x1024793c
push ebx
call fcn.10004980
mov ebp, dword [esp + 0x94]
mov edi, dword [esp + 0x80]
cmp ebp, 0xf
jbe 0x100222e4
lea ecx, [ebp + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x100222da
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022510
push ecx
push edi
call fcn.1018b662
add esp, 8
mov ecx, dword [0x1027cc40]
mov eax, 0x88888889
mov esi, dword [0x1027cc3c]
sub ecx, esi
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
inc ebx
imul ecx
add edi, 0x3c
mov dword [esp + 0x18], ebx
add edx, ecx
mov dword [esp + 0x10], edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x10021ff0
cmp dword [esp + 0xc4], 0xf
lea eax, [esp + 0xb0]
cmova eax, dword [esp + 0xb0]
push eax
call fcn.100c0160
add esp, 4
mov eax, 0x1024793c
cmp dword [0x10247950], 0xf
cmova eax, dword [0x1024793c]
push eax
call fcn.100c0160
add esp, 4
mov dword [esp + 0x10], 0
lea edx, [esp + 0x10]
mov dword [esp + 0x14], 0
mov ecx, str.delete_route
push 0
call fcn.100c0980
add esp, 4
test al, al
je 0x1002243a
mov esi, dword [0x1027cc38]
test esi, esi
js 0x1002243a
mov ebp, dword [0x1027cc40]
mov eax, 0x88888889
mov edi, dword [0x1027cc3c]
mov ecx, ebp
sub ecx, edi
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x1002243a
mov eax, esi
shl eax, 4
sub eax, esi
lea edi, [edi + eax*4]
add edi, 0x3c
cmp edi, ebp
je 0x1002242b
lea esi, [edi - 0xc]
push edi
lea ecx, [esi - 0x30]
call fcn.10012af0
lea eax, [esi + 0x24]
push eax
lea ecx, [esi - 0x18]
call fcn.10012af0
lea ebx, [esi + 0x3c]
cmp esi, ebx
je 0x1002241c
mov ecx, esi
call fcn.10027100
mov eax, dword [ebx]
mov dword [esi], eax
mov eax, dword [esi + 0x40]
mov dword [esi + 4], eax
mov eax, dword [esi + 0x44]
mov dword [esi + 8], eax
mov dword [ebx], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
add edi, 0x3c
mov esi, ebx
cmp edi, ebp
jne 0x100223d5
mov ebp, dword [0x1027cc40]
lea ecx, [ebp - 0x3c]
call fcn.10024af0
sub dword [0x1027cc40], 0x3c
mov ecx, dword [0x1024b4a8]
mov eax, dword [ecx + 0x1bac]
or dword [ecx + 0x1c34], 1
mov dword [ecx + 0x1c38], 0x425c0000
mov byte [eax + 0xac], 1
mov edx, dword [ecx + 0x1bac]
cmp byte [edx + 0xaf], 0
jne 0x100224b9
movss xmm1, dword [ecx + 0x1570]
addss xmm1, dword [edx + 0xf8]
movss xmm0, dword [edx + 0xfc]
movss dword [edx + 0xf0], xmm1
movss dword [edx + 0xf4], xmm0
mov eax, dword [edx + 0x120]
mov ecx, dword [edx + 0x124]
mov dword [edx + 0x118], eax
mov eax, dword [edx + 0x12c]
mov dword [edx + 0x11c], ecx
mov dword [edx + 0x128], eax
push ecx
push 0x102358bc
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x64
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 1
push eax
push ecx
call fcn.100c4e50
mov ecx, dword [esp + 0xd8]
add esp, 0x14
cmp ecx, 0xf
jbe 0x10022520
mov edx, dword [esp + 0xb0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10022516
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10022516
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1018b662
add esp, 8
mov ecx, dword [0x1027cc30]
mov eax, 0x66666667
sub ecx, dword [0x1027cc2c]
mov esi, dword [0x10247958]
imul ecx
lea ecx, [esp + 0x140]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
call fcn.100148b0
mov edx, esi
lea ecx, [esp + 0x110]
mov ebx, eax
call fcn.100148b0
push 8
push str.frames:
push 0
mov ecx, eax
call fcn.100139f0
mov dword [esp + 0x60], 0
xorps xmm0, xmm0
movups xmmword [esp + 0x50], xmm0
mov dword [esp + 0x64], 0
movups xmm0, xmmword [eax]
push 3
push 0x1021a30c
movups xmmword [esp + 0x58], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x68], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [esp + 0x6c]
mov eax, ecx
mov edi, dword [esp + 0x68]
sub eax, edi
cmp eax, 3
jb 0x100225ed
cmp ecx, 0xf
lea esi, [esp + 0x58]
lea eax, [edi + 3]
cmova esi, dword [esp + 0x58]
mov dword [esp + 0x68], eax
lea eax, [esi + edi]
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + edi + 3], 0
lea eax, [esp + 0x50]
jmp 0x100225fc
push dword [esp + 0x18]
lea ecx, [esp + 0x5c]
push 3
call fcn.10004980
movups xmm0, xmmword [eax]
push ebx
lea ecx, [esp + 0xcc]
movups xmmword [esp + 0x84], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x94], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [esp + 0x84]
push eax
push dword [esp + 0x18]
call fcn.10013790
cmp dword [esp + 0xdc], 0xf
lea eax, [esp + 0xc8]
cmova eax, dword [esp + 0xc8]
push eax
call fcn.100c0160
mov ecx, dword [esp + 0xe0]
add esp, 4
cmp ecx, 0xf
jbe 0x1002269b
mov edx, dword [esp + 0xc8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10022691
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100227c4
push ecx
push edx
call fcn.1018b662
add esp, 8
mov ecx, dword [esp + 0x94]
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0xf
mov byte [esp + 0xc8], 0
cmp ecx, 0xf
jbe 0x100226f5
mov edx, dword [esp + 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100226eb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100227c4
push ecx
push edx
call fcn.1018b662
add esp, 8
mov ecx, dword [esp + 0x64]
cmp ecx, 0xf
jbe 0x1002272b
mov edx, dword [esp + 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10022721
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100227c4
push ecx
push edx
call fcn.1018b662
add esp, 8
mov ecx, dword [esp + 0x124]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0xf
mov byte [esp + 0x50], 0
cmp ecx, 0xf
jbe 0x10022778
mov edx, dword [esp + 0x110]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002276e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100227c4
push ecx
push edx
call fcn.1018b662
add esp, 8
mov ecx, dword [esp + 0x154]
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0xf
mov byte [esp + 0x110], 0
cmp ecx, 0xf
jbe 0x100227d4
mov edx, dword [esp + 0x140]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100227ca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100227ca
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1018b662
add esp, 8
cmp byte [0x1027cc28], 0
je 0x100227ea
push str.recording_is_active
call fcn.100c0160
add esp, 4
cmp byte [0x10247954], 0
je 0x10022800
push str.playback_is_active
call fcn.100c0160
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14c
ret