Function at 0x502870
Capabilities:
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x210
mov eax, dword [ebp + 8]
mov dword [esp + 0x1b0], edx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x5c], 8
mov dword [esp + 0x60], 0
mov dword [esp + 0x50], 8
mov dword [esp + 0x54], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x58], 0
lea edi, [esp + 0xb8]
mov ecx, 0x12
movsd xmm0, qword [eax + 0x38]
movsd xmm1, qword [eax + 8]
lea esi, [eax + 0x48]
mov edx, dword [eax + 0x40]
mov ebx, dword [eax + 0x44]
movsd qword [esp + 0xa8], xmm0
movsd xmm0, qword [eax + 0x30]
movsd qword [esp + 0x78], xmm1
movsd qword [esp + 0xa0], xmm0
movsd xmm0, qword [eax + 0x28]
movsd qword [esp + 0x98], xmm0
movsd xmm0, qword [eax + 0x20]
movsd qword [esp + 0x90], xmm0
movsd xmm0, qword [eax + 0x18]
movsd qword [esp + 0x88], xmm0
movsd xmm0, qword [eax + 0x10]
movsd qword [esp + 0x80], xmm0
movsd xmm0, qword [eax]
movsd qword [esp + 0x70], xmm0
movaps xmm0, xmmword [0x54bc10]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x94]
mov dword [esp + 0x104], ecx
mov ecx, dword [eax + 0x91]
movzx eax, byte [eax + 0x90]
mov dword [esp + 0x101], ecx
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], ebx
mov byte [esp + 0x100], al
mov dword [esp + 0x10c], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x114], 0
mov dword [esp + 0x110], 0
movups xmmword [esp + 0x118], xmm0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x134], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x13c], 0
mov dword [esp + 0x138], 0
mov byte [esp + 0x140], 0
mov byte [esp + 0x141], al
call 0x502a04
pop eax
mov dword [esp + 0x142], 0
mov dword [esp + 0x148], edx
mov dword [esp + 0x14c], ebx
mov dword [esp + 0x40], eax
lea eax, [esp + 0x170]
mov dword [esp + 0x1b8], eax
xor eax, eax
jmp 0x502a7e
mov eax, dword [esp + 0x5c]
lea ecx, [edx + edx*2]
mov edi, dword [esp + 4]
inc edx
mov dword [eax + ecx*8], ebx
mov ebx, dword [esp + 0x20]
mov dword [eax + ecx*8 + 4], esi
mov dword [eax + ecx*8 + 8], edi
mov edi, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0xc], ebx
mov ebx, dword [esp]
mov dword [eax + ecx*8 + 0x10], edi
mov dword [eax + ecx*8 + 0x14], ebx
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x1c]
movzx eax, byte [esp + 0x143]
test al, al
je 0x502af5
movzx eax, byte [esp + 0x100]
movaps xmm0, xmmword [0x54bc10]
lea ecx, [esp + 0x108]
mov dword [ecx + 4], 0
mov dword [ecx], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], 0
lea ecx, [esp + 0xb8]
movups xmmword [esp + 0x118], xmm0
mov byte [esp + 0x140], 0
mov dword [ecx + 0x74], 0
mov dword [ecx + 0x70], 0
mov dword [ecx + 0x7c], 0
mov dword [ecx + 0x78], 0
mov byte [esp + 0x141], al
mov byte [esp + 0x143], 0
mov dword [esp + 0x13c], 0
mov dword [esp + 0x138], 0
mov byte [esp + 0x142], 0
mov word [esp + 0x144], 0
mov ecx, dword [esp + 0x14c]
test ecx, ecx
je 0x504201
mov dword [esp + 0x1c], edx
jmp 0x502b7c
mov edx, dword [esp + 0x148]
lea edi, [ecx - 1]
lea ebx, [edx + 1]
mov dword [esp + 0x148], ebx
mov dword [esp + 0x14c], edi
movzx eax, byte [edx]
test eax, eax
je 0x502c80
cmp al, byte [esp + 0x105]
mov dword [esp + 0xc], ebx
mov ebx, eax
jae 0x502d00
dec eax
mov dword [esp + 4], ebx
mov dword [esp + 0x18], ecx
cmp eax, 0xb
ja 0x5033e5
mov eax, dword [eax*4 + 0x5050d0]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0x14], 0
xor ebx, ebx
mov ecx, 0x2f
xor esi, esi
add eax, dword [esp + 0x40]
jmp eax
test edi, edi
je 0x504144
lea eax, [ecx - 2]
mov dword [esp + 8], edx
mov dword [esp + 0x18], ecx
xor edi, edi
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x20], eax
nop dword [eax]
movzx eax, byte [ebx]
cmp ecx, 0x3f
jne 0x502cb0
cmp al, 2
jae 0x503e10
mov esi, ebx
mov ebx, eax
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], edi
mov edi, 0
and bl, 0x7f
movzx ebx, bl
shld eax, ebx, cl
shl ebx, cl
test cl, 0x20
cmovne eax, ebx
cmovne ebx, edi
mov edi, dword [esp + 0xc]
or edx, eax
mov eax, dword [esp + 4]
or edi, ebx
lea ebx, [esi + 1]
test al, al
jns 0x502d14
add ecx, 7
add dword [esp + 0x20], 0xffffffff
jb 0x502ca0
jmp 0x503e20
mov dword [esp + 8], 0
mov ecx, 0x2e
mov eax, ebx
jmp 0x50302f
test edx, edx
mov dword [esp + 0xc], edi
jne 0x504088
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
sub edx, ecx
jb 0x50409a
lea eax, [ebx + ecx]
test ecx, ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], edx
je 0x5040b0
lea edx, [esi + 2]
lea ebx, [ecx - 1]
mov dword [esp + 0x1bc], edx
movzx ecx, byte [esi + 1]
lea eax, [ecx - 1]
cmp eax, 3
ja 0x50358f
mov eax, dword [eax*4 + 0x505100]
mov edi, dword [esp + 0x20]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov ecx, 0x3e
xor esi, esi
add eax, dword [esp + 0x40]
jmp eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 0x14], 0
xor ebx, ebx
xor esi, esi
mov eax, ecx
mov dword [esp + 0x20], edi
mov edi, ecx
mov ecx, esi
movsd xmm1, qword [esp + 0x160]
movsd xmm0, qword [esp + 0x168]
movsd xmm2, qword [esp + 0x150]
mov edx, dword [esp + 0x1c]
add eax, 0xffffffd2
adc ecx, 0xffffffff
cmp eax, 0x15
sbb ecx, 0
mov ecx, 0x12
cmovae eax, ecx
movsd qword [esp + 0x1e0], xmm1
movsd xmm1, qword [esp + 0x158]
movsd qword [esp + 0x1e8], xmm0
movsd qword [esp + 0x1d0], xmm2
mov eax, dword [eax*4 + 0x505130]
movsd qword [esp + 0x1d8], xmm1
add eax, dword [esp + 0x40]
jmp eax
mov eax, dword [esp + 0xac]
mov ebx, dword [esp + 0xa8]
mov ecx, dword [esp + 4]
dec cl
mov dword [esp + 0x20], edi
movzx ecx, cl
cmp eax, ecx
jb 0x504101
add ebx, ecx
cmp eax, ecx
je 0x504101
movzx ebx, byte [ebx]
test ebx, ebx
je 0x503af5
mov eax, dword [esp + 0x20]
cmp ebx, 1
jne 0x503b1a
mov ebx, dword [esp + 0xc]
test eax, eax
je 0x503e3a
mov eax, dword [esp + 0x18]
mov dword [esp + 8], edx
add edx, 2
mov dword [esp], 0
mov dword [esp + 0x10], 0
xor ecx, ecx
lea esi, [eax - 2]
nop word cs:[eax + eax]
nop
movzx ebx, byte [edx - 1]
cmp ecx, 0x3f
mov dword [esp + 0x20], esi
jne 0x503476
cmp bl, 2
jae 0x503e10
mov eax, ebx
mov edi, 0
and al, 0x7f
movzx esi, al
xor eax, eax
shld eax, esi, cl
shl esi, cl
test cl, 0x20
cmovne eax, esi
cmovne esi, edi
or dword [esp + 0x10], eax
or dword [esp], esi
mov eax, ebx
test al, al
jns 0x503dcb
mov esi, dword [esp + 0x20]
add ecx, 7
inc edx
add esi, 0xffffffff
jb 0x503460
jmp 0x503e20
mov eax, edx
mov dword [esp + 4], ecx
mov ecx, edx
mov dword [esp + 0x18], 0
and eax, 0xff00
and ecx, 0xffff0000
mov dword [esp + 0x14], ecx
mov dword [esp + 8], eax
mov ecx, 0x42
jmp 0x503c59
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 4]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov ecx, 0x3b
mov dword [esp + 0x14], ebx
jmp 0x503040
mov esi, dword [esp + 0xc]
mov edx, ebx
xor ecx, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x48], esi
xor esi, esi
test eax, eax
je 0x504140
mov edi, dword [esp + 0x48]
mov dword [esp + 0x6c], esi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x3c], eax
lea esi, [eax - 1]
xor edx, edx
mov dword [esp + 8], 0
xor ecx, ecx
inc edi
nop word cs:[eax + eax]
nop
mov dword [esp], edx
movzx edx, byte [edi - 1]
cmp ecx, 0x3f
jne 0x503b75
cmp dl, 2
jae 0x5040a0
mov eax, edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], esi
xor edi, edi
and al, 0x7f
movzx esi, al
mov eax, 0
shld edi, esi, cl
shl esi, cl
test cl, 0x20
cmovne edi, esi
cmovne esi, eax
mov eax, edx
mov edx, dword [esp]
or dword [esp + 8], edi
or edx, esi
test al, al
jns 0x503bbe
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
add ecx, 7
inc edi
add esi, 0xffffffff
jb 0x503b60
jmp 0x5040be
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ebx, edx
mov dword [esp + 0x148], ecx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 8]
inc esi
mov dword [esp + 0x14c], edi
cmp esi, eax
mov eax, edi
jne 0x503b2c
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
sub eax, ebx
cmp dword [esp + 0x20], eax
mov dword [esp + 0x10], eax
jb 0x504101
mov eax, ebx
mov ecx, 0x3d
xor esi, esi
and eax, 0xff00
mov dword [esp + 8], eax
mov eax, ebx
and eax, 0xffff0000
mov dword [esp + 0x14], eax
mov eax, ebx
xor ebx, ebx
mov dword [esp], eax
jmp 0x503042
mov edi, dword [esp + 0x20]
xor esi, esi
jmp 0x503cdd
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x18]
mov dword [esp], edx
jmp 0x503042
mov eax, dword [esp]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x148], edx
xor ebx, ebx
xor esi, esi
mov ecx, eax
and eax, 0xffff0000
mov dword [esp + 0x14c], edi
and ecx, 0xff00
mov dword [esp + 0x14], eax
mov dword [esp + 8], ecx
mov ecx, 0x3c
jmp 0x503042
mov edx, 6
xor edi, edi
xor esi, esi
jmp 0x503e82
mov ebx, dword [esp + 8]
add ebx, dword [esp + 0x18]
mov dword [esp + 0x148], ebx
mov dword [esp + 0x14c], 0
xor esi, esi
mov edx, 0x13
jmp 0x503e80
xor edi, edi
movzx eax, al
movzx ecx, dl
shl esi, 0x10
mov dword [esp + 0x148], str.called__Option::unwrap____on_a__None__value_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_std_src_threadmod.rs
mov dword [esp + 0x14c], 0
shl eax, 8
or ecx, eax
or esi, ecx
mov edx, esi
cmp dl, 0x4b
jne 0x504c78
cmp dword [esp + 0x10], 0
je 0x504201
cmp byte [ebx + 0x3b], 0
mov dword [esp + 0x4c], edi
je 0x503f60
mov esi, dword [esp + 0x58]
test esi, esi
je 0x502a76
mov edi, dword [esp + 0x50]
mov dword [esp + 0x1c], edx
mov eax, dword [edi + 4]
mov ecx, dword [edi]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], ecx
cmp eax, esi
mov eax, dword [ebx]
mov ebx, dword [ebx + 4]
mov dword [esp + 0x50], 8
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp], ebx
mov dword [esp + 0xc], eax
jbe 0x50401c
lea eax, [esi*8]
lea eax, [eax + eax*2]
mov dword [esp + 0x10], eax
push eax
push edi
push 0
push dword [0x5c6108]
call sub.KERNEL32.dll_HeapReAlloc
mov ebx, eax
test eax, eax
je 0x504faa
mov edx, dword [esp + 0x64]
cmp edx, dword [esp + 0x60]
jne 0x502a40
jmp 0x50402c
mov eax, dword [ebx]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x58]
mov edi, dword [ebx + 4]
mov esi, dword [ebx + 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x14]
mov ecx, edx
sub ecx, 1
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x20]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
jb 0x503fd0
lea ecx, [ecx + ecx*2]
mov dword [esp + 0x10], esi
mov esi, dword [eax + ecx*8]
mov ebx, dword [eax + ecx*8 + 4]
xor esi, dword [esp + 4]
xor ebx, edi
or esi, ebx
mov esi, dword [esp + 0x10]
jne 0x503fd0
mov edx, dword [esp + 0xc]
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*8 + 0xc], edx
mov dword [eax + ecx*8 + 8], edi
mov dword [eax + ecx*8 + 0x10], esi
mov esi, dword [esp]
mov dword [eax + ecx*8 + 0x14], esi
jmp 0x502a72
mov ebx, edi
mov edi, dword [esp + 4]
cmp edx, dword [esp + 0x54]
jne 0x503fed
lea ecx, [esp + 0x50]
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::reserve_for_push::h39786d3819f13b9b
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x58]
lea ecx, [edx + edx*2]
inc edx
mov dword [eax + ecx*8], edi
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*8 + 4], ebx
mov ebx, dword [esp + 0xc]
mov dword [eax + ecx*8 + 8], edi
mov edi, dword [esp]
mov dword [eax + ecx*8 + 0xc], ebx
mov dword [eax + ecx*8 + 0x10], esi
mov dword [eax + ecx*8 + 0x14], edi
mov dword [esp + 0x58], edx
jmp 0x502a72
mov ebx, edi
mov edx, dword [esp + 0x64]
cmp edx, dword [esp + 0x60]
jne 0x502a40
lea ecx, [esp + 0x5c]
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::reserve_for_push::h39786d3819f13b9b
mov edx, dword [esp + 0x64]
jmp 0x502a40
mov ebx, dword [esp + 0xc]
mov edi, edx
mov edx, 0x35
xor esi, esi
jmp 0x503e82
mov dword [esp + 0x10], ebx
jmp 0x5040b0
mov edi, dword [esp + 0x44]
mov edx, 6
xor esi, esi
jmp 0x503e82
mov edx, 0x13
xor edi, edi
xor esi, esi
jmp 0x503e82
mov ebx, dword [esp + 0x48]
add ebx, dword [esp + 0x3c]
jmp 0x503e28
xor esi, esi
mov edx, 0x13
jmp 0x503e80
mov ebx, dword [esp + 0x48]
jmp 0x503e3a
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x5c]
cmp ecx, 0x15
mov dword [esp + 0x44], eax
mov eax, ecx
mov dword [esp + 0x1c], ecx
jae 0x50423a
cmp dword [esp + 0x1c], 1
jbe 0x504911
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
push 1
call sym.core::slice::sort::insertion_sort_shift_left::h82ab95d197d9c037
add esp, 4
jmp 0x504911
movzx eax, byte [0x5c6170]
mov eax, dword [0x5c6108]
test eax, eax
jne 0x50425c
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x504fba
mov dword [0x5c6108], eax
mov ecx, dword [esp + 0x1c]
lea ecx, [ecx*4]
and ecx, 0xfffffff8
lea ecx, [ecx + ecx*2]
push ecx
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
mov dword [esp + 4], eax
je 0x504fba
movzx eax, byte [0x5c6170]
mov eax, dword [0x5c6108]
test eax, eax
jne 0x5042a4
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x504fce
mov dword [0x5c6108], eax
push pe_nt_image_headers32
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x504fce
mov edi, eax
mov eax, dword [esp + 0x44]
xor ebx, ebx
mov dword [esp + 0x1b4], 0x10
lea ecx, [eax + 0x38]
add eax, 0xffffffe8
mov dword [esp + 0x6c], eax
xor eax, eax
mov dword [esp + 0x1ac], ecx
jmp 0x504303
mov ebx, 1
mov eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x1c]
jae 0x5048f2
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
mov edx, eax
mov dword [esp + 0xc], edx
sub esi, eax
lea eax, [eax + eax*2]
lea ecx, [ecx + eax*8]
cmp esi, 2
mov dword [esp + 0x10], ecx
jae 0x504390
mov ecx, dword [esp + 0x1c]
mov eax, esi
mov esi, ecx
sub esi, edx
jb 0x504f3f
cmp ecx, dword [esp + 0x1c]
ja 0x504f3f
jae 0x5043e0
cmp eax, 0xa
jae 0x5043e0
mov ecx, dword [esp + 0x1c]
lea esi, [edx + 0xa]
cmp esi, ecx
cmovae esi, ecx
mov dword [esp + 0x3c], esi
sub esi, edx
jb 0x504f74
cmp eax, 1
adc eax, 0
mov ecx, dword [esp + 0x10]
mov edx, esi
push eax
call sym.core::slice::sort::insertion_sort_shift_left::h82ab95d197d9c037
add esp, 4
mov edx, dword [esp + 0xc]
cmp ebx, dword [esp + 0x1b4]
je 0x5043ed
jmp 0x50445d
mov dword [esp + 0x4c], eax
mov eax, dword [ecx + 0x24]
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x40], eax
mov eax, dword [ecx + 8]
cmp dword [esp + 0x40], eax
mov dword [esp + 0x48], eax
sbb edx, dword [esp + 0x18]
jae 0x504750
mov eax, dword [esp + 0x4c]
cmp esi, 2
jne 0x50476a
mov edx, dword [esp + 0xc]
mov esi, 2
lea ecx, [edx + 2]
jmp 0x504815
mov dword [esp + 0x3c], ecx
cmp ebx, dword [esp + 0x1b4]
jne 0x50445d
movzx eax, byte [0x5c6170]
mov eax, dword [0x5c6108]
test eax, eax
jne 0x50440f
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x504f5b
mov dword [0x5c6108], eax
mov ecx, ebx
shl ecx, 4
push ecx
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x504f5b
mov ecx, eax
lea eax, [ebx + ebx]
mov dword [esp + 0x1b4], eax
lea eax, [ebx*8]
push eax
push edi
push ecx
mov dword [esp + 0x2c], ecx
call sym._memcpy
add esp, 0xc
push edi
push 0
push dword [0x5c6108]
call sub.KERNEL32.dll_HeapFree
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
mov dword [edi + ebx*8], esi
mov dword [edi + ebx*8 + 4], edx
inc ebx
cmp ebx, 2
jb 0x5042f5
mov dword [esp], edi
jmp 0x5044e1
mov ecx, esi
mov eax, dword [esp + 4]
mov esi, dword [esp]
mov edi, dword [esp + 8]
sub ebx, eax
lea edx, [edi - 1]
mov dword [esp + 0x20], edx
push ebx
push eax
push ecx
call sym._memcpy
add esp, 0xc
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
add eax, dword [esp + 0x10]
mov dword [esi + ecx*8 + 8], eax
mov eax, dword [esp + 0x40]
mov dword [esi + ecx*8 + 0xc], eax
not ecx
lea eax, [edx + 8]
add ecx, edi
shl ecx, 3
push ecx
push eax
push edx
call sub.msvcrt.dll_memmove
add esp, 0xc
mov ebx, dword [esp + 0x20]
mov edi, esi
cmp ebx, 1
jbe 0x5042f0
mov eax, dword [edi + ebx*8 - 8]
mov ecx, dword [edi + ebx*8 - 4]
add ecx, eax
cmp ecx, dword [esp + 0x1c]
je 0x504530
mov edx, dword [edi + ebx*8 - 0x10]
cmp edx, eax
jbe 0x504530
cmp ebx, 2
jbe 0x5048db
lea ecx, [ebx - 3]
lea esi, [edx + eax]
mov dword [esp + 0xc], ecx
mov ecx, dword [edi + ebx*8 - 0x18]
cmp ecx, esi
jbe 0x504543
cmp ebx, 3
jbe 0x5048e5
mov edi, dword [esp]
add edx, ecx
cmp dword [edi + ebx*8 - 0x20], edx
jbe 0x504543
jmp 0x5042f5
cmp ebx, 3
jb 0x50454b
mov edi, dword [esp]
lea ecx, [ebx - 3]
mov dword [esp + 0xc], ecx
mov ecx, dword [edi + ebx*8 - 0x18]
mov esi, dword [esp + 0xc]
cmp ecx, eax
jb 0x50454e
lea esi, [ebx - 2]
cmp ebx, esi
jbe 0x504ecd
lea eax, [esi + 1]
cmp ebx, eax
jbe 0x504ebb
mov eax, dword [esp]
mov edi, dword [eax + esi*8 + 8]
mov edx, dword [eax + esi*8 + 0xc]
mov ecx, dword [eax + esi*8 + 4]
add edx, edi
mov dword [esp + 0x14], edi
mov eax, edx
sub eax, ecx
mov dword [esp + 0x20], eax
jb 0x504f29
cmp edx, dword [esp + 0x1c]
ja 0x504f0d
mov dword [esp + 8], ebx
mov ebx, dword [esp]
mov dword [esp + 0x40], ecx
lea eax, [ecx + ecx*2]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xc], esi
mov edi, dword [ebx + esi*8]
lea ecx, [ecx + eax*8]
lea eax, [edi + edi*2]
mov dword [esp + 0x10], edi
lea esi, [ecx + eax*8]
lea eax, [edx + edx*2]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xc]
sub edx, edi
cmp edx, edi
lea eax, [ebx + eax*8]
mov dword [esp + 0x18], eax
jae 0x504690
lea eax, [edx*8]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x48], edx
lea ebx, [eax + eax*2]
push ebx
push esi
mov edi, dword [esp + 0xc]
push edi
call sym._memcpy
add esp, 0xc
mov eax, dword [esp + 0x10]
add ebx, edi
test eax, eax
jle 0x504480
cmp dword [esp + 0x48], 0
jle 0x504480
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x4c]
lea eax, [eax + ecx*8]
nop dword [eax]
mov ecx, dword [ebx - 0x10]
mov edx, dword [ebx - 0xc]
mov edi, 0
cmp ecx, dword [esi - 0x10]
sbb edx, dword [esi - 0xc]
setb dl
setb cl
adc edi, 0xffffffff
movzx edx, dl
neg edx
test cl, cl
lea edx, [edx + edx*2]
lea esi, [esi + edx*8]
lea edx, [edi + edi*2]
lea ebx, [ebx + edx*8]
mov ecx, ebx
cmovne ecx, esi
cmp esi, dword [esp + 0x20]
movsd xmm1, qword [ecx + 8]
movsd xmm0, qword [ecx]
movsd qword [eax + 8], xmm1
movsd xmm1, qword [ecx + 0x10]
movsd qword [eax], xmm0
movsd qword [eax + 0x10], xmm1
jbe 0x504480
add eax, 0xffffffe8
cmp ebx, dword [esp + 4]
ja 0x504620
jmp 0x504480
mov eax, dword [esp + 0x10]
lea eax, [eax*8]
lea ebx, [eax + eax*2]
push ebx
mov edi, ecx
push ecx
push dword [esp + 0xc]
call sym._memcpy
add esp, 0xc
mov eax, dword [esp + 0x10]
add ebx, dword [esp + 4]
test eax, eax
jle 0x50473a
cmp dword [esp + 0x20], eax
mov ecx, dword [esp]
jle 0x504732
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
lea ecx, [eax + ecx*8]
mov eax, dword [esp + 4]
nop word cs:[eax + eax]
mov edx, dword [esi + 8]
cmp edx, dword [eax + 8]
mov edx, dword [esi + 0xc]
sbb edx, dword [eax + 0xc]
mov edx, eax
cmovb edx, esi
movsd xmm1, qword [edx + 8]
movsd xmm0, qword [edx]
movsd qword [edi + 8], xmm1
movsd xmm1, qword [edx + 0x10]
setae dl
movsd qword [edi], xmm0
movzx edx, dl
lea edx, [edx + edx*2]
lea eax, [eax + edx*8]
setb dl
movsd qword [edi + 0x10], xmm1
add edi, 0x18
cmp eax, ebx
jae 0x50473e
movzx edx, dl
lea edx, [edx + edx*2]
lea esi, [esi + edx*8]
cmp esi, ecx
jb 0x5046e0
jmp 0x50473e
mov eax, dword [esp + 4]
mov esi, ecx
jmp 0x504741
mov eax, dword [esp + 4]
mov esi, dword [esp]
mov ecx, edi
jmp 0x504489
mov eax, dword [esp + 0x4c]
cmp esi, 2
jne 0x5047ad
mov edx, dword [esp + 0xc]
mov esi, 2
lea ecx, [edx + 2]
jmp 0x504326
mov ecx, dword [esp + 0x1ac]
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x14]
mov dword [esp + 8], ebx
mov dword [esp], edi
lea ebx, [ecx + eax*8]
mov eax, 2
nop dword [eax]
mov ecx, edx
mov edi, esi
mov esi, dword [ebx]
mov edx, dword [ebx + 4]
cmp esi, edi
mov edi, edx
sbb edi, ecx
jae 0x5047ef
inc eax
add ebx, 0x18
cmp dword [esp + 0x20], eax
jne 0x504790
jmp 0x5047eb
mov ecx, dword [esp + 0x1ac]
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x14]
mov dword [esp + 8], ebx
mov dword [esp], edi
lea ebx, [ecx + eax*8]
mov eax, 2
nop
mov edi, edx
mov ecx, esi
mov esi, dword [ebx]
mov edx, dword [ebx + 4]
cmp esi, ecx
mov ecx, edx
sbb ecx, edi
jb 0x5047ef
inc eax
add ebx, 0x18
cmp dword [esp + 0x20], eax
jne 0x5047d0
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0xc]
mov edi, dword [esp]
mov ebx, dword [esp + 8]
cmp dword [esp + 0x40], esi
mov esi, dword [esp + 0x18]
lea ecx, [eax + edx]
sbb dword [esp + 0x14], esi
mov esi, eax
jae 0x504326
cmp edx, ecx
ja 0x504f8e
cmp ecx, dword [esp + 0x1c]
ja 0x504f7b
cmp esi, 2
jb 0x504326
mov dword [esp + 0x3c], ecx
lea ecx, [edx + esi]
mov edx, dword [esp + 0x6c]
mov eax, esi
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x10]
mov dword [esp], edi
lea ecx, [ecx + ecx*2]
shr eax, 1
lea edx, [edx + ecx*8]
movsd xmm0, qword [esi + 0x10]
movsd qword [esp + 0x180], xmm0
movsd xmm0, qword [esi]
movsd xmm1, qword [esi + 8]
movsd qword [esp + 0x178], xmm1
movsd qword [esp + 0x170], xmm0
movsd xmm0, qword [edx + 0x10]
movsd qword [esi + 0x10], xmm0
movsd xmm0, qword [edx]
movsd xmm1, qword [edx + 8]
movsd qword [esi + 8], xmm1
movsd qword [esi], xmm0
add esi, 0x18
movsd xmm0, qword [esp + 0x180]
movsd qword [edx + 0x10], xmm0
movsd xmm0, qword [esp + 0x170]
movsd xmm1, qword [esp + 0x178]
movsd qword [edx + 8], xmm1
movsd qword [edx], xmm0
add edx, 0xffffffe8
dec eax
jne 0x504850
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0xc]
mov edi, dword [esp]
mov esi, dword [esp + 0x20]
jmp 0x504326
mov ebx, 2
jmp 0x5042f5
mov edi, dword [esp]
mov ebx, 3
jmp 0x5042f5
push edi
push 0
push dword [0x5c6108]
call sub.KERNEL32.dll_HeapFree
push dword [esp + 4]
push 0
push dword [0x5c6108]
call sub.KERNEL32.dll_HeapFree
cmp word [esp + 0xc2], 5
mov dword [esp + 0x150], 4
mov dword [esp + 0x154], 0
mov dword [esp + 0x158], 0
jae 0x504954
mov eax, dword [esp + 0x70]
xor eax, 0x2e
or eax, dword [esp + 0x74]
je 0x5049d9
lea eax, [esp + 0x70]
jmp 0x504965
cmp dword [esp + 0xf0], 0
je 0x5049d9
mov eax, dword [esp + 0xe8]
mov edx, dword [esp + 0x1b0]
lea esi, [esp + 0x70]
lea ecx, [esp + 0x170]
push dword [ebp + 0xc]
push esi
push eax
call dbg.render_file<gimli::read::endian_slice::EndianSlice<gimli::endianity::LittleEndian>>
add esp, 0xc
movzx eax, byte [esp + 0x170]
cmp al, 0x4b
jne 0x504c1d
mov edi, dword [esp + 0x174]
movsd xmm0, qword [esp + 0x178]
movaps xmmword [esp + 0x20], xmm0
lea ecx, [esp + 0x150]
xor edx, edx
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::reserve_for_push::h162a2e79bd6c5b6f
mov esi, dword [esp + 0x158]
mov edx, dword [esp + 0x150]
movaps xmm0, xmmword [esp + 0x20]
lea ecx, [esi + esi*2]
mov dword [esp + 4], edx
lea eax, [edx + ecx*4]
mov dword [edx + ecx*4], edi
jmp 0x504a09
lea ecx, [esp + 0x150]
xor edx, edx
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::reserve_for_push::h162a2e79bd6c5b6f
mov esi, dword [esp + 0x158]
mov edx, dword [esp + 0x150]
xorps xmm0, xmm0
lea ecx, [esi + esi*2]
mov dword [esp + 4], edx
lea eax, [edx + ecx*4]
mov dword [edx + ecx*4], 1
inc esi
mov ebx, 1
movlps qword [eax + 4], xmm0
mov dword [esp + 0xc], 0
mov dword [esp + 0x158], esi
jmp 0x504a54
lea eax, [esi + esi*2]
inc esi
add ebx, 1
movaps xmm0, xmmword [esp + 0x20]
mov dword [esp + 4], ecx
adc dword [esp + 0xc], 0
mov dword [ecx + eax*4], edi
movlps qword [ecx + eax*4 + 4], xmm0
mov dword [esp + 0x158], esi
cmp word [esp + 0xc2], 5
jae 0x504a80
mov eax, ebx
or eax, dword [esp + 0xc]
je 0x504b0d
lea eax, [ebx - 1]
cmp eax, dword [esp + 0xf0]
jae 0x504b22
imul eax, eax, 0x38
jmp 0x504a90
cmp dword [esp + 0xf0], ebx
jbe 0x504b22
imul eax, ebx, 0x38
add eax, dword [esp + 0xe8]
mov edx, dword [esp + 0x1b0]
lea ecx, [esp + 0x170]
push dword [ebp + 0xc]
lea edi, [esp + 0x74]
push edi
push eax
call dbg.render_file<gimli::read::endian_slice::EndianSlice<gimli::endianity::LittleEndian>>
add esp, 0xc
movzx eax, byte [esp + 0x170]
cmp al, 0x4b
jne 0x504baf
movsd xmm0, qword [esp + 0x178]
mov ecx, dword [esp + 4]
mov edi, dword [esp + 0x174]
cmp esi, dword [esp + 0x154]
movaps xmmword [esp + 0x20], xmm0
jne 0x504a30
lea ecx, [esp + 0x150]
mov edx, esi
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::reserve_for_push::h162a2e79bd6c5b6f
mov ecx, dword [esp + 0x150]
mov esi, dword [esp + 0x158]
jmp 0x504a30
mov eax, dword [esp + 0x70]
xor eax, 0x2e
or eax, dword [esp + 0x74]
lea eax, [esp + 0x70]
jne 0x504a97
mov edi, dword [esp + 0x150]
cmp dword [esp + 0x154], esi
jbe 0x504b5d
test esi, esi
je 0x504d95
lea eax, [esi*4]
lea ebx, [eax + eax*2]
push ebx
push edi
push 0
push dword [0x5c6108]
call sub.KERNEL32.dll_HeapReAlloc
mov edi, eax
test eax, eax
je 0x504fe7
mov ebx, dword [esp + 0x64]
mov eax, dword [esp + 0x5c]
cmp dword [esp + 0x60], ebx
jbe 0x504dcf
test ebx, ebx
je 0x504dbc
lea ecx, [ebx*8]
lea ecx, [ecx + ecx*2]
mov dword [esp + 4], ecx
push ecx
push eax
push 0
push dword [0x5c6108]
call sub.KERNEL32.dll_HeapReAlloc
test eax, eax
jne 0x504dcf
mov edx, dword [esp + 4]
mov ecx, 8
call dbg.handle_alloc_error
jmp 0x504ff3
movzx ecx, byte [esp + 0x173]
mov edx, dword [esp + 0x68]
movzx ebx, word [esp + 0x171]
mov edi, dword [esp + 0x174]
movsd xmm0, qword [esp + 0x178]
test esi, esi
mov byte [edx + 0xb], cl
mov word [edx + 9], bx
mov byte [edx + 8], al
mov dword [edx + 0xc], edi
movsd qword [edx + 0x10], xmm0
mov dword [edx], 1
je 0x504d7e
mov edi, dword [esp + 4]
mov ebx, edi
add edi, 4
jmp 0x504c06
add edi, 0xc
dec esi
je 0x504c5e
cmp dword [edi], 0
je 0x504c00
push dword [edi - 4]
push 0
push dword [0x5c6108]
call sub.KERNEL32.dll_HeapFree
jmp 0x504c00
movzx ecx, byte [esp + 0x173]
mov edx, dword [esp + 0x68]
movzx edi, word [esp + 0x171]
mov esi, dword [esp + 0x174]
movsd xmm0, qword [esp + 0x178]
mov ebx, 4
mov byte [edx + 0xb], cl
mov word [edx + 9], di
mov byte [edx + 8], al
mov dword [edx + 0xc], esi
movsd qword [edx + 0x10], xmm0
mov dword [edx], 1
cmp dword [esp + 0x154], 0
je 0x504ca1
push ebx
push 0
push dword [0x5c6108]
call sub.KERNEL32.dll_HeapFree
jmp 0x504ca1
mov ecx, dword [esp + 0x68]
mov eax, edx
shr eax, 8
mov byte [ecx + 8], dl
shr edx, 0x18
mov word [ecx + 9], ax
mov byte [ecx + 0xb], dl
mov edx, dword [esp + 0x10]
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], edi
mov dword [ecx], 1
cmp dword [esp + 0xc8], 0
je 0x504cbf
push dword [esp + 0xc4]
push 0
push dword [0x5c6108]
call sub.KERNEL32.dll_HeapFree
cmp dword [esp + 0xd4], 0
je 0x504cdd
push dword [esp + 0xd0]
push 0
push dword [0x5c6108]
call sub.KERNEL32.dll_HeapFree
cmp dword [esp + 0xe0], 0
je 0x504cfb
push dword [esp + 0xdc]
push 0
push dword [0x5c6108]
call sub.KERNEL32.dll_HeapFree
cmp dword [esp + 0xec], 0
je 0x504d19
push dword [esp + 0xe8]
push 0
push dword [0x5c6108]
call sub.KERNEL32.dll_HeapFree
cmp dword [esp + 0x54], 0
je 0x504d31
push dword [esp + 0x50]
push 0
push dword [0x5c6108]
call sub.KERNEL32.dll_HeapFree
mov edi, dword [esp + 0x64]
mov esi, dword [esp + 0x5c]
test edi, edi
je 0x504d6d
lea ebx, [esi + 4]
jmp 0x504d56
add ebx, 0x18
dec edi
je 0x504d6d
cmp dword [ebx], 0
je 0x504d50
push dword [ebx - 4]
push 0
push dword [0x5c6108]
call sub.KERNEL32.dll_HeapFree
jmp 0x504d50
cmp dword [esp + 0x60], 0
je 0x504e75
push esi
jmp 0x504e68
mov ebx, dword [esp + 4]
cmp dword [esp + 0x154], 0
jne 0x504c68
jmp 0x504ca1
push edi
push 0
push dword [0x5c6108]
call sub.KERNEL32.dll_HeapFree
mov edi, 4
mov ebx, dword [esp + 0x64]
mov eax, dword [esp + 0x5c]
cmp dword [esp + 0x60], ebx
ja 0x504b6f
jmp 0x504dcf
push eax
push 0
push dword [0x5c6108]
call sub.KERNEL32.dll_HeapFree
mov eax, 8
mov ecx, dword [esp + 0x68]
cmp dword [esp + 0xc8], 0
mov dword [ecx + 4], edi
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], ebx
mov dword [ecx], 0
je 0x504e03
push dword [esp + 0xc4]
push 0
push dword [0x5c6108]
call sub.KERNEL32.dll_HeapFree
cmp dword [esp + 0xd4], 0
je 0x504e21
push dword [esp + 0xd0]
push 0
push dword [0x5c6108]
call sub.KERNEL32.dll_HeapFree
cmp dword [esp + 0xe0], 0
je 0x504e3f
push dword [esp + 0xdc]
push 0
push dword [0x5c6108]
call sub.KERNEL32.dll_HeapFree
cmp dword [esp + 0xec], 0
je 0x504e5d
push dword [esp + 0xe8]
push 0
push dword [0x5c6108]
call sub.KERNEL32.dll_HeapFree
cmp dword [esp + 0x54], 0
je 0x504e75
push dword [esp + 0x50]
push 0
push dword [0x5c6108]
call sub.KERNEL32.dll_HeapFree
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, esi
push eax
call dbg.panic
add esp, 4
jmp 0x504ff3
mov edx, 0x5a4b50
mov dword [esp + str.Index_out_of_bounds], 0x5a4ad8
jmp 0x504edd
mov dword [esp + str.Index_out_of_bounds], 0x5a4ad8
mov edx, 0x5a4b40
mov ecx, dword [esp + 0x1b8]
mov dword [ecx + 4], 1
mov dword [ecx + 0x10], 0
mov dword [ecx + 8], str.called__Option::unwrap____on_a__None__value_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_std_src_threadmod.rs
mov dword [ecx + 0xc], 0
mov edi, dword [esp]
call dbg.panic_fmt
jmp 0x504ff3
mov ecx, edx
mov edx, dword [esp + 0x1c]
push 0x5a4b60
mov edi, dword [esp + 4]
call dbg.slice_end_index_len_fail
add esp, 4
jmp 0x504ff3
push 0x5a4b60
mov edi, dword [esp + 4]
call dbg.slice_index_order_fail
add esp, 4
jmp 0x504ff3
mov edx, 0x2c
mov ecx, str.assertion_failed:_end___start__end___len
push 0x5a4bcc
call dbg.panic
add esp, 4
jmp 0x504ff3
mov edx, 0x2b
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_std_src_threadmod.rs
push 0x5a4b90
call dbg.panic
add esp, 4
jmp 0x504ff3
mov eax, 0x5a4bdc
jmp 0x504f97
mov edx, dword [esp + 0x1c]
push 0x5a4b30
call dbg.slice_end_index_len_fail
add esp, 4
jmp 0x504ff3
mov eax, 0x5a4b30
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0xc]
push eax
call dbg.slice_index_order_fail
add esp, 4
jmp 0x504ff3
mov edx, dword [esp + 0x10]
mov ecx, 8
call dbg.handle_alloc_error
jmp 0x504ff3
mov eax, 0x5a4b70
mov esi, 0x2b
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_std_src_threadmod.rs
jmp 0x504eab
mov edx, 0x2b
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_std_src_threadmod.rs
push 0x5a4b80
call dbg.panic
add esp, 4
jmp 0x504ff3
mov ecx, 4
mov edx, ebx
call dbg.handle_alloc_error
ud2