Function at 0x10001790
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x480
movzx eax, byte [0x104ff0b8]
mov eax, dword [0x104ff078]
test eax, eax
jne 0x100017c1
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x10002529
mov dword [0x104ff078], eax
push 0x4afa00
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x10002529
xor edx, edx
mov edi, 0xffb50600
mov ebx, 0x6d3c340
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], 0x12be80
mov dword [esp + 0x6c], 0
jmp 0x10001830
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
add esi, 0x5988e305
xor esi, 0xeae2845e
add esi, 0xe6372b0b
rol esi, 0x10
xor esi, 0x4c8edc6f
mov dword [eax + edx*4], esi
inc edx
add edi, 4
mov dword [esp + 0x6c], edx
je 0x10001849
mov esi, dword [edi + str.src_source_mod.rs]
xor esi, ebx
cmp edx, dword [esp + 0x68]
jne 0x10001808
lea ecx, [esp + 0x64]
call fcn.100015b0
jmp 0x10001800
call sub.KERNEL32.dll_GetCommandLineW
test eax, eax
mov dword [esp + 0x44], 4
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
je 0x10001d2c
movzx edi, word [eax]
test di, di
je 0x10001d2c
add eax, 2
xor ebx, ebx
mov ecx, 2
mov dword [esp + 0x34], 2
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x10], 0
jmp 0x100018cc
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x3c]
mov word [ecx + ebx*2], di
inc ebx
mov dword [esp + 0x3c], ebx
movzx edi, word [esi]
lea eax, [esi + 2]
test di, di
je 0x10001923
mov esi, eax
cmp di, 9
je 0x10001900
movzx eax, di
cmp eax, 0x20
je 0x10001900
cmp eax, 0x22
jne 0x10001907
mov eax, dword [esp + 0x10]
not al
and al, 1
mov dword [esp + 0x10], eax
movzx edi, word [esi]
lea eax, [esi + 2]
test di, di
jne 0x100018cc
jmp 0x10001923
test byte [esp + 0x10], 1
je 0x10001923
cmp ebx, dword [esp + 0x38]
jne 0x100018b8
lea ecx, [esp + 0x34]
mov edx, ebx
call fcn.10011d70
jmp 0x100018b0
add esi, 2
movzx eax, word [esi]
cmp eax, 0x20
je 0x10001920
cmp eax, 9
je 0x10001920
mov edi, dword [esp + 0x34]
mov edx, edi
lea ecx, [esp + 0x7c]
push ebx
call fcn.10012f50
add esp, 4
lea ecx, [esp + 0x44]
xor edx, edx
call fcn.10030d70
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
movq xmm0, qword [esp + 0x7c]
movsd xmm1, qword [esp + 0x84]
mov dword [esp + 0x40], edi
mov edx, ecx
inc ecx
shl edx, 4
movsd qword [eax + edx + 8], xmm1
movq qword [eax + edx], xmm0
mov dword [esp + 0x24], 2
mov dword [esp + 0x28], 0
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x2c], 0
movzx ebx, word [esi]
test bx, bx
je 0x10001f96
mov ecx, 2
mov dword [esp + 0x10], 0
mov dword [esp + 0x50], 0
jmp 0x100019db
test byte [esp + 0x50], 1
jne 0x10001b6e
movzx ebx, word [edi]
mov al, 1
mov dword [esp + 0x50], eax
nop dword [eax]
test bx, bx
mov esi, edi
je 0x10001fa6
movzx eax, bx
lea edi, [esi + 2]
cmp eax, 0x21
jg 0x10001a90
cmp eax, 9
je 0x100019f8
cmp eax, 0x20
jne 0x10001b00
test byte [esp + 0x50], 1
jne 0x10001b00
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
mov ebx, edx
lea ecx, [esp + 0x7c]
push eax
call fcn.10012f50
add esp, 4
mov edx, dword [esp + 0x4c]
cmp edx, dword [esp + 0x48]
jne 0x10001a31
lea ecx, [esp + 0x44]
call fcn.10030d70
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
movq xmm0, qword [esp + 0x7c]
movsd xmm1, qword [esp + 0x84]
mov ecx, edx
inc edx
shl ecx, 4
movsd qword [eax + ecx + 8], xmm1
movq qword [eax + ecx], xmm0
mov ecx, ebx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x2c], 0
jmp 0x10001a73
add edi, 2
movzx ebx, word [edi]
cmp ebx, 0x20
je 0x10001a70
cmp ebx, 9
je 0x10001a70
mov dword [esp + 0x10], 0
jmp 0x100019d0
cmp eax, 0x22
je 0x100019b9
cmp eax, 0x5c
jne 0x10001b00
movzx eax, word [edi]
xor ebx, ebx
cmp ax, 0x5c
jne 0x10001abf
xor ebx, ebx
nop dword [eax + eax]
movzx eax, word [esi + ebx*2 + 4]
add edi, 2
inc ebx
cmp ax, 0x5c
je 0x10001ab0
inc ebx
cmp ax, 0x22
jne 0x10001b3c
mov eax, dword [esp + 0x28]
mov esi, ebx
shr esi, 1
sub eax, dword [esp + 0x10]
cmp eax, esi
jae 0x10001b8f
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x24]
push esi
call fcn.10011eb0
add esp, 4
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
jmp 0x10001b98
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x28]
jne 0x10001b1f
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x24]
call fcn.10011d70
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
mov word [ecx + eax*2], bx
inc eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], eax
movzx ebx, word [edi]
jmp 0x100019d0
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x10]
cmp eax, ebx
jae 0x10001bf2
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x24]
push ebx
call fcn.10011eb0
add esp, 4
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x10], eax
jmp 0x10001bfa
movzx ebx, word [edi]
cmp ebx, 0x22
je 0x10001c3f
test ebx, ebx
je 0x10001fa6
mov dword [esp + 0x50], 0
jmp 0x100019d0
cmp ebx, 2
jb 0x10001cd4
mov ecx, dword [esp + 0x24]
cmp ebx, 0x20
jb 0x10001cc0
mov edx, dword [esp + 0x10]
mov eax, esi
movdqa xmm0, xmmword [0x10044050]
mov dword [esp + 0xc], ecx
and eax, 0xfffffff0
lea ecx, [ecx + edx*2 + 0x10]
add edx, eax
mov dword [esp + 0x10], edx
mov edx, eax
nop word cs:[eax + eax]
movdqu xmmword [ecx - 0x10], xmm0
movdqu xmmword [ecx], xmm0
add ecx, 0x20
add edx, 0xfffffff0
jne 0x10001bd0
cmp esi, eax
jne 0x10001cad
mov ecx, dword [esp + 0xc]
jmp 0x10001cd4
test ebx, ebx
je 0x10001ca4
cmp ebx, 0x10
jb 0x10001c90
mov esi, dword [esp + 0x10]
movdqa xmm0, xmmword [0x10044050]
mov eax, ebx
mov dword [esp + 0xc], ecx
and eax, 0xfffffff0
mov edx, eax
lea ecx, [ecx + esi*2 + 0x10]
add esi, eax
movdqu xmmword [ecx - 0x10], xmm0
movdqu xmmword [ecx], xmm0
add ecx, 0x20
add edx, 0xfffffff0
jne 0x10001c20
cmp ebx, eax
mov dword [esp + 0x10], esi
jne 0x10001c88
mov ecx, dword [esp + 0xc]
jmp 0x10001ca4
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x28]
jne 0x10001c5e
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x24]
call fcn.10011d70
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
mov word [ecx + eax*2], 0x22
inc eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], eax
lea eax, [esi + 4]
cmp word [esi + 2], 0
cmovne edi, eax
movzx ebx, word [edi]
jmp 0x100019d0
mov ecx, dword [esp + 0xc]
and ebx, 0xf
nop
mov eax, dword [esp + 0x10]
dec ebx
mov word [ecx + eax*2], 0x5c
lea eax, [eax + 1]
mov dword [esp + 0x10], eax
jne 0x10001c90
mov eax, dword [esp + 0x10]
jmp 0x10001b30
mov ecx, dword [esp + 0xc]
and esi, 0xf
nop word cs:[eax + eax]
nop
mov eax, dword [esp + 0x10]
dec esi
mov word [ecx + eax*2], 0x5c
lea eax, [eax + 1]
mov dword [esp + 0x10], eax
jne 0x10001cc0
mov eax, dword [esp + 0x10]
test bl, 1
mov dword [esp + 0x2c], eax
je 0x10001b34
xor ebx, ebx
cmp word [edi], 0
mov eax, dword [esp + 0x10]
setne byte [esp + 0xc]
cmp eax, dword [esp + 0x28]
jne 0x10001d0f
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x24]
call fcn.10011d70
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x24]
mov bl, al
mov eax, dword [esp + 0x10]
lea edi, [edi + ebx*2]
mov word [ecx + eax*2], 0x22
jmp 0x10001b2b
mov esi, 0x200
mov dword [esp + 0x34], 2
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x40], 2
mov dword [esp + 0x50], 0
cmp esi, 0x201
jb 0x10001d7e
jmp 0x10001d90
jbe 0x10001e26
cmp esi, 0x201
jae 0x10001d90
mov dword [esp + 0xc], 0x200
lea edi, [esp + 0x7c]
mov ebx, esi
jmp 0x10001dcf
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x50]
sub esi, ebx
sub eax, ebx
cmp eax, esi
jae 0x10001dbb
mov edx, ebx
lea ecx, [esp + 0x34]
push esi
call fcn.10011eb0
add esp, 4
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x40], eax
mov edi, dword [esp + 0x40]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 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 0x10001df2
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x10001f77
cmp esi, ebx
jne 0x10001d70
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x1000250d
lea esi, [ebx + ebx]
test ebx, ebx
mov eax, 0xffffffff
cmovs esi, eax
cmp esi, 0x201
jb 0x10001d7e
jmp 0x10001d90
mov edx, dword [esp + 0xc]
cmp esi, edx
ja 0x1000255c
mov edx, edi
lea ecx, [esp + 0x24]
push esi
call fcn.10012f50
add esp, 4
mov edi, dword [esp + 0x24]
movzx ecx, word [esp + 0x31]
mov esi, dword [esp + 0x2c]
movzx edx, byte [esp + 0x33]
mov eax, dword [esp + 0x28]
movzx ebx, byte [esp + 0x30]
mov dword [esp + 0x50], edi
shrd edi, eax, 8
mov word [esp + 0x70], cx
mov dword [esp + 0xc], esi
mov byte [esp + 0x72], dl
cmp dword [esp + 0x10], 0
je 0x10001e8d
push dword [esp + 0x40]
push 0
push dword [0x104ff078]
mov esi, eax
call sub.KERNEL32.dll_HeapFree
mov eax, esi
cmp bl, 2
jne 0x10001efb
cmp byte [esp + 0x50], 3
mov dword [esp + 0x7c], 1
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov byte [esp + 0x88], 1
jne 0x10001f3b
mov ebx, dword [eax + 4]
mov edi, dword [eax]
mov esi, eax
mov eax, dword [ebx]
push edi
call eax
add esp, 4
cmp dword [ebx + 4], 0
je 0x10001eeb
cmp dword [ebx + 8], 9
jb 0x10001edd
mov edi, dword [edi - 4]
push edi
push 0
push dword [0x104ff078]
call sub.KERNEL32.dll_HeapFree
push esi
push 0
push dword [0x104ff078]
call sub.KERNEL32.dll_HeapFree
jmp 0x10001f3b
movzx ecx, byte [esp + 0x50]
shl edi, 8
or edi, ecx
movzx ecx, byte [esp + 0x72]
mov byte [esp + 0x8b], cl
movzx ecx, word [esp + 0x70]
mov word [esp + 0x89], cx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], edi
mov dword [esp + 0x84], ecx
mov byte [esp + 0x88], bl
lea ecx, [esp + 0x44]
xor edx, edx
call fcn.10030d70
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x44]
movq xmm0, qword [esp + 0x7c]
movsd xmm1, qword [esp + 0x84]
mov eax, esi
inc esi
shl eax, 4
movsd qword [edi + eax + 8], xmm1
movq qword [edi + eax], xmm0
mov ebx, dword [esp + 0x48]
jmp 0x10001ff9
mov bl, 2
mov dword [esp + 0x50], 0
call sub.KERNEL32.dll_GetLastError
cmp dword [esp + 0x10], 0
jne 0x10001e78
jmp 0x10001e8d
mov dword [esp + 0x50], 0
mov dword [esp + 0x10], 0
cmp dword [esp + 0x10], 0
jne 0x10002358
mov eax, dword [esp + 0x50]
and al, 1
jne 0x10002358
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x48]
cmp dword [esp + 0x28], 0
je 0x10001fe1
push dword [esp + 0x24]
push 0
push dword [0x104ff078]
call sub.KERNEL32.dll_HeapFree
cmp dword [esp + 0x38], 0
je 0x10001ff9
push dword [esp + 0x40]
push 0
push dword [0x104ff078]
call sub.KERNEL32.dll_HeapFree
shl esi, 4
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], edi
add esi, edi
mov dword [esp + 0x30], esi
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x24]
call fcn.10030e70
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x10002274
mov eax, dword [esp + 0x30]
movq xmm0, qword [esp + 0x80]
mov ebx, 3
sub eax, dword [esp + 0x2c]
movdqa xmmword [esp + 0x10], xmm0
shr eax, 4
cmp eax, 4
cmovae ebx, eax
cmp ebx, 0xaaaaaaa
setb cl
jae 0x10002552
lea eax, [ebx*4 + 4]
lea esi, [eax + eax*2]
test esi, esi
js 0x10002552
mov byte [esp + 0x50], cl
movzx eax, byte [0x104ff0b8]
mov eax, dword [0x104ff078]
test eax, eax
jne 0x10002093
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x1000253a
mov dword [0x104ff078], eax
push esi
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x1000253a
movaps xmm0, xmmword [esp + 0x10]
mov dword [eax], edi
inc ebx
mov esi, 1
mov dword [esp + 0x10], 0x10
movlps qword [eax + 4], xmm0
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ebx
mov ebx, eax
mov dword [esp + 0x4c], 1
movq xmm0, qword [esp + 0x24]
movsd xmm1, qword [esp + 0x2c]
movsd qword [esp + 0x84], xmm1
movq qword [esp + 0x7c], xmm0
jmp 0x10002113
mov ebx, dword [esp + 0x44]
movdqa xmm0, xmmword [esp + 0x50]
mov eax, dword [esp + 0x10]
inc esi
mov dword [ebx + eax - 4], edi
movq qword [ebx + eax], xmm0
add eax, 0xc
mov dword [esp + 0x4c], esi
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x34]
lea edx, [esp + 0x7c]
call fcn.10030e70
mov edi, dword [esp + 0x34]
test edi, edi
je 0x1000215d
movq xmm0, qword [esp + 0x38]
cmp esi, dword [esp + 0x48]
jne 0x100020fa
mov eax, dword [esp + 0x88]
movdqa xmmword [esp + 0x50], xmm0
sub eax, dword [esp + 0x84]
shr eax, 4
inc eax
mov edx, esi
lea ecx, [esp + 0x44]
push eax
call fcn.100016e0
add esp, 4
jmp 0x100020f0
mov esi, dword [esp + 0x84]
mov edi, dword [esp + 0x88]
sub edi, esi
je 0x1000219d
shr edi, 4
add esi, 4
jmp 0x10002186
add esi, 0x10
dec edi
je 0x1000219d
cmp dword [esi], 0
je 0x10002180
push dword [esi - 4]
push 0
push dword [0x104ff078]
call sub.KERNEL32.dll_HeapFree
jmp 0x10002180
cmp dword [esp + 0x80], 0
je 0x100021b8
push dword [esp + 0x7c]
push 0
push dword [0x104ff078]
call sub.KERNEL32.dll_HeapFree
mov esi, dword [esp + 0x4c]
movq xmm0, qword [esp + 0x44]
test esi, esi
movq qword [esp + 0x70], xmm0
mov dword [esp + 0x78], esi
je 0x100022d5
mov ebx, dword [esp + 0x70]
lea eax, [esi + esi*2]
mov edx, 0xaaaaaaab
lea eax, [ebx + eax*4]
mov dword [esp + 0x50], eax
lea eax, [esi*4]
lea ecx, [eax + eax*2]
lea eax, [eax + eax*2 - 0xc]
mul edx
mov eax, ebx
mov edi, edx
shr edi, 3
nop
test ecx, ecx
je 0x10002219
add ecx, 0xfffffff4
add edi, dword [eax + 8]
lea eax, [eax + 0xc]
jae 0x10002200
call fcn.10004570
jmp 0x10002839
test edi, edi
mov dword [esp + 0x10], esi
je 0x100023c2
setns al
js 0x10002570
mov byte [esp + 0xc], al
movzx eax, byte [0x104ff0b8]
mov eax, dword [0x104ff078]
test eax, eax
jne 0x10002250
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x10002263
mov dword [0x104ff078], eax
push edi
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
mov esi, eax
test eax, eax
jne 0x100023c7
movzx ecx, byte [esp + 0xc]
mov edx, edi
call fcn.10002ca0
jmp 0x10002839
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x70], 4
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
sub edi, esi
je 0x100022bd
shr edi, 4
add esi, 4
jmp 0x100022a6
add esi, 0x10
dec edi
je 0x100022bd
cmp dword [esi], 0
je 0x100022a0
push dword [esi - 4]
push 0
push dword [0x104ff078]
call sub.KERNEL32.dll_HeapFree
jmp 0x100022a0
cmp dword [esp + 0x28], 0
je 0x100022d5
push dword [esp + 0x24]
push 0
push dword [0x104ff078]
call sub.KERNEL32.dll_HeapFree
xor edi, edi
mov edx, 1
mov esi, 1
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x80], 0
lea ecx, [esp + 0x24]
lea eax, [esp + 0x7c]
push eax
push esi
call fcn.10002d50
add esp, 8
cmp dword [esp + 0x24], 0
mov ecx, dword [esp + 0x28]
je 0x10002343
cmp ecx, 0x80000001
je 0x100026fe
test ecx, ecx
je 0x10002806
mov edx, dword [esp + 0x2c]
call fcn.10002ca0
jmp 0x10002839
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], esi
cmp edi, esi
je 0x100026fe
jmp 0x10002711
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
lea edi, [esp + 0x7c]
mov ebx, edx
mov ecx, edi
push eax
call fcn.10012f50
add esp, 4
mov esi, dword [esp + 0x4c]
cmp esi, dword [esp + 0x48]
jne 0x1000238a
lea ecx, [esp + 0x44]
mov edx, esi
call fcn.10030d70
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x44]
movq xmm0, qword [esp + 0x7c]
movsd xmm1, qword [esp + 0x84]
mov eax, esi
inc esi
shl eax, 4
movsd qword [edi + eax + 8], xmm1
movq qword [edi + eax], xmm0
mov ebx, dword [esp + 0x48]
cmp dword [esp + 0x28], 0
jne 0x10001fd0
jmp 0x10001fe1
mov esi, 1
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], 0
mov eax, edi
xor ecx, ecx
mov edx, dword [ebx + 8]
mov edi, dword [ebx]
mov dword [esp + 0xc], eax
cmp eax, edx
jae 0x1000240a
lea ecx, [esp + 0x7c]
mov dword [esp + 0x40], edx
call fcn.10001650
mov esi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x40], ebx
lea eax, [esi + ecx]
push edx
push edi
push eax
mov edi, edx
mov ebx, ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
add ebx, edi
mov edi, dword [esp + 0xc]
sub edi, ebx
cmp dword [esp + 0x10], 1
je 0x1000247e
mov eax, dword [esp + 0x40]
add esi, ebx
add eax, 0xc
nop dword [eax + eax]
test edi, edi
je 0x100024f1
mov ebx, eax
mov eax, dword [eax]
dec edi
mov ecx, dword [ebx + 8]
mov byte [esi], 0x20
sub edi, ecx
jb 0x100024f1
lea edx, [esi + ecx + 1]
inc esi
mov dword [esp + 0x10], edx
push ecx
push eax
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
add ebx, 0xc
mov esi, dword [esp + 0x10]
cmp ebx, dword [esp + 0x50]
mov eax, ebx
jne 0x10002440
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x7c]
sub eax, edi
mov edi, eax
mov eax, dword [esp + 0x80]
cmp edi, 8
jae 0x100024b4
test edi, edi
je 0x100026b5
xor esi, esi
cmp byte [ecx + esi], 0
je 0x100028c2
inc esi
cmp edi, esi
jne 0x100024a0
jmp 0x100026b5
lea edx, [ecx + 3]
mov dword [esp + 0xc], edi
and edx, 0xfffffffc
sub edx, ecx
je 0x100024e7
cmp edx, edi
cmovae edx, edi
test edx, edx
je 0x100024e7
xor esi, esi
nop dword [eax]
cmp byte [ecx + esi], 0
je 0x100028c2
inc esi
cmp edx, esi
jne 0x100024d0
lea esi, [edi - 8]
jmp 0x10002892
lea esi, [edi - 8]
xor edx, edx
jmp 0x10002860
mov edx, 0x23
mov ecx, str.assertion_failed:_mid___self.len__
push 0x10044314
call fcn.10003c10
add esp, 4
jmp 0x10002839
mov edx, 0x28
mov ecx, str.internal_error:_entered_unreachable_code
push 0x104f6e48
call fcn.10003c10
add esp, 4
jmp 0x10002839
mov ecx, 4
mov edx, 0x4afa00
call fcn.10002ca0
ud2
movzx eax, byte [esp + 0x50]
xor ecx, ecx
mov cl, al
shl ecx, 2
mov edx, esi
call fcn.10002ca0
jmp 0x10002839
call fcn.10002c60
jmp 0x10002839
mov ecx, esi
push 0x104f6e38
call fcn.100038f0
add esp, 4
jmp 0x10002839
call fcn.10002c60
jmp 0x10002839
cmp eax, edi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edi
jne 0x100026f8
mov esi, eax
inc esi
je 0x10002806
mov edx, esi
not edx
shr edx, 0x1f
test eax, eax
je 0x100022f9
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], 1
mov dword [esp + 0x84], eax
jmp 0x10002304
mov esi, eax
cmp edi, esi
jne 0x10002711
lea ecx, [esp + 0x34]
mov edx, edi
call fcn.10002df0
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x3c]
mov byte [ecx + edi], 0
inc edi
mov dword [esp + 0x3c], edi
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
cmp ebx, edi
jbe 0x10002766
mov eax, dword [0x104ff078]
test edi, edi
je 0x10002758
push edi
push esi
push 0
push eax
mov dword [esp + 0x20], esi
call sub.KERNEL32.dll_HeapReAlloc
mov esi, eax
test eax, eax
jne 0x10002766
mov esi, dword [esp + 0x10]
mov ecx, 1
mov edx, edi
call fcn.10002ca0
jmp 0x10002839
push esi
push 0
push eax
call sub.KERNEL32.dll_HeapFree
mov esi, 1
mov eax, dword [esp + 0x6c]
shl eax, 2
push esi
push eax
push dword [esp + 0x6c]
call fcn.10041e00
add esp, 0xc
test edi, edi
mov byte [esi], 0
je 0x10002790
push esi
push 0
push dword [0x104ff078]
call sub.KERNEL32.dll_HeapFree
mov edi, dword [esp + 0x78]
mov esi, dword [esp + 0x70]
test edi, edi
je 0x100027cd
lea ebx, [esi + 4]
jmp 0x100027b6
add ebx, 0xc
dec edi
je 0x100027cd
cmp dword [ebx], 0
je 0x100027b0
push dword [ebx - 4]
push 0
push dword [0x104ff078]
call sub.KERNEL32.dll_HeapFree
jmp 0x100027b0
cmp dword [esp + 0x74], 0
je 0x100027e2
push esi
push 0
push dword [0x104ff078]
call sub.KERNEL32.dll_HeapFree
cmp dword [esp + 0x68], 0
je 0x100027fa
push dword [esp + 0x64]
push 0
push dword [0x104ff078]
call sub.KERNEL32.dll_HeapFree
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
call fcn.10002c60
jmp 0x10002839
ud2
mov edi, dword [ecx + edx]
mov ebx, edi
add edi, 0xfefefeff
not ebx
and edi, ebx
test edi, 0x80808080
jne 0x10002896
mov edi, dword [ecx + edx + 4]
mov ebx, edi
add edi, 0xfefefeff
not ebx
and edi, ebx
test edi, 0x80808080
jne 0x10002896
add edx, 8
cmp edx, esi
jbe 0x10002860
mov edi, dword [esp + 0xc]
cmp edi, edx
je 0x100026b5
nop word cs:[eax + eax]
nop dword [eax]
cmp byte [ecx + edx], 0
je 0x100028c0
inc edx
cmp edi, edx
jne 0x100028b0
jmp 0x100026b5
mov esi, edx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], esi
mov edx, 0x2b
mov ecx, str.called__Result::unwrap____on_an__Err__value
push 0x104f3d38
push 0x10044274
lea eax, [esp + 0x84]
push eax
call fcn.100044e0
add esp, 0xc
jmp 0x10002839