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 [0x104f8048]
mov eax, dword [0x104f8080]
test eax, eax
jne 0x100017c1
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x10002519
mov dword [0x104f8080], eax
push 0x4a8400
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x10002519
xor edx, edx
mov edi, 0xffb57c00
lea esi, [esp + 0x64]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], 0x12a100
mov dword [esp + 0x6c], 0
jmp 0x10001827
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
rol ebx, 0x10
add ebx, 0x50457969
rol ebx, 0x10
add ebx, 0xa249b2c1
mov dword [eax + edx*4], ebx
inc edx
add edi, 4
mov dword [esp + 0x6c], edx
je 0x1000183c
mov ebx, dword [edi + str.src_source_mod.rs]
cmp edx, dword [esp + 0x68]
jne 0x10001808
mov ecx, esi
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 0x10001d1c
movzx edi, word [eax]
test di, di
je 0x10001d1c
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 0x100018bc
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 0x10001913
mov esi, eax
cmp di, 9
je 0x100018f0
movzx eax, di
cmp eax, 0x20
je 0x100018f0
cmp eax, 0x22
jne 0x100018f7
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 0x100018bc
jmp 0x10001913
test byte [esp + 0x10], 1
je 0x10001913
cmp ebx, dword [esp + 0x38]
jne 0x100018a8
lea ecx, [esp + 0x34]
mov edx, ebx
call fcn.10011da0
jmp 0x100018a0
add esi, 2
movzx eax, word [esi]
cmp eax, 0x20
je 0x10001910
cmp eax, 9
je 0x10001910
mov edi, dword [esp + 0x34]
mov edx, edi
lea ecx, [esp + 0x7c]
push ebx
call fcn.10012f80
add esp, 4
lea ecx, [esp + 0x44]
xor edx, edx
call fcn.10030da0
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 0x10001f86
mov ecx, 2
mov dword [esp + 0x10], 0
mov dword [esp + 0x50], 0
jmp 0x100019cb
test byte [esp + 0x50], 1
jne 0x10001b5e
movzx ebx, word [edi]
mov al, 1
mov dword [esp + 0x50], eax
nop dword [eax]
test bx, bx
mov esi, edi
je 0x10001f96
movzx eax, bx
lea edi, [esi + 2]
cmp eax, 0x21
jg 0x10001a80
cmp eax, 9
je 0x100019e8
cmp eax, 0x20
jne 0x10001af0
test byte [esp + 0x50], 1
jne 0x10001af0
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
mov ebx, edx
lea ecx, [esp + 0x7c]
push eax
call fcn.10012f80
add esp, 4
mov edx, dword [esp + 0x4c]
cmp edx, dword [esp + 0x48]
jne 0x10001a21
lea ecx, [esp + 0x44]
call fcn.10030da0
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 0x10001a63
add edi, 2
movzx ebx, word [edi]
cmp ebx, 0x20
je 0x10001a60
cmp ebx, 9
je 0x10001a60
mov dword [esp + 0x10], 0
jmp 0x100019c0
cmp eax, 0x22
je 0x100019a9
cmp eax, 0x5c
jne 0x10001af0
movzx eax, word [edi]
xor ebx, ebx
cmp ax, 0x5c
jne 0x10001aaf
xor ebx, ebx
nop dword [eax + eax]
movzx eax, word [esi + ebx*2 + 4]
add edi, 2
inc ebx
cmp ax, 0x5c
je 0x10001aa0
inc ebx
cmp ax, 0x22
jne 0x10001b2c
mov eax, dword [esp + 0x28]
mov esi, ebx
shr esi, 1
sub eax, dword [esp + 0x10]
cmp eax, esi
jae 0x10001b7f
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x24]
push esi
call fcn.10011ee0
add esp, 4
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
jmp 0x10001b88
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x28]
jne 0x10001b0f
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x24]
call fcn.10011da0
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 0x100019c0
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x10]
cmp eax, ebx
jae 0x10001be2
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x24]
push ebx
call fcn.10011ee0
add esp, 4
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x10], eax
jmp 0x10001bea
movzx ebx, word [edi]
cmp ebx, 0x22
je 0x10001c2f
test ebx, ebx
je 0x10001f96
mov dword [esp + 0x50], 0
jmp 0x100019c0
cmp ebx, 2
jb 0x10001cc4
mov ecx, dword [esp + 0x24]
cmp ebx, 0x20
jb 0x10001cb0
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 0x10001bc0
cmp esi, eax
jne 0x10001c9d
mov ecx, dword [esp + 0xc]
jmp 0x10001cc4
test ebx, ebx
je 0x10001c94
cmp ebx, 0x10
jb 0x10001c80
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 0x10001c10
cmp ebx, eax
mov dword [esp + 0x10], esi
jne 0x10001c78
mov ecx, dword [esp + 0xc]
jmp 0x10001c94
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x28]
jne 0x10001c4e
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x24]
call fcn.10011da0
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 0x100019c0
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 0x10001c80
mov eax, dword [esp + 0x10]
jmp 0x10001b20
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 0x10001cb0
mov eax, dword [esp + 0x10]
test bl, 1
mov dword [esp + 0x2c], eax
je 0x10001b24
xor ebx, ebx
cmp word [edi], 0
mov eax, dword [esp + 0x10]
setne byte [esp + 0xc]
cmp eax, dword [esp + 0x28]
jne 0x10001cff
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x24]
call fcn.10011da0
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 0x10001b1b
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 0x10001d6e
jmp 0x10001d80
jbe 0x10001e16
cmp esi, 0x201
jae 0x10001d80
mov dword [esp + 0xc], 0x200
lea edi, [esp + 0x7c]
mov ebx, esi
jmp 0x10001dbf
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x50]
sub esi, ebx
sub eax, ebx
cmp eax, esi
jae 0x10001dab
mov edx, ebx
lea ecx, [esp + 0x34]
push esi
call fcn.10011ee0
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 0x10001de2
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x10001f67
cmp esi, ebx
jne 0x10001d60
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x100024fd
lea esi, [ebx + ebx]
test ebx, ebx
mov eax, 0xffffffff
cmovs esi, eax
cmp esi, 0x201
jb 0x10001d6e
jmp 0x10001d80
mov edx, dword [esp + 0xc]
cmp esi, edx
ja 0x1000254c
mov edx, edi
lea ecx, [esp + 0x24]
push esi
call fcn.10012f80
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 0x10001e7d
push dword [esp + 0x40]
push 0
push dword [0x104f8080]
mov esi, eax
call sub.KERNEL32.dll_HeapFree
mov eax, esi
cmp bl, 2
jne 0x10001eeb
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 0x10001f2b
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 0x10001edb
cmp dword [ebx + 8], 9
jb 0x10001ecd
mov edi, dword [edi - 4]
push edi
push 0
push dword [0x104f8080]
call sub.KERNEL32.dll_HeapFree
push esi
push 0
push dword [0x104f8080]
call sub.KERNEL32.dll_HeapFree
jmp 0x10001f2b
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.10030da0
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 0x10001fe9
mov bl, 2
mov dword [esp + 0x50], 0
call sub.KERNEL32.dll_GetLastError
cmp dword [esp + 0x10], 0
jne 0x10001e68
jmp 0x10001e7d
mov dword [esp + 0x50], 0
mov dword [esp + 0x10], 0
cmp dword [esp + 0x10], 0
jne 0x10002348
mov eax, dword [esp + 0x50]
and al, 1
jne 0x10002348
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x48]
cmp dword [esp + 0x28], 0
je 0x10001fd1
push dword [esp + 0x24]
push 0
push dword [0x104f8080]
call sub.KERNEL32.dll_HeapFree
cmp dword [esp + 0x38], 0
je 0x10001fe9
push dword [esp + 0x40]
push 0
push dword [0x104f8080]
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.10030ea0
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x10002264
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 0x10002542
lea eax, [ebx*4 + 4]
lea esi, [eax + eax*2]
test esi, esi
js 0x10002542
mov byte [esp + 0x50], cl
movzx eax, byte [0x104f8048]
mov eax, dword [0x104f8080]
test eax, eax
jne 0x10002083
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x1000252a
mov dword [0x104f8080], eax
push esi
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x1000252a
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 0x10002103
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.10030ea0
mov edi, dword [esp + 0x34]
test edi, edi
je 0x1000214d
movq xmm0, qword [esp + 0x38]
cmp esi, dword [esp + 0x48]
jne 0x100020ea
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 0x100020e0
mov esi, dword [esp + 0x84]
mov edi, dword [esp + 0x88]
sub edi, esi
je 0x1000218d
shr edi, 4
add esi, 4
jmp 0x10002176
add esi, 0x10
dec edi
je 0x1000218d
cmp dword [esi], 0
je 0x10002170
push dword [esi - 4]
push 0
push dword [0x104f8080]
call sub.KERNEL32.dll_HeapFree
jmp 0x10002170
cmp dword [esp + 0x80], 0
je 0x100021a8
push dword [esp + 0x7c]
push 0
push dword [0x104f8080]
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 0x100022c5
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 0x10002209
add ecx, 0xfffffff4
add edi, dword [eax + 8]
lea eax, [eax + 0xc]
jae 0x100021f0
call fcn.100045a0
jmp 0x10002829
test edi, edi
mov dword [esp + 0x10], esi
je 0x100023b2
setns al
js 0x10002560
mov byte [esp + 0xc], al
movzx eax, byte [0x104f8048]
mov eax, dword [0x104f8080]
test eax, eax
jne 0x10002240
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x10002253
mov dword [0x104f8080], eax
push edi
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
mov esi, eax
test eax, eax
jne 0x100023b7
movzx ecx, byte [esp + 0xc]
mov edx, edi
call fcn.10002cd0
jmp 0x10002829
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 0x100022ad
shr edi, 4
add esi, 4
jmp 0x10002296
add esi, 0x10
dec edi
je 0x100022ad
cmp dword [esi], 0
je 0x10002290
push dword [esi - 4]
push 0
push dword [0x104f8080]
call sub.KERNEL32.dll_HeapFree
jmp 0x10002290
cmp dword [esp + 0x28], 0
je 0x100022c5
push dword [esp + 0x24]
push 0
push dword [0x104f8080]
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.10002d80
add esp, 8
cmp dword [esp + 0x24], 0
mov ecx, dword [esp + 0x28]
je 0x10002333
cmp ecx, 0x80000001
je 0x100026ee
test ecx, ecx
je 0x100027f6
mov edx, dword [esp + 0x2c]
call fcn.10002cd0
jmp 0x10002829
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], esi
cmp edi, esi
je 0x100026ee
jmp 0x10002701
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
lea edi, [esp + 0x7c]
mov ebx, edx
mov ecx, edi
push eax
call fcn.10012f80
add esp, 4
mov esi, dword [esp + 0x4c]
cmp esi, dword [esp + 0x48]
jne 0x1000237a
lea ecx, [esp + 0x44]
mov edx, esi
call fcn.10030da0
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 0x10001fc0
jmp 0x10001fd1
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 0x100023fa
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 0x1000246e
mov eax, dword [esp + 0x40]
add esi, ebx
add eax, 0xc
nop dword [eax + eax]
test edi, edi
je 0x100024e1
mov ebx, eax
mov eax, dword [eax]
dec edi
mov ecx, dword [ebx + 8]
mov byte [esi], 0x20
sub edi, ecx
jb 0x100024e1
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 0x10002430
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 0x100024a4
test edi, edi
je 0x100026a5
xor esi, esi
cmp byte [ecx + esi], 0
je 0x100028b2
inc esi
cmp edi, esi
jne 0x10002490
jmp 0x100026a5
lea edx, [ecx + 3]
mov dword [esp + 0xc], edi
and edx, 0xfffffffc
sub edx, ecx
je 0x100024d7
cmp edx, edi
cmovae edx, edi
test edx, edx
je 0x100024d7
xor esi, esi
nop dword [eax]
cmp byte [ecx + esi], 0
je 0x100028b2
inc esi
cmp edx, esi
jne 0x100024c0
lea esi, [edi - 8]
jmp 0x10002882
lea esi, [edi - 8]
xor edx, edx
jmp 0x10002850
mov edx, 0x23
mov ecx, str.assertion_failed:_mid___self.len__
push 0x10044314
call fcn.10003c40
add esp, 4
jmp 0x10002829
mov edx, 0x28
mov ecx, str.internal_error:_entered_unreachable_code
push 0x104ef848
call fcn.10003c40
add esp, 4
jmp 0x10002829
mov ecx, 4
mov edx, 0x4a8400
call fcn.10002cd0
ud2
movzx eax, byte [esp + 0x50]
xor ecx, ecx
mov cl, al
shl ecx, 2
mov edx, esi
call fcn.10002cd0
jmp 0x10002829
call fcn.10002c90
jmp 0x10002829
mov ecx, esi
push 0x104ef838
call fcn.10003920
add esp, 4
jmp 0x10002829
call fcn.10002c90
jmp 0x10002829
cmp eax, edi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edi
jne 0x100026e8
mov esi, eax
inc esi
je 0x100027f6
mov edx, esi
not edx
shr edx, 0x1f
test eax, eax
je 0x100022e9
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], 1
mov dword [esp + 0x84], eax
jmp 0x100022f4
mov esi, eax
cmp edi, esi
jne 0x10002701
lea ecx, [esp + 0x34]
mov edx, edi
call fcn.10002e20
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 0x10002756
mov eax, dword [0x104f8080]
test edi, edi
je 0x10002748
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 0x10002756
mov esi, dword [esp + 0x10]
mov ecx, 1
mov edx, edi
call fcn.10002cd0
jmp 0x10002829
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 0x10002780
push esi
push 0
push dword [0x104f8080]
call sub.KERNEL32.dll_HeapFree
mov edi, dword [esp + 0x78]
mov esi, dword [esp + 0x70]
test edi, edi
je 0x100027bd
lea ebx, [esi + 4]
jmp 0x100027a6
add ebx, 0xc
dec edi
je 0x100027bd
cmp dword [ebx], 0
je 0x100027a0
push dword [ebx - 4]
push 0
push dword [0x104f8080]
call sub.KERNEL32.dll_HeapFree
jmp 0x100027a0
cmp dword [esp + 0x74], 0
je 0x100027d2
push esi
push 0
push dword [0x104f8080]
call sub.KERNEL32.dll_HeapFree
cmp dword [esp + 0x68], 0
je 0x100027ea
push dword [esp + 0x64]
push 0
push dword [0x104f8080]
call sub.KERNEL32.dll_HeapFree
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
call fcn.10002c90
jmp 0x10002829
ud2
mov edi, dword [ecx + edx]
mov ebx, edi
add edi, 0xfefefeff
not ebx
and edi, ebx
test edi, 0x80808080
jne 0x10002886
mov edi, dword [ecx + edx + 4]
mov ebx, edi
add edi, 0xfefefeff
not ebx
and edi, ebx
test edi, 0x80808080
jne 0x10002886
add edx, 8
cmp edx, esi
jbe 0x10002850
mov edi, dword [esp + 0xc]
cmp edi, edx
je 0x100026a5
nop word cs:[eax + eax]
nop dword [eax]
cmp byte [ecx + edx], 0
je 0x100028b0
inc edx
cmp edi, edx
jne 0x100028a0
jmp 0x100026a5
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 0x104ec738
push 0x10044274
lea eax, [esp + 0x84]
push eax
call fcn.10004510
add esp, 0xc
jmp 0x10002829