Function at 0x10001840
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x454
mov eax, dword [0x1036e078]
test eax, eax
jne 0x10001867
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x1000265c
mov dword [0x1036e078], eax
push 0x324600
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x1000265c
xor edx, edx
mov edi, 0xffcdba00
mov ebx, 0x744641ef
lea esi, [ebp - 0x54]
mov dword [ebp - 0x54], 0xc9180
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], 0
jmp 0x100018c0
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
mov ecx, dword [edi + 0x10364c10]
add ecx, ebx
xor ecx, 0xcf176904
mov dword [eax + edx*4], ecx
inc edx
add edi, 4
mov dword [ebp - 0x4c], edx
je 0x100018ce
cmp edx, dword [ebp - 0x54]
jne 0x100018a6
mov ecx, esi
call fcn.10029450
jmp 0x100018a0
call sub.KERNEL32.dll_GetCommandLineW
test eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 4
mov dword [ebp - 0x2c], 0
je 0x10001d5e
movzx edi, word [eax]
test di, di
je 0x10001d5e
add eax, 2
xor ebx, ebx
mov ecx, 2
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 2
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x10], 0
jmp 0x10001949
mov ecx, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x38]
mov word [ecx + ebx*2], di
inc ebx
mov dword [ebp - 0x38], ebx
movzx edi, word [esi]
lea eax, [esi + 2]
test di, di
je 0x100019a3
mov esi, eax
cmp di, 9
je 0x10001980
movzx eax, di
cmp eax, 0x20
je 0x10001980
cmp eax, 0x22
jne 0x10001986
mov eax, dword [ebp - 0x10]
not al
and al, 1
mov dword [ebp - 0x10], eax
movzx edi, word [esi]
lea eax, [esi + 2]
test di, di
jne 0x10001949
jmp 0x100019a3
test byte [ebp - 0x10], 1
je 0x100019a3
cmp ebx, dword [ebp - 0x40]
jne 0x10001936
lea ecx, [ebp - 0x40]
mov edx, ebx
call fcn.100117a0
jmp 0x10001930
add esi, 2
movzx eax, word [esi]
cmp eax, 0x20
je 0x100019a0
cmp eax, 9
je 0x100019a0
mov edi, dword [ebp - 0x3c]
mov edx, edi
lea ecx, [ebp - 0x460]
push ebx
call fcn.10012820
add esp, 4
lea ecx, [ebp - 0x34]
xor edx, edx
call fcn.1002e240
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
movsd xmm0, qword [ebp - 0x460]
movsd xmm1, qword [ebp - 0x458]
mov dword [ebp - 0x44], edi
mov edx, ecx
inc ecx
shl edx, 4
movsd qword [eax + edx + 8], xmm1
movsd qword [eax + edx], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 2
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x1c], 0
movzx ebx, word [esi]
test bx, bx
je 0x10001f85
mov ecx, 2
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
jmp 0x10001a56
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
mov word [ecx + eax*2], bx
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], eax
movzx ebx, word [edi]
test bx, bx
mov esi, edi
je 0x10001f93
movzx eax, bx
lea edi, [esi + 2]
cmp eax, 0x21
jg 0x10001b00
cmp eax, 9
je 0x10001a73
cmp eax, 0x20
jne 0x10001b70
test byte [ebp - 0x14], 1
jne 0x10001b70
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
mov ebx, edx
lea ecx, [ebp - 0x460]
push eax
call fcn.10012820
add esp, 4
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ebp - 0x34]
jne 0x10001aa7
lea ecx, [ebp - 0x34]
call fcn.1002e240
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
movsd xmm0, qword [ebp - 0x460]
movsd xmm1, qword [ebp - 0x458]
mov ecx, edx
inc edx
shl ecx, 4
movsd qword [eax + ecx + 8], xmm1
movsd qword [eax + ecx], xmm0
mov ecx, ebx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x1c], 0
jmp 0x10001ae3
add edi, 2
movzx ebx, word [edi]
cmp ebx, 0x20
je 0x10001ae0
cmp ebx, 9
je 0x10001ae0
mov dword [ebp - 0x10], 0
jmp 0x10001a4b
cmp eax, 0x22
je 0x10001b8c
cmp eax, 0x5c
jne 0x10001b70
movzx eax, word [edi]
xor ebx, ebx
cmp ax, 0x5c
jne 0x10001b2f
xor ebx, ebx
nop dword [eax + eax]
movzx eax, word [esi + ebx*2 + 4]
add edi, 2
inc ebx
cmp ax, 0x5c
je 0x10001b20
inc ebx
cmp ax, 0x22
jne 0x10001b9f
mov eax, dword [ebp - 0x24]
mov esi, ebx
shr esi, 1
sub eax, dword [ebp - 0x10]
cmp eax, esi
jae 0x10001bea
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
push esi
call fcn.10011840
add esp, 4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
jmp 0x10001bf3
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x24]
jne 0x10001a37
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
call fcn.100117a0
jmp 0x10001a31
test byte [ebp - 0x14], 1
jne 0x10001bca
movzx ebx, word [edi]
mov al, 1
mov dword [ebp - 0x14], eax
jmp 0x10001a4b
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x10]
cmp eax, ebx
jae 0x10001c3f
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
push ebx
call fcn.10011840
add esp, 4
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
jmp 0x10001c47
movzx ebx, word [edi]
cmp ebx, 0x22
je 0x10001c8b
test ebx, ebx
je 0x10001f93
mov dword [ebp - 0x14], 0
jmp 0x10001a4b
cmp ebx, 2
jb 0x10001d12
mov ecx, dword [ebp - 0x20]
cmp ebx, 0x20
jb 0x10001d00
mov edx, dword [ebp - 0x10]
mov eax, esi
movaps xmm0, xmmword [0x10040050]
mov dword [ebp - 0x28], ecx
and eax, 0xfffffff0
lea ecx, [ecx + edx*2 + 0x10]
add edx, eax
mov dword [ebp - 0x10], edx
mov edx, eax
nop dword [eax]
movups xmmword [ecx - 0x10], xmm0
movups xmmword [ecx], xmm0
add ecx, 0x20
add edx, 0xfffffff0
jne 0x10001c20
cmp esi, eax
jne 0x10001ced
mov ecx, dword [ebp - 0x28]
jmp 0x10001d12
test ebx, ebx
je 0x10001ce2
cmp ebx, 0x10
jb 0x10001cd0
mov esi, dword [ebp - 0x10]
movaps xmm0, xmmword [0x10040050]
mov eax, ebx
mov dword [ebp - 0x28], ecx
and eax, 0xfffffff0
mov edx, eax
lea ecx, [ecx + esi*2 + 0x10]
add esi, eax
nop word [eax + eax]
movups xmmword [ecx - 0x10], xmm0
movups xmmword [ecx], xmm0
add ecx, 0x20
add edx, 0xfffffff0
jne 0x10001c70
cmp ebx, eax
mov dword [ebp - 0x10], esi
jne 0x10001cc7
mov ecx, dword [ebp - 0x28]
jmp 0x10001ce2
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x24]
jne 0x10001ca4
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
call fcn.100117a0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
mov word [ecx + eax*2], 0x22
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], eax
lea eax, [esi + 4]
cmp word [esi + 2], 0
cmovne edi, eax
jmp 0x10001a48
mov ecx, dword [ebp - 0x28]
and ebx, 0xf
nop dword [eax]
mov eax, dword [ebp - 0x10]
dec ebx
mov word [ecx + eax*2], 0x5c
lea eax, [eax + 1]
mov dword [ebp - 0x10], eax
jne 0x10001cd0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
jmp 0x10001a48
mov ecx, dword [ebp - 0x28]
and esi, 0xf
nop word cs:[eax + eax]
nop dword [eax]
mov eax, dword [ebp - 0x10]
dec esi
mov word [ecx + eax*2], 0x5c
lea eax, [eax + 1]
mov dword [ebp - 0x10], eax
jne 0x10001d00
mov eax, dword [ebp - 0x10]
test bl, 1
mov dword [ebp - 0x1c], eax
je 0x10001a48
xor ebx, ebx
cmp word [edi], 0
mov eax, dword [ebp - 0x10]
setne byte [ebp - 0x28]
cmp eax, dword [ebp - 0x24]
jne 0x10001d44
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
call fcn.100117a0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
movzx eax, byte [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov bl, al
mov eax, dword [ebp - 0x10]
lea edi, [edi + ebx*2]
mov word [ecx + eax*2], 0x22
jmp 0x10001a41
mov esi, 0x200
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 2
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x44], 2
mov dword [ebp - 0x14], 0
cmp esi, 0x201
jb 0x10001dae
jmp 0x10001dc0
jbe 0x10001e46
cmp esi, 0x201
jae 0x10001dc0
lea edi, [ebp - 0x460]
mov dword [ebp - 0x28], 0x200
mov ebx, esi
jmp 0x10001df4
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
sub esi, ebx
sub eax, ebx
cmp eax, esi
jae 0x10001de5
mov edx, ebx
lea ecx, [ebp - 0x40]
push esi
call fcn.10011840
add esp, 4
mov ebx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov edi, dword [ebp - 0x44]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x10], ebx
push 0
call sub.KERNEL32.dll_SetLastError
push ebx
push edi
push 0
call sub.KERNEL32.dll_GetModuleFileNameW
mov esi, eax
test eax, eax
jne 0x10001e17
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x10001f6b
cmp esi, ebx
jne 0x10001da0
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x10002643
add ebx, ebx
mov eax, 0xffffffff
cmovb ebx, eax
mov esi, ebx
cmp esi, 0x201
jb 0x10001dae
jmp 0x10001dc0
mov edx, dword [ebp - 0x28]
cmp esi, edx
ja 0x10002688
mov edx, edi
lea ecx, [ebp - 0x24]
push esi
call fcn.10012820
add esp, 4
mov eax, dword [ebp - 0x1c]
movzx edi, word [ebp - 0x17]
movzx edx, byte [ebp - 0x15]
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
movzx ebx, byte [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov word [ebp - 0x60], di
mov byte [ebp - 0x5e], dl
cmp dword [ebp - 0x10], 0
je 0x10001e98
push dword [ebp - 0x44]
push 0
push dword [0x1036e078]
mov edi, ecx
call sub.KERNEL32.dll_HeapFree
mov ecx, edi
cmp bl, 2
jne 0x10001f05
cmp cl, 3
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x45c], 1
mov dword [ebp - 0x458], 0
mov byte [ebp - 0x454], 1
jne 0x10001f35
mov eax, dword [esi + 4]
mov eax, dword [eax]
push dword [esi]
call eax
add esp, 4
mov ecx, dword [esi + 4]
cmp dword [ecx + 4], 0
je 0x10001ef5
mov eax, dword [esi]
cmp dword [ecx + 8], 9
jb 0x10001ee7
mov eax, dword [eax - 4]
push eax
push 0
push dword [0x1036e078]
call sub.KERNEL32.dll_HeapFree
push esi
push 0
push dword [0x1036e078]
call sub.KERNEL32.dll_HeapFree
jmp 0x10001f35
movzx eax, byte [ebp - 0x5e]
movzx edx, word [ebp - 0x60]
mov byte [ebp - 0x451], al
mov word [ebp - 0x453], dx
mov dword [ebp - 0x460], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x45c], esi
mov dword [ebp - 0x458], ecx
mov byte [ebp - 0x454], bl
lea ecx, [ebp - 0x34]
xor edx, edx
call fcn.1002e240
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
movsd xmm0, qword [ebp - 0x460]
movsd xmm1, qword [ebp - 0x458]
mov eax, esi
inc esi
shl eax, 4
movsd qword [edi + eax + 8], xmm1
movsd qword [edi + eax], xmm0
mov ebx, dword [ebp - 0x34]
jmp 0x10001fdd
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor ecx, ecx
mov bl, 2
cmp dword [ebp - 0x10], 0
jne 0x10001e84
jmp 0x10001e98
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0
jne 0x100022ea
mov eax, dword [ebp - 0x14]
and al, 1
jne 0x100022ea
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x34]
cmp dword [ebp - 0x24], 0
je 0x10001fc7
push dword [ebp - 0x20]
push 0
push dword [0x1036e078]
call sub.KERNEL32.dll_HeapFree
cmp dword [ebp - 0x40], 0
je 0x10001fdd
push dword [ebp - 0x44]
push 0
push dword [0x1036e078]
call sub.KERNEL32.dll_HeapFree
shl esi, 4
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], edi
add esi, edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], edi
lea ecx, [ebp - 0x460]
lea edx, [ebp - 0x24]
call fcn.1002e340
mov esi, dword [ebp - 0x45c]
test esi, esi
je 0x10002235
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x460]
mov ebx, 3
sub edx, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
shr edx, 4
cmp edx, 4
cmovae ebx, edx
cmp ebx, 0xaaaaaaa
setb cl
jae 0x10002681
lea eax, [ebx*4 + 4]
lea edi, [eax + eax*2]
test edi, edi
js 0x10002681
mov byte [ebp - 0x14], cl
mov eax, dword [0x1036e078]
test eax, eax
jne 0x10002066
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x1000266d
mov dword [0x1036e078], eax
push edi
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x1000266d
mov ecx, dword [ebp - 0x458]
inc ebx
mov esi, 1
mov dword [ebp - 0x10], 0xc
mov dword [eax + 8], ecx
movsd xmm0, qword [ebp - 0x460]
movsd qword [eax], xmm0
mov dword [ebp - 0x34], ebx
mov ebx, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 1
movsd xmm0, qword [ebp - 0x24]
movsd xmm1, qword [ebp - 0x1c]
movsd qword [ebp - 0x458], xmm1
movsd qword [ebp - 0x460], xmm0
jmp 0x100020ee
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x10]
inc esi
mov dword [ebx + ecx + 8], eax
movsd xmm0, qword [ebp - 0x40]
movsd qword [ebx + ecx], xmm0
add ecx, 0xc
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x40]
lea edx, [ebp - 0x460]
call fcn.1002e340
mov edi, dword [ebp - 0x3c]
test edi, edi
je 0x1000212e
cmp esi, dword [ebp - 0x34]
jne 0x100020d0
mov eax, dword [ebp - 0x458]
mov ebx, dword [ebp - 0x40]
sub eax, dword [ebp - 0x45c]
shr eax, 4
inc eax
mov edx, esi
lea ecx, [ebp - 0x34]
push eax
call fcn.10001790
add esp, 4
mov ebx, dword [ebp - 0x30]
jmp 0x100020d0
mov esi, dword [ebp - 0x45c]
mov edi, dword [ebp - 0x458]
sub edi, esi
je 0x1000216f
shr edi, 4
add esi, 4
shl edi, 4
jmp 0x10002158
add esi, 0x10
add edi, 0xfffffff0
je 0x1000216f
cmp dword [esi - 4], 0
je 0x10002150
push dword [esi]
push 0
push dword [0x1036e078]
call sub.KERNEL32.dll_HeapFree
jmp 0x10002150
cmp dword [ebp - 0x460], 0
je 0x1000218b
push dword [ebp - 0x454]
push 0
push dword [0x1036e078]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [ebp - 0x2c]
movsd xmm0, qword [ebp - 0x34]
test eax, eax
movsd qword [ebp - 0x60], xmm0
mov dword [ebp - 0x58], eax
je 0x10002295
mov dword [ebp - 0x10], eax
lea eax, [eax*4]
mov edi, dword [ebp - 0x5c]
mov edx, 0xaaaaaaab
lea esi, [eax + eax*2 - 0xc]
lea ecx, [eax + eax*2]
mov eax, esi
mul edx
mov ebx, edx
mov eax, edi
shr ebx, 3
nop word [eax + eax]
test ecx, ecx
je 0x100021e9
add ecx, 0xfffffff4
add ebx, dword [eax + 8]
lea eax, [eax + 0xc]
jae 0x100021d0
call fcn.10004840
jmp 0x100026a5
test ebx, ebx
je 0x1000234e
setns al
js 0x100026a0
mov byte [ebp - 0x14], al
mov eax, dword [0x1036e078]
test eax, eax
jne 0x10002214
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x10002225
mov dword [0x1036e078], eax
push ebx
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
jne 0x10002353
movzx edx, byte [ebp - 0x14]
mov ecx, ebx
call fcn.10002c00
jmp 0x100026a5
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 4
mov dword [ebp - 0x58], 0
sub edi, esi
je 0x1000227f
shr edi, 4
add esi, 4
shl edi, 4
jmp 0x10002268
add esi, 0x10
add edi, 0xfffffff0
je 0x1000227f
cmp dword [esi - 4], 0
je 0x10002260
push dword [esi]
push 0
push dword [0x1036e078]
call sub.KERNEL32.dll_HeapFree
jmp 0x10002260
cmp dword [ebp - 0x24], 0
je 0x10002295
push dword [ebp - 0x18]
push 0
push dword [0x1036e078]
call sub.KERNEL32.dll_HeapFree
mov esi, 1
xor ebx, ebx
xor edi, edi
xor edx, edx
xor eax, eax
test eax, eax
je 0x10002487
mov dword [ebp - 0x460], edx
mov dword [ebp - 0x45c], edi
mov dword [ebp - 0x458], esi
mov dword [ebp - 0x454], ebx
mov edx, 0x2b
mov ecx, str.called__Result::unwrap____on_an__Err__value
push 0x10364c24
push 0x10040540
lea eax, [ebp - 0x460]
push eax
call fcn.100047b0
add esp, 0xc
jmp 0x100026a5
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
lea edi, [ebp - 0x460]
mov ebx, edx
mov ecx, edi
push eax
call fcn.10012820
add esp, 4
mov esi, dword [ebp - 0x2c]
cmp esi, dword [ebp - 0x34]
jne 0x10002318
lea ecx, [ebp - 0x34]
mov edx, esi
call fcn.1002e240
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
movsd xmm0, qword [ebp - 0x460]
movsd xmm1, qword [ebp - 0x458]
mov eax, esi
inc esi
shl eax, 4
movsd qword [edi + eax + 8], xmm1
movsd qword [edi + eax], xmm0
mov ebx, dword [ebp - 0x34]
cmp dword [ebp - 0x24], 0
jne 0x10001fb7
jmp 0x10001fc7
mov eax, 1
mov dword [ebp - 0x460], ebx
mov dword [ebp - 0x45c], eax
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x14], esi
mov ecx, edi
mov dword [ebp - 0x28], ebx
mov esi, dword [edi + 4]
mov ecx, dword [edi + 8]
mov dword [ebp - 0x44], esi
mov esi, edi
xor edi, edi
cmp ebx, ecx
mov edx, ecx
jae 0x100023a1
lea ecx, [ebp - 0x460]
mov dword [ebp - 0x48], edx
call fcn.10001700
mov eax, dword [ebp - 0x45c]
mov edi, dword [ebp - 0x458]
mov edx, dword [ebp - 0x48]
lea ecx, [eax + edi]
mov dword [ebp - 0x48], eax
push edx
push dword [ebp - 0x44]
push ecx
mov ebx, edx
call sub.msvcrt.dll_memcpy
mov ecx, edi
add esp, 0xc
add ecx, ebx
mov ebx, dword [ebp - 0x28]
mov edi, ebx
sub edi, ecx
cmp dword [ebp - 0x10], 1
jne 0x10002410
mov edx, dword [ebp - 0x48]
sub ebx, edi
mov edi, dword [ebp - 0x460]
cmp ebx, 8
jae 0x10002472
mov esi, edx
test ebx, ebx
je 0x1000229e
xor edx, edx
nop word [eax + eax]
cmp byte [esi + edx], 0
je 0x10002618
inc edx
cmp ebx, edx
jne 0x100023f0
xor eax, eax
mov edx, ebx
test eax, eax
je 0x10002487
jmp 0x100022aa
mov edx, dword [ebp - 0x48]
add esi, 0x14
add edx, ecx
nop dword [eax + eax]
test edi, edi
je 0x1000262a
mov ecx, dword [esi]
mov eax, dword [esi - 4]
dec edi
mov byte [edx], 0x20
sub edi, ecx
jb 0x1000262a
lea ebx, [edx + ecx + 1]
inc edx
mov dword [ebp - 0x10], ebx
push ecx
push eax
push edx
call sub.msvcrt.dll_memcpy
add esp, 0xc
add esi, 0xc
add dword [ebp - 0x14], 0xfffffff4
mov edx, dword [ebp - 0x10]
jne 0x10002420
mov edx, dword [ebp - 0x45c]
mov ebx, dword [ebp - 0x28]
sub ebx, edi
mov edi, dword [ebp - 0x460]
cmp ebx, 8
jb 0x100023db
mov esi, edx
xor ecx, ecx
push ebx
call fcn.10004490
add esp, 4
test eax, eax
jne 0x100022aa
cmp edi, ebx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], esi
mov eax, esi
mov dword [ebp - 0x38], ebx
jne 0x1000250b
mov edi, ebx
inc edi
je 0x100024f9
mov eax, edi
not eax
shr eax, 0x1f
test ebx, ebx
je 0x100024be
mov dword [ebp - 0x460], esi
mov dword [ebp - 0x45c], ebx
mov dword [ebp - 0x458], 1
jmp 0x100024c8
mov dword [ebp - 0x458], 0
lea ecx, [ebp - 0x24]
lea esi, [ebp - 0x460]
mov edx, edi
push esi
push eax
call fcn.10002cb0
add esp, 8
cmp dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x20]
je 0x10002503
mov edx, dword [ebp - 0x1c]
cmp edx, 0x80000001
je 0x1000250f
test edx, edx
jne 0x10002699
call fcn.10002bc0
jmp 0x100026a5
mov esi, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edi
cmp ebx, edi
jne 0x1000251f
lea ecx, [ebp - 0x40]
mov edx, ebx
call fcn.10002d40
mov esi, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x38]
mov byte [esi + ebx], 0
inc ebx
mov dword [ebp - 0x38], ebx
mov ecx, ebx
mov ebx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x3c]
cmp ebx, ecx
jbe 0x10002565
mov eax, dword [0x1036e078]
test ecx, ecx
je 0x10002569
mov edi, ecx
push ecx
push esi
push 0
push eax
mov dword [ebp - 0x10], esi
call sub.KERNEL32.dll_HeapReAlloc
mov esi, eax
test eax, eax
jne 0x10002579
mov esi, dword [ebp - 0x10]
mov ecx, edi
mov edx, 1
call fcn.10002c00
jmp 0x100026a5
mov edi, ecx
jmp 0x10002579
mov edi, ecx
push esi
push 0
push eax
call sub.KERNEL32.dll_HeapFree
mov esi, 1
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], edi
shl eax, 2
push esi
push eax
push dword [ebp - 0x50]
call fcn.1003d660
add esp, 0xc
mov byte [esi], 0
cmp dword [ebp - 0x30], 0
je 0x100025a9
push esi
push 0
push dword [0x1036e078]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [ebp - 0x58]
mov esi, dword [ebp - 0x5c]
test eax, eax
je 0x100025df
shl eax, 2
lea edi, [esi + 4]
lea ebx, [eax + eax*2]
jmp 0x100025c8
add edi, 0xc
add ebx, 0xfffffff4
je 0x100025df
cmp dword [edi - 4], 0
je 0x100025c0
push dword [edi]
push 0
push dword [0x1036e078]
call sub.KERNEL32.dll_HeapFree
jmp 0x100025c0
cmp dword [ebp - 0x60], 0
je 0x100025f3
push esi
push 0
push dword [0x1036e078]
call sub.KERNEL32.dll_HeapFree
cmp dword [ebp - 0x54], 0
je 0x10002609
push dword [ebp - 0x50]
push 0
push dword [0x1036e078]
call sub.KERNEL32.dll_HeapFree
xor eax, eax
add esp, 0x454
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov eax, 1
test eax, eax
je 0x10002487
jmp 0x100022aa
mov edx, 0x23
mov ecx, 0x10040585
push 0x100405f0
call fcn.10003da0
add esp, 4
jmp 0x100026a5
mov edx, 0x28
mov ecx, str.internal_error:_entered_unreachable_code_rustc_84c898d65adf2f39a5a98507f1fe0ce10a2b8dbclibrary_alloc_srccollections_btree_navigate.rs
push 0x10367b48
call fcn.10003da0
add esp, 4
jmp 0x100026a5
mov ecx, 0x324600
mov edx, 4
call fcn.10002c00
ud2
movzx eax, byte [ebp - 0x14]
xor edx, edx
mov dl, al
shl edx, 2
mov ecx, edi
call fcn.10002c00
jmp 0x100026a5
call fcn.10002bc0
jmp 0x100026a5
mov ecx, esi
push 0x10367b58
call fcn.10003a80
add esp, 4
jmp 0x100026a5
call fcn.10002c00
jmp 0x100026a5
call fcn.10002bc0
ud2