Function at 0x53d8d0
Capabilities:
Create process on windows
Encode data using base64
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4fc
call 0x53d8e1
pop eax
mov dword [ebp - 0x88], ecx
mov ecx, dword [edx + 0x30]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x60], eax
movzx eax, byte [edx + 0x34]
test al, al
jne 0x53d913
test ecx, ecx
jne 0x53d913
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x2c], 0
jmp 0x53e337
test al, al
mov dword [ebp - 0xec], 0
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xe4], 0
je 0x53d941
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x28]
test eax, eax
jne 0x53da88
jmp 0x53e150
call sub.KERNEL32.dll_GetEnvironmentStringsW
test eax, eax
je 0x5407d6
lea ebx, [ebp - 0x4f8]
lea esi, [ebp - 0x80]
lea edi, [ebp - 0xb8]
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], eax
nop dword [eax]
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0x508]
push eax
call fcn.0053ae20
add esp, 8
cmp byte [ebp - 0x4fc], 2
je 0x53da6f
movsd xmm0, qword [ebp - 0x508]
movsd xmm1, qword [ebp - 0x500]
movsd qword [ebp - 0x70], xmm0
movsd qword [ebp - 0x68], xmm1
movsd xmm0, qword [ebx]
movsd xmm1, qword [ebx + 8]
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x68]
movsd qword [ebp - 0xc0], xmm1
movsd qword [ebp - 0xc8], xmm0
add ecx, eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], ecx
mov word [ebp - 0xb0], 0
mov ecx, esi
mov edx, edi
call fcn.005219e0
movsd xmm1, qword [ebp - 0x500]
lea eax, [ebp - 0x50]
movsd xmm0, qword [ebp - 0x508]
movsd xmm2, qword [ebx]
movsd qword [eax + 8], xmm1
movsd xmm1, qword [ebp - 0x80]
movsd qword [eax], xmm0
mov eax, dword [ebp - 0x78]
movsd qword [ebp - 0xb8], xmm2
movsd qword [ebp - 0x5c], xmm1
movsd xmm1, qword [ebx + 8]
mov dword [ebp - 0x54], eax
movsd qword [ebp - 0xb0], xmm1
lea edx, [ebp - 0xec]
mov ecx, esi
push edi
lea eax, [ebp - 0x5c]
push eax
call fcn.00512f20
add esp, 8
cmp byte [ebp - 0x74], 2
je 0x53d970
cmp dword [ebp - 0x7c], 0
je 0x53d970
push dword [ebp - 0x80]
push 0
push dword [0x6320d0]
call sub.KERNEL32.dll_HeapFree
jmp 0x53d970
push dword [ebp - 0xd4]
call sub.KERNEL32.dll_FreeEnvironmentStringsW
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x53e150
cmp dword [ebp - 0x2c], 0
je 0x53e150
xor ecx, ecx
test eax, eax
setne cl
xor edi, edi
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ecx + 0x2c]
mov dword [ebp - 0x20], ecx
jmp 0x53dabe
mov edi, dword [ebp - 0x10]
xor eax, eax
dec dword [ebp - 0x2c]
je 0x53e150
cmp dword [ebp - 0x14], 0
je 0x53daf0
test edi, edi
jne 0x53daf0
cmp dword [ebp - 0x20], 0
mov dword [ebp - 0x14], 1
je 0x53dafb
mov edi, eax
nop word [eax + eax]
mov edi, dword [edi + 0x1ec]
dec dword [ebp - 0x20]
jne 0x53dae0
jmp 0x53dafd
cmp dword [ebp - 0x14], 0
jne 0x53db06
jmp 0x54070a
mov edi, eax
xor eax, eax
mov dword [ebp - 0x20], 0
movzx ecx, word [edi + 0x1ea]
mov esi, dword [ebp - 0x20]
mov ebx, edi
cmp esi, ecx
jb 0x53db41
nop word cs:[eax + eax]
mov ecx, dword [ebx + 0xb0]
test ecx, ecx
je 0x5405b2
movzx esi, word [ebx + 0x1e8]
inc eax
mov ebx, ecx
cmp si, word [ecx + 0x1ea]
jae 0x53db20
test eax, eax
je 0x53db70
mov edi, dword [ebx + esi*4 + 0x1f0]
mov dword [ebp - 0x20], 0
dec eax
je 0x53db78
nop word cs:[eax + eax]
mov edi, dword [edi + 0x1ec]
dec eax
jne 0x53db60
jmp 0x53db78
lea eax, [esi + 1]
mov edi, ebx
mov dword [ebp - 0x20], eax
lea eax, [esi + esi*8]
lea eax, [eax + eax*2]
add eax, esi
shl esi, 4
cmp byte [ebx + esi + 0xc], 2
lea eax, [ebx + eax + 0xb4]
jne 0x53dcd0
mov ebx, dword [ebp - 0xec]
test ebx, ebx
je 0x53dab3
mov esi, dword [ebp - 0xe8]
mov dword [ebp - 0x10], edi
mov edx, ebx
lea ecx, [ebp - 0x80]
push dword [eax + 8]
push dword [eax]
push esi
call fcn.005156b0
add esp, 0xc
cmp dword [ebp - 0x80], 0
jne 0x53dab0
mov ecx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x74]
mov byte [ebp - 0xd4], 0
test ecx, ecx
je 0x53dee2
nop word cs:[eax + eax]
nop dword [eax + eax]
mov eax, dword [eax + edx*4 + 0x1ec]
dec ecx
je 0x53dc0b
movzx edx, word [eax + 0x1ea]
mov eax, dword [eax + edx*4 + 0x1ec]
dec ecx
jne 0x53dbfa
movzx ecx, word [eax + 0x1ea]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], 0
dec ecx
mov dword [ebp - 0xc0], ecx
lea edx, [ebp - 0xc8]
lea eax, [ebp - 0xd4]
lea ecx, [ebp - 0x508]
push eax
call fcn.00515200
add esp, 4
movsd xmm2, qword [ebp - 0x4f0]
movsd xmm1, qword [ebp - 0x4f8]
mov eax, dword [ebp - 0x4e0]
movsd xmm0, qword [ebp - 0x4e8]
mov edx, dword [ebp - 0x4dc]
mov edi, ebx
mov ebx, dword [ebp - 0x4d4]
movsd qword [ebp - 0xa0], xmm2
movsd qword [ebp - 0xa8], xmm1
movsd xmm2, qword [ebp - 0x508]
movsd xmm1, qword [ebp - 0x500]
mov dword [ebp - 0x90], eax
movsd qword [ebp - 0x98], xmm0
movsd qword [ebp - 0xb0], xmm1
movsd qword [ebp - 0xb8], xmm2
movzx eax, word [edx + 0x1ea]
cmp ebx, eax
jae 0x53df0c
mov ecx, edx
jmp 0x53df43
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], edi
test ecx, ecx
mov dword [ebp - 0x1c], ecx
je 0x53dd06
js 0x540768
mov esi, eax
mov eax, dword [0x6074b4]
movzx eax, byte [eax]
mov eax, dword [0x6320d0]
test eax, eax
je 0x53dd12
mov edi, dword [ebp - 0x1c]
mov ebx, edx
jmp 0x53dd29
mov edi, dword [ebp - 0x1c]
mov esi, eax
mov eax, 1
jmp 0x53dd3c
mov ebx, edx
call sub.KERNEL32.dll_GetProcessHeap
mov edi, dword [ebp - 0x1c]
test eax, eax
je 0x540723
mov dword [0x6320d0], eax
push edi
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
mov edx, ebx
je 0x540723
push edi
push edx
push eax
mov ebx, eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
movzx eax, byte [esi + 0x18]
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], edi
mov byte [ebp - 0x50], al
mov ebx, dword [esi]
mov esi, dword [esi + 8]
test esi, esi
je 0x53ddcb
mov dword [ebp - 0x1c], ebx
mov ecx, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x18]
xor edx, edx
cmp esi, 0x40000000
setb al
jae 0x540754
mov dl, al
lea edi, [esi + esi]
add edx, edx
test edi, edi
js 0x540754
mov dword [ebp - 0x28], edx
je 0x53ddda
mov eax, dword [0x6074b4]
movzx eax, byte [eax]
mov eax, dword [0x6320d0]
test eax, eax
jne 0x53ddb3
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x540743
mov dword [0x6320d0], eax
push edi
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x18]
test eax, eax
jne 0x53dde7
jmp 0x540743
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x18]
mov eax, 2
xor edi, edi
jmp 0x53ddea
mov eax, dword [ebp - 0x28]
mov edx, ebx
test eax, eax
je 0x540743
mov ebx, dword [ebp - 0x1c]
add ecx, edx
push edi
push ebx
push eax
mov ebx, ecx
mov edi, eax
call sub.msvcrt.dll_memcpy
mov ecx, ebx
add esp, 0xc
movsd xmm0, qword [ebp - 0x5c]
movsd xmm1, qword [ebp - 0x54]
lea eax, [ebp - 0x4fc]
movsd qword [eax], xmm0
movsd qword [eax + 8], xmm1
mov dword [ebp - 0x508], edi
mov dword [ebp - 0x504], esi
mov dword [ebp - 0x500], esi
mov esi, dword [ebx + 8]
mov edi, dword [ebx]
test esi, esi
je 0x53de6c
js 0x54075e
mov eax, dword [0x6074b4]
movzx eax, byte [eax]
mov eax, dword [0x6320d0]
test eax, eax
jne 0x53de5a
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x540733
mov dword [0x6320d0], eax
push esi
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
jne 0x53de71
jmp 0x540733
mov eax, 1
push esi
push edi
push eax
mov edi, eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
movzx eax, byte [ebx + 0xc]
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], esi
mov byte [ebp - 0x50], al
lea edx, [ebp - 0xec]
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x508]
push eax
call fcn.00512f20
add esp, 8
cmp byte [ebp - 0xac], 2
mov edi, dword [ebp - 0x10]
je 0x53dab3
cmp dword [ebp - 0xb4], 0
je 0x53dab3
push dword [ebp - 0xb8]
push 0
push dword [0x6320d0]
call sub.KERNEL32.dll_HeapFree
jmp 0x53dab3
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], edx
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0xd4]
lea ecx, [ebp - 0x508]
push eax
call fcn.00515200
add esp, 4
jmp 0x53e03f
mov eax, dword [ebp - 0x4d8]
nop word cs:[eax + eax]
nop dword [eax]
mov ecx, dword [edx + 0xb0]
test ecx, ecx
je 0x53df3f
movzx ebx, word [edx + 0x1e8]
inc eax
mov edx, ecx
cmp bx, word [ecx + 0x1ea]
jae 0x53df20
jmp 0x53df43
xor ecx, ecx
mov ebx, eax
lea eax, [ebx + ebx*8]
lea eax, [eax + eax*2]
add eax, ebx
shl ebx, 4
mov edx, dword [ecx + eax + 0xcc]
mov dword [ebp - 0x44], edx
mov edx, dword [ebp - 0xa0]
movsd xmm0, qword [ecx + eax + 0xc4]
movsd qword [ebp - 0x4c], xmm0
movsd xmm0, qword [ecx + eax + 0xb4]
movsd xmm1, qword [ecx + eax + 0xbc]
movsd qword [ebp - 0x54], xmm1
movsd qword [ebp - 0x5c], xmm0
mov dword [ecx + eax + 0xcc], edx
movsd xmm0, qword [ebp - 0xa8]
movsd qword [ecx + eax + 0xc4], xmm0
movsd xmm0, qword [ebp - 0xb8]
movsd xmm1, qword [ebp - 0xb0]
movsd qword [ecx + eax + 0xbc], xmm1
movsd qword [ecx + eax + 0xb4], xmm0
lea eax, [ebp - 0x40]
movsd xmm0, qword [ecx + ebx]
movsd xmm1, qword [ecx + ebx + 8]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
lea eax, [ebp - 0x9c]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [ecx + ebx], xmm0
movsd qword [ecx + ebx + 8], xmm1
mov ebx, edi
movsd xmm2, qword [ebp - 0x44]
movsd xmm1, qword [ebp - 0x4c]
mov eax, dword [ebp - 0x34]
movsd xmm0, qword [ebp - 0x3c]
movsd qword [ebp - 0x4f0], xmm2
movsd qword [ebp - 0x4f8], xmm1
movsd xmm2, qword [ebp - 0x5c]
movsd xmm1, qword [ebp - 0x54]
mov dword [ebp - 0x4e0], eax
movsd qword [ebp - 0x4e8], xmm0
movsd qword [ebp - 0x500], xmm1
movsd qword [ebp - 0x508], xmm2
movsd xmm2, qword [ebp - 0x4f0]
movsd xmm1, qword [ebp - 0x4f8]
mov eax, dword [ebp - 0x4e0]
movsd xmm0, qword [ebp - 0x4e8]
dec dword [ebp - 0xe4]
cmp byte [ebp - 0xd4], 0
movsd qword [ebp - 0x44], xmm2
movsd qword [ebp - 0x4c], xmm1
movsd xmm2, qword [ebp - 0x508]
movsd xmm1, qword [ebp - 0x500]
mov dword [ebp - 0x34], eax
movsd qword [ebp - 0x3c], xmm0
movsd qword [ebp - 0x54], xmm1
movsd qword [ebp - 0x5c], xmm2
je 0x53e0cb
test esi, esi
je 0x54078b
mov eax, dword [ebx + 0x1ec]
dec esi
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xe8], esi
mov dword [eax + 0xb0], 0
push ebx
push 0
push dword [0x6320d0]
call sub.KERNEL32.dll_HeapFree
cmp byte [ebp - 0x44], 2
mov edi, dword [ebp - 0x10]
je 0x53dab3
movzx eax, byte [ebp - 0x34]
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x58]
mov esi, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x3c]
cmp dword [ebp - 0x4c], 0
mov byte [ebp - 0x18], al
je 0x53e116
push dword [ebp - 0x50]
push 0
push dword [0x6320d0]
mov dword [ebp - 0x24], ebx
mov ebx, esi
mov edi, ecx
mov esi, edx
call sub.KERNEL32.dll_HeapFree
mov edx, esi
mov esi, ebx
mov ecx, edi
mov ebx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x10]
test edx, edx
je 0x53e12b
push ecx
push 0
push dword [0x6320d0]
call sub.KERNEL32.dll_HeapFree
mov edi, dword [ebp - 0x10]
cmp byte [ebp - 0x18], 2
je 0x53dab3
test ebx, ebx
je 0x53dab3
push esi
push 0
push dword [0x6320d0]
call sub.KERNEL32.dll_HeapFree
jmp 0x53dab0
mov eax, dword [ebp - 0xe4]
movsd xmm0, qword [ebp - 0xec]
mov dword [ebp - 0xf8], eax
mov eax, dword [0x6074b4]
movsd qword [ebp - 0x100], xmm0
mov dword [ebp - 0x104], 1
movzx eax, byte [eax]
mov eax, dword [0x6320d0]
test eax, eax
jne 0x53e199
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x540772
mov dword [0x6320d0], eax
push 4
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x540772
mov ecx, eax
mov dword [eax], 0x48544150
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 4
mov dword [ebp - 0x54], 4
mov byte [ebp - 0x50], 0
mov dword [ebp - 0xb8], eax
add ecx, 4
mov dword [ebp - 0xb4], ecx
mov word [ebp - 0xb0], 0
lea ecx, [ebp - 0x80]
lea edx, [ebp - 0xb8]
call fcn.005219e0
movsd xmm1, qword [ebp - 0x54]
movsd xmm0, qword [ebp - 0x5c]
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0x100]
mov ecx, dword [ebp - 0x30]
movsd qword [ebp - 0x4f4], xmm1
movsd xmm1, qword [ebp - 0x80]
movsd qword [ebp - 0x4fc], xmm0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x500], eax
test edx, edx
movsd qword [ebp - 0x508], xmm1
mov eax, dword [ebp - 0x508]
mov dword [ebp - 0x14], eax
je 0x53e2f8
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], eax
movzx esi, word [edx + 0x1ea]
lea ecx, [edx + 0xb4]
mov ebx, 0xffffffff
mov dword [ebp - 0x18], edx
lea eax, [esi + esi*8]
mov dword [ebp - 0x1c], esi
lea edi, [eax + eax*2]
add edi, esi
lea esi, [edx - 8]
nop
test edi, edi
je 0x53e2b0
lea eax, [ecx + 0x1c]
mov dword [ebp - 0x20], eax
push 1
push dword [ecx + 8]
push dword [ecx]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call sub.KERNEL32.dll_CompareStringOrdinal
mov ecx, dword [ebp - 0x20]
add edi, 0xffffffe4
add esi, 0x10
inc ebx
cmp eax, 3
je 0x53e270
cmp eax, 1
jne 0x53e2d0
jmp 0x53e2b3
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
sub eax, 1
jb 0x53e2ff
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov edx, dword [edx + ebx*4 + 0x1ec]
jmp 0x53e24b
cmp eax, 2
jne 0x5406b0
cmp dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x30]
je 0x53e2ff
mov eax, dword [esi - 8]
mov edx, dword [esi]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x4f8], 0
jne 0x53e308
jmp 0x53e31e
mov dword [ebp - 0x2c], 0
cmp dword [ebp - 0x4f8], 0
je 0x53e31e
push dword [ebp - 0x4fc]
push 0
push dword [0x6320d0]
call sub.KERNEL32.dll_HeapFree
mov ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x504], 0
je 0x53e33a
push dword [ebp - 0x14]
push 0
push dword [0x6320d0]
call sub.KERNEL32.dll_HeapFree
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x53e37b
mov edx, dword [ecx + 0x18]
mov ecx, 0x53bae0
cmp eax, 4
mov dword [ebp - 0x20], eax
jb 0x53e35f
cmp dword [edx], 0x5c3f5c5c
mov eax, 0x53bb00
cmove ecx, eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], edx
movzx ebx, byte [eax + edx - 1]
push ebx
call ecx
add esp, 4
mov edi, dword [ebp - 0x20]
test al, al
je 0x53e3fb
mov byte [ebp - 0x6c], 2
mov dword [ebp - 0x68], 0x600de4
mov ecx, dword [ebp - 0x6c]
mov edi, dword [ebp - 0x68]
mov eax, dword [ebp - 0x88]
mov dword [eax], ecx
mov dword [eax + 4], edi
mov dword [eax + 8], 2
cmp dword [ebp - 0x104], 0
je 0x53e499
mov ecx, dword [ebp - 0x100]
test ecx, ecx
je 0x53e478
mov edx, dword [ebp - 0xfc]
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x504], 0
mov dword [ebp - 0x500], ecx
mov dword [ebp - 0x4fc], edx
mov dword [ebp - 0x4f4], 0
mov dword [ebp - 0x4f0], ecx
mov ecx, 1
mov dword [ebp - 0x4ec], edx
jmp 0x53e47c
xor eax, eax
cmp edi, 3
mov ecx, 0
jbe 0x53e4be
mov esi, dword [ebp - 0x14]
movzx ecx, byte [edi + esi - 4]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x2e
jne 0x53e4b5
movzx ecx, byte [esi + edi - 3]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x65
jne 0x53e4b5
movzx ecx, byte [esi + edi - 2]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x78
jne 0x53e4b9
mov ecx, ebx
add cl, 0xbf
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, bl
cmp cl, 0x65
sete cl
jmp 0x53e4bb
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x508], ecx
mov dword [ebp - 0x4f8], ecx
mov dword [ebp - 0x4e8], eax
lea ecx, [ebp - 0x508]
call fcn.0050f3a0
cmp dword [ebp + 8], 3
jb 0x53e4aa
push dword [ebp - 0xf4]
call sub.KERNEL32.dll_CloseHandle
add esp, 0x4fc
pop esi
pop edi
pop ebx
pop ebp
ret
xor ecx, ecx
jmp 0x53e4be
xor ecx, ecx
mov edi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
add edx, edi
mov dword [ebp - 0x10], edx
nop word cs:[eax + eax]
cmp dword [ebp - 0x20], eax
je 0x53e542
mov edx, dword [ebp - 0x14]
movzx edx, byte [edx + eax]
cmp edx, 0x2f
je 0x53e4e7
inc eax
cmp edx, 0x5c
jne 0x53e4d0
test cl, cl
je 0x53e5ef
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x508]
push dword [ebp - 0x20]
call fcn.00542a80
add esp, 4
mov edx, dword [ebp - 0x508]
mov eax, dword [ebp - 0x504]
mov ecx, dword [ebp - 0x500]
test edx, edx
je 0x53e6e4
mov dword [ebp - 0x508], edx
mov dword [ebp - 0x504], eax
mov dword [ebp - 0x500], ecx
lea ecx, [ebp - 0x70]
lea edx, [ebp - 0x508]
call fcn.00539020
jmp 0x53e7f3
mov eax, dword [ebp - 0x14]
xor esi, esi
jmp 0x53e55b
xor esi, esi
test cx, cx
je 0x53e6d1
mov cx, 1
test si, si
jne 0x53e550
cmp eax, dword [ebp - 0x10]
je 0x53e793
movzx edx, byte [eax]
test dl, dl
js 0x53e577
inc eax
jmp 0x53e5c4
movzx edi, byte [eax + 1]
mov esi, edx
and esi, 0x1f
and edi, 0x3f
cmp dl, 0xdf
jbe 0x53e5ba
movzx ebx, byte [eax + 2]
shl edi, 6
and ebx, 0x3f
or ebx, edi
cmp dl, 0xf0
jb 0x53e5ca
movzx edx, byte [eax + 3]
and esi, 7
shl ebx, 6
add eax, 4
shl esi, 0x12
and edx, 0x3f
or edx, ebx
or edx, esi
cmp edx, 0xffff
jbe 0x53e5c4
jmp 0x53e5dc
shl esi, 6
add eax, 2
or esi, edi
mov edx, esi
xor esi, esi
mov ecx, edx
jmp 0x53e552
shl esi, 0xc
add eax, 3
or ebx, esi
mov edx, ebx
cmp edx, 0xffff
jbe 0x53e5c4
and edx, 0x3ff
or edx, 0xdc00
mov esi, edx
jmp 0x53e552
cmp dword [ebp - 0x20], 0
js 0x540842
mov eax, dword [0x6074b4]
movzx eax, byte [eax]
mov eax, dword [0x6320d0]
test eax, eax
jne 0x53e61c
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x540779
mov dword [0x6320d0], eax
mov esi, dword [ebp - 0x20]
push esi
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x540779
mov edi, eax
push esi
push dword [ebp - 0x14]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], esi
mov byte [ebp - 0x50], 0
movsd xmm0, qword [ebp - 0x54]
movsd xmm1, qword [ebp - 0x5c]
movsd qword [ebp - 0x500], xmm0
movsd qword [ebp - 0x508], xmm1
lea esi, [ebp - 0x508]
push 4
push str..exeprogram_not_found
push esi
call fcn.0053b4d0
add esp, 0xc
movsd xmm0, qword [ebp - 0x508]
movsd xmm1, qword [ebp - 0x500]
movsd qword [ebp - 0x5c], xmm0
movsd qword [ebp - 0x54], xmm1
mov edi, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x54]
mov edx, edi
lea ecx, [ebp - 0xb8]
push esi
call fcn.00540ca0
add esp, 4
cmp dword [ebp - 0xb8], 0
je 0x53e6f6
mov eax, dword [ebp - 0xb0]
movsd xmm0, qword [ebp - 0xb8]
mov dword [ebp - 0x68], eax
movsd qword [ebp - 0x70], xmm0
jmp 0x53e7df
mov dword [ebp - 0x6c], 2
mov dword [ebp - 0x68], 0x600d94
jmp 0x53e386
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x70], 0
jmp 0x53e7f3
push esi
push edi
call fcn.00531950
add esp, 8
test eax, eax
je 0x53e74a
cmp edx, 2
jne 0x53e719
movzx ebx, word [eax]
mov ecx, 2
cmp ebx, 0x2e2e
je 0x53e73d
mov ebx, edx
nop dword [eax + eax]
test ebx, ebx
je 0x53e73b
mov ecx, ebx
dec ebx
cmp byte [eax + ecx - 1], 0x2e
jne 0x53e720
cmp edx, ecx
jb 0x540870
test ebx, ebx
cmovne edx, ebx
mov ecx, edx
add eax, ecx
sub eax, edi
cmp esi, eax
jb 0x53e74a
mov esi, eax
mov dword [ebp - 0x54], eax
mov edx, edi
lea ecx, [ebp - 0x508]
push esi
call fcn.00542a80
add esp, 4
mov edx, dword [ebp - 0x508]
mov eax, dword [ebp - 0x504]
mov ecx, dword [ebp - 0x500]
test edx, edx
je 0x53e7d2
mov dword [ebp - 0x508], edx
mov dword [ebp - 0x504], eax
mov dword [ebp - 0x500], ecx
lea ecx, [ebp - 0x70]
lea edx, [ebp - 0x508]
call fcn.00539020
jmp 0x53e7df
mov eax, dword [ebp - 0x20]
cmp eax, 7
ja 0x53e7bc
mov ecx, dword [ebp - 0x14]
xor eax, eax
cmp byte [ecx + eax], 0x2e
je 0x53f206
inc eax
cmp dword [ebp - 0x20], eax
jne 0x53e7a0
mov dword [ebp - 0x28], 0
jmp 0x53f20d
push eax
push dword [ebp - 0x14]
push 0x2e
call fcn.004285c0
add esp, 0xc
mov dword [ebp - 0x28], eax
jmp 0x53f20d
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x70], 0
cmp dword [ebp - 0x58], 0
je 0x53e7f3
push edi
push 0
push dword [0x6320d0]
call sub.KERNEL32.dll_HeapFree
mov esi, dword [ebp - 0x70]
mov eax, dword [ebp - 0x6c]
mov edi, dword [ebp - 0x68]
test esi, esi
mov dword [ebp - 0x20], eax
je 0x53e92d
cmp edi, 5
mov dword [ebp - 0x18], esi
jb 0x53e823
cmp word [esi + edi*2 - 0xa], 0x2e
jne 0x53e823
cmp word [esi + edi*2 - 2], 0
je 0x53f02e
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x5c], 2
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov ebx, dword [eax + 0x48]
mov esi, dword [eax + 0x50]
movzx eax, byte [eax + 0x59]
mov byte [ebp - 0x24], al
lea ecx, [ebp - 0x5c]
xor edx, edx
call fcn.005161c0
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x54]
mov edi, dword [ebp - 0x10]
mov word [eax + ecx*2], 0x22
mov eax, dword [ebp - 0x14]
inc ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x508], eax
mov dword [ebp - 0x504], edi
mov word [ebp - 0x500], 0
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x508]
call fcn.00521890
mov edx, dword [ebp - 0x54]
cmp edx, dword [ebp - 0x58]
jne 0x53e89e
lea ecx, [ebp - 0x5c]
call fcn.005161c0
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x5c]
mov word [eax + edx*2], 0x22
inc edx
test esi, esi
mov dword [ebp - 0x54], edx
je 0x53e935
shl esi, 2
lea edi, [esi + esi*4]
movzx esi, byte [ebp - 0x24]
nop dword [eax]
mov edx, dword [ebp - 0x54]
cmp edx, dword [ebp - 0x58]
jne 0x53e8d3
lea ecx, [ebp - 0x5c]
call fcn.005161c0
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x5c]
mov word [eax + edx*2], 0x20
inc edx
mov dword [ebp - 0x54], edx
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0xb8]
push esi
push ebx
call fcn.00538b70
add esp, 8
movzx eax, byte [ebp - 0xb8]
cmp al, 4
jne 0x53ee81
add ebx, 0x14
add edi, 0xffffffec
jne 0x53e8c0
mov eax, dword [ebp - 0x5c]
mov ebx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x58]
mov esi, dword [ebp - 0x54]
mov cl, 1
mov dword [ebp - 0x24], ecx
test eax, eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], edx
jne 0x53e94c
jmp 0x53eec4
mov ecx, dword [ebp - 0x20]
jmp 0x53e38c
mov ebx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x58]
mov esi, dword [ebp - 0x54]
mov cl, 1
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], edx
cmp esi, edi
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], edi
mov dword [ebp - 0xcc], esi
jne 0x53e97b
lea ecx, [ebp - 0xd4]
mov edx, esi
call fcn.005161c0
mov eax, dword [ebp - 0xd4]
mov esi, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0x30]
mov word [eax + esi*2], 0
inc esi
mov eax, 0x400
mov edx, 0x608
mov dword [ebp - 0xcc], esi
cmp byte [ecx + 0x58], 0
cmove edx, eax
or edx, dword [ecx + 0x54]
cmp dword [ebp - 0x104], 0
mov dword [ebp - 0x108], edx
je 0x53ef3d
mov esi, dword [ebp - 0xf8]
movsd xmm0, qword [ebp - 0x100]
mov edi, 2
mov ecx, 0
mov dword [ebp - 0x70], 2
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x10], 0
test esi, esi
mov dword [ebp - 0xe4], esi
movsd qword [ebp - 0xec], xmm0
jne 0x53ea14
mov bl, 1
lea ecx, [ebp - 0x70]
xor edx, edx
call fcn.005161c0
mov edi, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x68]
mov word [edi + ecx*2], 0
inc ecx
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xe0], ecx
mov ecx, dword [ebp - 0xe8]
xor edx, edx
lea ebx, [ebp - 0x80]
test eax, eax
setne dl
cmove esi, eax
mov dword [ebp - 0x508], edx
mov dword [ebp - 0x504], 0
mov dword [ebp - 0x500], eax
mov dword [ebp - 0x4fc], ecx
mov dword [ebp - 0x4f8], edx
mov dword [ebp - 0x4f4], 0
mov dword [ebp - 0x4f0], eax
mov dword [ebp - 0x4ec], ecx
mov dword [ebp - 0x4e8], esi
lea edx, [ebp - 0x508]
xor esi, esi
mov ecx, ebx
call fcn.00514260
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x28], edi
test eax, eax
je 0x53fdba
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0xdc], esi
lea edx, [ecx + ecx*8]
lea esi, [edx + edx*2]
add esi, ecx
shl ecx, 4
mov edx, dword [eax + esi + 0xb4]
mov edi, dword [eax + esi + 0xb8]
mov ebx, dword [eax + esi + 0xc8]
mov dword [ebp - 0x8c], edx
movzx edx, byte [eax + esi + 0xcc]
mov dword [ebp - 0x84], edi
mov edi, dword [eax + esi + 0xbc]
mov byte [ebp - 0x1c], dl
movzx edx, byte [eax + esi + 0xcf]
mov dword [ebp - 0xf0], edi
mov edi, dword [eax + esi + 0xc0]
cmp byte [ebp - 0x1c], 2
mov byte [ebp - 0x60], dl
mov edx, dword [eax + esi + 0xc4]
mov dword [ebp - 0xd8], edx
mov dh, byte [ebp - 0x60]
mov byte [ebp - 0x5a], dh
movzx esi, word [eax + esi + 0xcd]
mov word [ebp - 0x5c], si
movsd xmm0, qword [eax + ecx]
movsd xmm1, qword [eax + ecx + 8]
lea eax, [ebp - 0x59]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
mov eax, dword [ebp - 0x4d]
movsd xmm0, qword [ebp - 0x5c]
movsd xmm1, qword [ebp - 0x54]
mov dword [ebp - 0xa9], eax
movsd qword [ebp - 0xb0], xmm1
movsd qword [ebp - 0xb8], xmm0
je 0x53fdba
lea eax, [ebp - 0xb5]
add ebx, edi
mov edx, edi
xor edi, edi
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
mov eax, ebx
lea ebx, [ebp - 0x80]
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x1c], eax
movsd qword [ebp - 0x78], xmm1
movsd qword [ebp - 0x80], xmm0
jmp 0x53eb8b
xor edi, edi
test si, si
je 0x53eee0
mov si, 1
test di, di
jne 0x53eb80
cmp edx, eax
je 0x53ec3b
movzx ebx, byte [edx]
test bl, bl
js 0x53eba6
inc edx
jmp 0x53ebf6
movzx ecx, byte [edx + 1]
mov edi, ebx
and edi, 0x1f
and ecx, 0x3f
cmp bl, 0xdf
jbe 0x53ebec
movzx eax, byte [edx + 2]
shl ecx, 6
and eax, 0x3f
or eax, ecx
cmp bl, 0xf0
jb 0x53ec07
movzx ebx, byte [edx + 3]
and edi, 7
shl eax, 6
add edx, 4
shl edi, 0x12
and ebx, 0x3f
or ebx, eax
or ebx, edi
mov eax, dword [ebp - 0x1c]
cmp ebx, 0xffff
jbe 0x53ebf6
jmp 0x53ec1c
shl edi, 6
add edx, 2
or edi, ecx
mov ebx, edi
xor edi, edi
mov esi, ebx
lea ebx, [ebp - 0x80]
test si, si
jne 0x53eb8b
jmp 0x53eee0
shl edi, 0xc
add edx, 3
or eax, edi
mov ebx, eax
mov eax, dword [ebp - 0x1c]
cmp ebx, 0xffff
jbe 0x53ebf6
and ebx, 0x3ff
or ebx, 0xdc00
mov edi, ebx
lea ebx, [ebp - 0x80]
test si, si
jne 0x53eb8b
jmp 0x53eee0
cmp dword [ebp - 0xd8], 0
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x60]
mov edi, dword [ebp - 0x8c]
je 0x53ec5e
push eax
push 0
push dword [0x6320d0]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0xf0]
mov dword [ebp - 0x14], esi
sub eax, edx
cmp eax, ecx
mov eax, ecx
jae 0x53ec92
lea ecx, [ebp - 0x70]
push eax
call fcn.005166d0
add esp, 4
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0xf0]
jmp 0x53ec95
mov ecx, dword [ebp - 0x28]
mov esi, eax
mov dword [ebp - 0x28], ecx
add eax, eax
lea ecx, [ecx + edx*2]
push eax
push edi
push ecx
mov edi, edx
call sub.msvcrt.dll_memcpy
mov edx, edi
add esp, 0xc
add edx, esi
cmp dword [ebp - 0x84], 0
mov dword [ebp - 0x68], edx
je 0x53ecd3
push dword [ebp - 0x8c]
push 0
push dword [0x6320d0]
mov edi, edx
call sub.KERNEL32.dll_HeapFree
mov edx, edi
cmp edx, dword [ebp - 0x6c]
jne 0x53ece8
lea ecx, [ebp - 0x70]
call fcn.005161c0
mov esi, dword [ebp - 0x70]
mov edx, dword [ebp - 0x68]
jmp 0x53eceb
mov esi, dword [ebp - 0x28]
mov word [esi + edx*2], 0x3d
inc edx
and dword [ebp - 0x60], 0xffffff00
xor esi, esi
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x68], edx
mov edx, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x1c], eax
mov ah, byte [ebp - 0x74]
mov dword [ebp - 0xd8], ecx
add ecx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x10], ecx
mov byte [ebp - 0x84], ah
jmp 0x53ed3b
xor esi, esi
test bx, bx
je 0x53f195
mov bx, 1
test si, si
jne 0x53ed30
cmp edx, ecx
je 0x53edcc
movzx eax, byte [edx]
test al, al
js 0x53ed56
inc edx
jmp 0x53edb2
movzx ecx, byte [edx + 1]
mov esi, eax
and esi, 0x1f
and ecx, 0x3f
cmp al, 0xdf
jbe 0x53ed8f
movzx edi, byte [edx + 2]
shl ecx, 6
and edi, 0x3f
or edi, ecx
cmp al, 0xf0
jb 0x53ed9e
movzx eax, byte [edx + 3]
and esi, 7
shl edi, 6
add edx, 4
shl esi, 0x12
and eax, 0x3f
or eax, edi
or eax, esi
jmp 0x53eda8
shl esi, 6
add edx, 2
or esi, ecx
mov ecx, dword [ebp - 0x10]
mov eax, esi
jmp 0x53edb2
shl esi, 0xc
add edx, 3
or edi, esi
mov eax, edi
mov ecx, dword [ebp - 0x10]
cmp eax, 0xffff
ja 0x53edbb
xor esi, esi
mov ebx, eax
jmp 0x53ed32
and eax, 0x3ff
or eax, 0xdc00
mov esi, eax
jmp 0x53ed32
mov ebx, dword [ebp - 0x28]
movzx edx, byte [ebp - 0x84]
mov esi, ebx
shr esi, 8
cmp dl, 2
je 0x5405a1
lea edi, [ebp - 0x73]
lea ecx, [ebp - 0x59]
mov dword [ebp - 0xc8], ebx
movzx eax, word [edi]
mov word [ecx + 0xa], ax
movzx eax, byte [edi + 2]
mov edi, dword [ebp - 0x1c]
mov byte [ecx + 0xc], al
mov dword [ebp - 0x5c], ebx
mov eax, dword [ebp - 0xd8]
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], eax
mov dword [ebp - 0xc4], ebx
mov byte [ebp - 0x50], dl
mov word [ebp - 0xc0], 0
lea ecx, [ebp - 0x70]
lea edx, [ebp - 0xc8]
call fcn.00521890
test edi, edi
lea ebx, [ebp - 0x80]
je 0x53ee4a
push dword [ebp - 0x28]
push 0
push dword [0x6320d0]
call sub.KERNEL32.dll_HeapFree
mov edx, dword [ebp - 0x68]
cmp edx, dword [ebp - 0x6c]
jne 0x53ee5d
lea ecx, [ebp - 0x70]
call fcn.005161c0
mov edx, dword [ebp - 0x68]
mov edi, dword [ebp - 0x70]
mov eax, dword [ebp - 0x60]
mov word [edi + edx*2], 0
inc edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xe0], edx
mov dword [ebp - 0x68], edx
lea edx, [ebp - 0x508]
jmp 0x53ea79
movzx ecx, byte [ebp - 0xb1]
mov ebx, dword [ebp - 0xb7]
movzx esi, word [ebp - 0xb3]
movzx eax, al
mov edi, ebx
shl ecx, 0x10
or esi, ecx
shl edi, 8
cmp dword [ebp - 0x58], 0
je 0x53eebe
push dword [ebp - 0x5c]
push 0
push dword [0x6320d0]
mov dword [ebp - 0x14], eax
call sub.KERNEL32.dll_HeapFree
mov eax, dword [ebp - 0x14]
shld esi, ebx, 8
or edi, eax
mov eax, dword [ebp - 0x88]
mov dword [eax], edi
mov dword [eax + 4], esi
mov dword [eax + 8], 2
mov esi, dword [ebp - 0x18]
xor ebx, ebx
jmp 0x53ffd1
cmp dword [ebp - 0xd8], 0
je 0x53eef9
push dword [ebp - 0x60]
push 0
push dword [0x6320d0]
call sub.KERNEL32.dll_HeapFree
cmp dword [ebp - 0x7c], 0
je 0x53ef0f
push dword [ebp - 0x80]
push 0
push dword [0x6320d0]
call sub.KERNEL32.dll_HeapFree
or dword [ebp - 0x10], 2
cmp dword [ebp - 0x84], 0
mov edi, 0x600d94
je 0x53f1c3
push dword [ebp - 0x8c]
push 0
push dword [0x6320d0]
call sub.KERNEL32.dll_HeapFree
jmp 0x53f1c3
mov eax, ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], 2
mov dword [ebp - 0x28], 0
cmp byte [eax + 0x44], 2
jne 0x53ef6f
xor esi, esi
mov dword [ebp - 0x8c], 2
xor ecx, ecx
xor eax, eax
jmp 0x53f99a
mov edx, dword [eax + 0x38]
mov eax, dword [eax + 0x40]
xor edi, edi
add eax, edx
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x60], eax
jmp 0x53ef9b
xor edi, edi
test si, si
je 0x53f170
mov si, 1
test di, di
jne 0x53ef90
cmp edx, eax
je 0x53f941
movzx ebx, byte [edx]
test bl, bl
js 0x53efb6
inc edx
jmp 0x53f012
movzx ecx, byte [edx + 1]
mov edi, ebx
and edi, 0x1f
and ecx, 0x3f
cmp bl, 0xdf
jbe 0x53eff1
movzx eax, byte [edx + 2]
shl ecx, 6
and eax, 0x3f
or eax, ecx
cmp bl, 0xf0
jb 0x53effd
movzx ebx, byte [edx + 3]
and edi, 7
shl eax, 6
add edx, 4
shl edi, 0x12
and ebx, 0x3f
or ebx, eax
or ebx, edi
jmp 0x53f007
shl edi, 6
add edx, 2
or edi, ecx
mov ebx, edi
jmp 0x53f012
shl edi, 0xc
add edx, 3
or eax, edi
mov ebx, eax
mov eax, dword [ebp - 0x60]
cmp ebx, 0xffff
ja 0x53f01b
xor edi, edi
mov esi, ebx
jmp 0x53ef92
and ebx, 0x3ff
or ebx, 0xdc00
mov edi, ebx
jmp 0x53ef92
movzx eax, word [esi + edi*2 - 8]
lea ecx, [eax - 0x42]
cmp ecx, 0x21
ja 0x53e823
mov edx, dword [ebp - 0x60]
add edx, dword [ecx*4 + 0x540c14]
jmp edx
mov eax, dword [ebp - 0x88]
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
mov dword [eax + 4], 0x600d94
mov dword [eax], 2
mov dword [eax + 8], 2
jmp 0x53ff7f
cmp dword [ebp - 0x1c], 0
mov edi, 0x600d94
mov esi, 2
je 0x53f1b5
push dword [ebp - 0x28]
push 0
push dword [0x6320d0]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [ebp - 0xdc]
shl eax, 8
or eax, esi
mov dword [ebp - 0x10], eax
xor ebx, ebx
lea ecx, [ebp - 0x508]
call fcn.0050f3a0
cmp dword [ebp - 0x6c], 0
je 0x53f1e6
push dword [ebp - 0x70]
push 0
push dword [0x6320d0]
call sub.KERNEL32.dll_HeapFree
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov edi, dword [ebp - 0x14]
mov dword [eax], ecx
mov dword [eax + 8], 2
jmp 0x53ff95
mov dword [ebp - 0x28], 1
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x53f348
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0xb8], eax
add ecx, eax
mov dword [ebp - 0xb4], ecx
mov word [ebp - 0xb0], 0
mov byte [ebp - 0xac], 1
lea ebx, [ebp - 0xb8]
lea edi, [ebp - 0x508]
push ebx
push edi
call fcn.0053afc0
add esp, 8
jmp 0x53f26a
push ebx
push edi
call fcn.0053afc0
add esp, 8
movzx eax, byte [ebp - 0x4fc]
cmp al, 2
je 0x53f348
mov esi, dword [ebp - 0x500]
mov ecx, dword [ebp - 0x508]
mov edx, dword [ebp - 0x504]
test esi, esi
jne 0x53f2a3
test edx, edx
je 0x53f260
push ecx
push 0
push dword [0x6320d0]
call sub.KERNEL32.dll_HeapFree
jmp 0x53f260
lea ebx, [ebp - 0x4fb]
lea edi, [ebp - 0x4f]
movzx ebx, word [ebx]
mov word [edi], bx
lea ebx, [ebp - 0x4fb]
mov ah, byte [ebx + 2]
mov byte [edi + 2], ah
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x54], esi
mov byte [ebp - 0x50], al
push dword [ebp - 0x20]
push dword [ebp - 0x14]
lea eax, [ebp - 0x5c]
push eax
call fcn.005309d0
add esp, 0xc
cmp dword [ebp - 0x28], 1
je 0x53f2f5
push 3
push str.exeNULcmd.exefallback_RNG_broken:
lea eax, [ebp - 0x5c]
push eax
call fcn.00531460
add esp, 0xc
mov ebx, dword [ebp - 0x5c]
mov edx, ebx
lea ecx, [ebp - 0x508]
push dword [ebp - 0x54]
call fcn.00540ca0
add esp, 4
cmp dword [ebp - 0x58], 0
je 0x53f31f
push ebx
push 0
push dword [0x6320d0]
call sub.KERNEL32.dll_HeapFree
mov esi, dword [ebp - 0x508]
test esi, esi
jne 0x53fff2
lea ebx, [ebp - 0xb8]
push ebx
lea edi, [ebp - 0x508]
push edi
call fcn.0053afc0
add esp, 8
jmp 0x53f26a
lea ecx, [ebp - 0xb8]
call fcn.0053b1f0
cmp byte [ebp - 0xac], 2
jne 0x53f36c
lea ecx, [ebp - 0xb8]
call fcn.00510a70
jmp 0x53f42a
movsd xmm0, qword [ebp - 0xb8]
movsd xmm1, qword [ebp - 0xb0]
movsd qword [ebp - 0x5c], xmm0
movsd qword [ebp - 0x54], xmm1
mov esi, dword [ebp - 0x54]
push esi
push dword [ebp - 0x5c]
call fcn.00531820
add esp, 8
test eax, eax
je 0x53f3a0
cmp esi, edx
jb 0x53f3a0
mov dword [ebp - 0x54], edx
movsd xmm0, qword [ebp - 0x5c]
movsd xmm1, qword [ebp - 0x54]
movsd qword [ebp - 0x500], xmm1
movsd qword [ebp - 0x508], xmm0
lea esi, [ebp - 0x508]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
push esi
call fcn.005309d0
add esp, 0xc
cmp dword [ebp - 0x28], 1
je 0x53f3e5
push 3
push str.exeNULcmd.exefallback_RNG_broken:
push esi
call fcn.00531460
add esp, 0xc
mov edi, dword [ebp - 0x508]
mov edx, edi
lea ecx, [ebp - 0x80]
push dword [ebp - 0x500]
call fcn.00540ca0
add esp, 4
cmp dword [ebp - 0x504], 0
je 0x53f415
push edi
push 0
push dword [0x6320d0]
call sub.KERNEL32.dll_HeapFree
mov esi, dword [ebp - 0x80]
test esi, esi
je 0x53f42a
mov eax, dword [ebp - 0x7c]
mov edi, dword [ebp - 0x78]
mov dword [ebp - 0x20], eax
jmp 0x53e807
mov edi, 0x200
mov dword [ebp - 0xc8], 2
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 2
mov dword [ebp - 0x24], 0
cmp edi, 0x201
jb 0x53f47e
jmp 0x53f490
jbe 0x53f525
cmp edi, 0x201
jae 0x53f490
mov dword [ebp - 0x2c], 0x200
lea esi, [ebp - 0x508]
mov ebx, edi
jmp 0x53f4d0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
sub edi, ebx
sub eax, ebx
cmp eax, edi
jae 0x53f4be
mov edx, ebx
lea ecx, [ebp - 0xc8]
push edi
call fcn.005166d0
add esp, 4
mov eax, dword [ebp - 0xc8]
mov ebx, dword [ebp - 0xc4]
mov dword [ebp - 0x1c], eax
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x18], ebx
push 0
call sub.KERNEL32.dll_SetLastError
push ebx
push esi
call sub.KERNEL32.dll_GetSystemDirectoryW
mov edi, eax
test eax, eax
jne 0x53f4f1
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x53f5ae
cmp edi, ebx
jne 0x53f470
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x5407a4
lea edi, [ebx + ebx]
test ebx, ebx
mov eax, 0xffffffff
cmovs edi, eax
cmp edi, 0x201
jae 0x53f490
jmp 0x53f47e
mov eax, dword [ebp - 0x2c]
cmp edi, eax
ja 0x54085f
lea ebx, [ebp - 0x5c]
push edi
push esi
push ebx
call fcn.0052f440
add esp, 0xc
push dword [ebp - 0x20]
push dword [ebp - 0x14]
push ebx
call fcn.005309d0
add esp, 0xc
cmp dword [ebp - 0x28], 1
je 0x53f563
push 3
push str.exeNULcmd.exefallback_RNG_broken:
push ebx
call fcn.00531460
add esp, 0xc
mov edi, dword [ebp - 0x5c]
mov edx, edi
lea ecx, [ebp - 0x80]
push dword [ebp - 0x54]
call fcn.00540ca0
add esp, 4
cmp dword [ebp - 0x58], 0
je 0x53f58a
push edi
push 0
push dword [0x6320d0]
call sub.KERNEL32.dll_HeapFree
movsd xmm0, qword [ebp - 0x80]
mov eax, dword [ebp - 0x78]
mov bl, 1
movsd qword [ebp - 0xb4], xmm0
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xb8], 0
jmp 0x53f5cc
call sub.KERNEL32.dll_GetLastError
xor ebx, ebx
mov byte [ebp - 0xb4], 0
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xb8], 1
cmp dword [ebp - 0x18], 0
je 0x53f5e2
push dword [ebp - 0x1c]
push 0
push dword [0x6320d0]
call sub.KERNEL32.dll_HeapFree
test bl, bl
je 0x53f5f4
mov esi, dword [ebp - 0xb4]
test esi, esi
jne 0x53f7d0
lea ecx, [ebp - 0xb8]
call fcn.0050f180
mov edi, 0x200
mov dword [ebp - 0xc8], 2
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 2
mov dword [ebp - 0x24], 0
cmp edi, 0x201
jb 0x53f65e
jmp 0x53f670
jbe 0x53f705
cmp edi, 0x201
jae 0x53f670
mov dword [ebp - 0x2c], 0x200
lea ebx, [ebp - 0x508]
mov esi, edi
jmp 0x53f6b0
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
sub edi, esi
sub eax, esi
cmp eax, edi
jae 0x53f69e
mov edx, esi
lea ecx, [ebp - 0xc8]
push edi
call fcn.005166d0
add esp, 4
mov eax, dword [ebp - 0xc8]
mov esi, dword [ebp - 0xc4]
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x18], esi
push 0
call sub.KERNEL32.dll_SetLastError
push esi
push ebx
call sub.KERNEL32.dll_GetWindowsDirectoryW
mov edi, eax
test eax, eax
jne 0x53f6d1
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x53f78e
cmp edi, esi
jne 0x53f650
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x5407bd
lea edi, [esi + esi]
test esi, esi
mov eax, 0xffffffff
cmovs edi, eax
cmp edi, 0x201
jae 0x53f670
jmp 0x53f65e
mov eax, dword [ebp - 0x2c]
cmp edi, eax
ja 0x540881
lea esi, [ebp - 0x5c]
push edi
push ebx
push esi
call fcn.0052f440
add esp, 0xc
push dword [ebp - 0x20]
push dword [ebp - 0x14]
push esi
call fcn.005309d0
add esp, 0xc
cmp dword [ebp - 0x28], 1
je 0x53f743
push 3
push str.exeNULcmd.exefallback_RNG_broken:
push esi
call fcn.00531460
add esp, 0xc
mov edi, dword [ebp - 0x5c]
mov edx, edi
lea ecx, [ebp - 0x80]
push dword [ebp - 0x54]
call fcn.00540ca0
add esp, 4
cmp dword [ebp - 0x58], 0
je 0x53f76a
push edi
push 0
push dword [0x6320d0]
call sub.KERNEL32.dll_HeapFree
movsd xmm0, qword [ebp - 0x80]
mov eax, dword [ebp - 0x78]
mov bl, 1
movsd qword [ebp - 0xb4], xmm0
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xb8], 0
jmp 0x53f7ac
call sub.KERNEL32.dll_GetLastError
xor ebx, ebx
mov byte [ebp - 0xb4], 0
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xb8], 1
cmp dword [ebp - 0x18], 0
je 0x53f7c2
push dword [ebp - 0x1c]
push 0
push dword [0x6320d0]
call sub.KERNEL32.dll_HeapFree
test bl, bl
je 0x53f7e4
mov esi, dword [ebp - 0xb4]
test esi, esi
je 0x53f7e4
mov eax, dword [ebp - 0xb0]
mov edi, dword [ebp - 0xac]
mov dword [ebp - 0x20], eax
jmp 0x53e807
lea edi, [ebp - 0xb8]
mov ecx, edi
call fcn.0050f180
push 4
push str.PATHlibrary_std_src_sys_commonprocess.rs
lea eax, [ebp - 0xc8]
push eax
call fcn.0052bdf0
add esp, 0xc
cmp byte [ebp - 0xbc], 2
je 0x53fdaa
movsd xmm0, qword [ebp - 0xc8]
movsd xmm1, qword [ebp - 0xc0]
lea ebx, [ebp - 0x508]
movsd qword [ebp - 0x80], xmm0
movsd qword [ebp - 0x78], xmm1
mov ecx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x78]
add eax, ecx
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xb4], eax
mov word [ebp - 0xb0], 0
mov byte [ebp - 0xac], 1
push edi
push ebx
call fcn.0053afc0
add esp, 8
jmp 0x53f871
push edi
push ebx
call fcn.0053afc0
add esp, 8
movzx eax, byte [ebp - 0x4fc]
cmp al, 2
je 0x53fd94
mov esi, dword [ebp - 0x500]
mov ecx, dword [ebp - 0x508]
mov edx, dword [ebp - 0x504]
test esi, esi
jne 0x53f8aa
test edx, edx
je 0x53f867
push ecx
push 0
push dword [0x6320d0]
call sub.KERNEL32.dll_HeapFree
jmp 0x53f867
lea edi, [ebp - 0x4fb]
lea ebx, [ebp - 0x4f]
movzx edi, word [edi]
mov word [ebx], di
lea edi, [ebp - 0x4fb]
mov ah, byte [edi + 2]
mov byte [ebx + 2], ah
lea ebx, [ebp - 0x508]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x54], esi
mov byte [ebp - 0x50], al
push dword [ebp - 0x20]
push dword [ebp - 0x14]
lea eax, [ebp - 0x5c]
push eax
call fcn.005309d0
add esp, 0xc
cmp dword [ebp - 0x28], 1
je 0x53f902
push 3
push str.exeNULcmd.exefallback_RNG_broken:
lea eax, [ebp - 0x5c]
push eax
call fcn.00531460
add esp, 0xc
mov edi, dword [ebp - 0x5c]
mov edx, edi
mov ecx, ebx
push dword [ebp - 0x54]
call fcn.00540ca0
add esp, 4
cmp dword [ebp - 0x58], 0
je 0x53f928
push edi
push 0
push dword [0x6320d0]
call sub.KERNEL32.dll_HeapFree
mov esi, dword [ebp - 0x508]
test esi, esi
jne 0x540481
lea edi, [ebp - 0xb8]
jmp 0x53f85b
mov esi, dword [ebp - 0x84]
mov ecx, eax
mov dword [ebp - 0x508], esi
mov dword [ebp - 0x504], ecx
mov word [ebp - 0x500], 0
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x508]
call fcn.005219e0
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
cmp edx, ecx
jne 0x53f984
lea ecx, [ebp - 0x5c]
call fcn.005161c0
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
mov esi, dword [ebp - 0x5c]
mov eax, ecx
and eax, 0xffffff00
mov word [esi + edx*2], 0
mov dword [ebp - 0x8c], esi
movzx ecx, cl
xorps xmm0, xmm0
or ecx, eax
movups xmmword [ebp - 0xb8], xmm0
mov dword [ebp - 0x60], ecx
push 0x6320d8
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov eax, dword [0x6320bc]
test eax, 0x7fffffff
je 0x53f9cb
call fcn.005373c0
xor al, 1
jmp 0x53f9cd
xor eax, eax
movzx ecx, byte [0x6320dc]
mov dword [ebp - 0xe0], esi
test cl, cl
mov byte [ebp - 0xd8], cl
je 0x53f9f2
mov ecx, 1
mov dword [ebp - 0x7c], 0x6320d8
jmp 0x53f9fb
mov dword [ebp - 0x7c], 0x6320d8
xor ecx, ecx
mov byte [ebp - 0x78], al
mov dword [ebp - 0x80], ecx
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x84], eax
xor edx, edx
lea ebx, [ebp - 0xf4]
lea edi, [ebp - 0xc8]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x4c], 0
mov esi, dword [ecx]
mov eax, ecx
cmp esi, 5
cmove eax, edx
cmp byte [ebp + 0xc], 0
mov edx, 1
cmovne edi, ebx
cmovne edx, dword [ebp + 8]
add eax, 4
cmp esi, 5
lea ebx, [ecx + 8]
cmove eax, edi
mov edi, dword [ecx + 8]
cmovne edx, esi
mov esi, 0
cmp edi, 5
cmove ebx, esi
mov esi, dword [ecx + 0x10]
add ecx, 0x10
mov dword [ebp - 0xf0], esi
cmp esi, 5
mov esi, 0
cmove ecx, esi
mov dword [ebp - 0x30], ecx
lea esi, [ebp - 0x5c]
lea ecx, [ebp - 0x508]
push esi
push 0xfffffffffffffff6
push dword [eax]
call fcn.00540db0
add esp, 0xc
movzx eax, byte [ebp - 0x508]
mov esi, dword [ebp - 0x18]
cmp al, 4
jne 0x53fd2a
mov ecx, dword [ebp - 0x504]
add ebx, 4
cmp edi, 5
lea eax, [ebp - 0x54]
cmove edi, dword [ebp + 8]
mov dword [ebp - 0xdc], ecx
lea ecx, [ebp - 0xf4]
cmove ebx, ecx
mov edx, edi
lea ecx, [ebp - 0x508]
push eax
push 0xfffffffffffffff5
push dword [ebx]
call fcn.00540db0
add esp, 0xc
movzx eax, byte [ebp - 0x508]
mov ebx, dword [ebp - 0xdc]
cmp al, 4
jne 0x53fd5f
mov esi, dword [ebp - 0x30]
mov edx, dword [ebp - 0xf0]
lea ecx, [ebp - 0xf4]
lea eax, [ebp - 0x4c]
add esi, 4
cmp edx, 5
cmove esi, ecx
mov ecx, dword [ebp - 0x504]
cmove edx, dword [ebp + 8]
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x508]
push eax
push 0xfffffffffffffff4
push dword [esi]
mov edi, dword [ebp - 0x14]
call fcn.00540db0
add esp, 0xc
movzx eax, byte [ebp - 0x508]
cmp al, 4
jne 0x53fded
mov edi, dword [ebp - 0x504]
test ebx, ebx
mov dword [ebp - 0x500], 0
mov dword [ebp - 0x504], 0
mov dword [ebp - 0x4f8], 0
mov dword [ebp - 0x4fc], 0
mov dword [ebp - 0x4f0], 0
mov dword [ebp - 0x4f4], 0
mov dword [ebp - 0x4e8], 0
mov dword [ebp - 0x4ec], 0
mov dword [ebp - 0x4e0], 0
mov dword [ebp - 0x4e4], 0
mov dword [ebp - 0x4d8], 0
mov dword [ebp - 0x4dc], 0
mov dword [ebp - 0x4d0], 0
mov dword [ebp - 0x4d4], 0
mov dword [ebp - 0x4c8], 0
mov dword [ebp - 0x4cc], 0
mov dword [ebp - 0x508], 0x44
jne 0x53fbfd
cmp dword [ebp - 0x30], 0
jne 0x53fbfd
test edi, edi
je 0x53fc1c
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x4dc], 0x100
mov dword [ebp - 0x4d0], ebx
mov dword [ebp - 0x4cc], eax
mov dword [ebp - 0x4c8], edi
mov esi, dword [ebp - 0xd4]
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x508]
push eax
push dword [ebp - 0xe0]
push dword [ebp - 0x28]
push dword [ebp - 0x108]
push 1
push 0
push 0
push esi
push dword [ebp - 0x2c]
call sub.KERNEL32.dll_CreateProcessW
test eax, eax
je 0x53feb3
mov eax, dword [ebp - 0x88]
movsd xmm1, qword [ebp - 0x54]
movsd xmm0, qword [ebp - 0x4c]
movsd xmm2, qword [ebp - 0x5c]
movsd qword [eax + 0x10], xmm1
movsd xmm1, qword [ebp - 0xb8]
movsd qword [eax + 0x18], xmm0
movsd qword [eax + 8], xmm2
movsd qword [eax], xmm1
push edi
call sub.KERNEL32.dll_CloseHandle
push dword [ebp - 0x30]
call sub.KERNEL32.dll_CloseHandle
push ebx
call sub.KERNEL32.dll_CloseHandle
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x80]
call fcn.0050f8f0
cmp dword [ebp - 0x60], 0
je 0x53fcbe
push dword [ebp - 0x8c]
push 0
push dword [0x6320d0]
call sub.KERNEL32.dll_HeapFree
cmp dword [ebp - 0x10], 0
je 0x53fcd4
push dword [ebp - 0x1c]
push 0
push dword [0x6320d0]
call sub.KERNEL32.dll_HeapFree
cmp dword [ebp - 0xd0], 0
je 0x53fceb
push esi
push 0
push dword [0x6320d0]
call sub.KERNEL32.dll_HeapFree
test edi, edi
je 0x53fcff
push dword [ebp - 0x2c]
push 0
push dword [0x6320d0]
call sub.KERNEL32.dll_HeapFree
cmp dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x24]
sete al
or cl, al
mov eax, dword [ebp - 0x18]
cmp cl, 1
je 0x53e499
push eax
push 0
push dword [0x6320d0]
call sub.KERNEL32.dll_HeapFree
jmp 0x53e499
movzx ecx, byte [ebp - 0x505]
mov edx, dword [ebp - 0x88]
movzx ebx, word [ebp - 0x507]
mov edi, dword [ebp - 0x504]
mov byte [edx + 3], cl
mov word [edx + 1], bx
mov byte [edx], al
mov dword [edx + 4], edi
mov edi, dword [ebp - 0x14]
mov dword [edx + 8], 2
jmp 0x53fee5
movzx ecx, byte [ebp - 0x505]
mov edx, dword [ebp - 0x88]
mov edi, dword [ebp - 0x504]
mov byte [edx + 3], cl
movzx ecx, word [ebp - 0x507]
mov word [edx + 1], cx
mov byte [edx], al
mov dword [edx + 4], edi
mov edi, dword [ebp - 0x14]
mov dword [edx + 8], 2
jmp 0x53fedf
cmp dword [ebp - 0x7c], 0
je 0x53fdaa
push dword [ebp - 0x18]
push 0
push dword [0x6320d0]
call sub.KERNEL32.dll_HeapFree
mov byte [ebp - 0x6c], 2
mov dword [ebp - 0x68], 0x600db8
jmp 0x53e386
xor ebx, ebx
lea ecx, [ebp - 0x508]
call fcn.0050f3a0
mov edi, dword [ebp - 0xe0]
cmp edi, dword [ebp - 0x6c]
jne 0x53fe87
xor ebx, ebx
lea ecx, [ebp - 0x70]
mov edx, edi
call fcn.005161c0
mov ecx, dword [ebp - 0x70]
mov edi, dword [ebp - 0x68]
jmp 0x53fe8a
movzx ecx, byte [ebp - 0x505]
mov edx, dword [ebp - 0x88]
mov esi, dword [ebp - 0x504]
mov byte [edx + 3], cl
movzx ecx, word [ebp - 0x507]
mov word [edx + 1], cx
mov byte [edx], al
mov dword [edx + 4], esi
mov esi, dword [ebp - 0x18]
mov dword [edx + 8], 2
jmp 0x53fed7
mov ecx, dword [ebp - 0x28]
mov word [ecx + edi*2], 0
mov dword [ebp - 0x28], ecx
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x30]
test ecx, ecx
mov dword [ebp - 0x1c], ecx
jne 0x53ef54
inc edi
jmp 0x53f1e9
call sub.KERNEL32.dll_GetLastError
mov ecx, dword [ebp - 0x88]
mov byte [ecx], 0
mov dword [ecx + 4], eax
mov dword [ecx + 8], 2
push edi
call sub.KERNEL32.dll_CloseHandle
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
push dword [ebp - 0x30]
call sub.KERNEL32.dll_CloseHandle
push ebx
call sub.KERNEL32.dll_CloseHandle
cmp dword [ebp - 0x5c], 0
je 0x53fef3
push dword [ebp - 0x58]
call sub.KERNEL32.dll_CloseHandle
cmp dword [ebp - 0x54], 0
je 0x53ff01
push dword [ebp - 0x50]
call sub.KERNEL32.dll_CloseHandle
cmp dword [ebp - 0x4c], 0
je 0x53ff0f
push dword [ebp - 0x48]
call sub.KERNEL32.dll_CloseHandle
cmp byte [ebp - 0xd8], 0
je 0x53ff34
cmp byte [ebp - 0x84], 0
jne 0x53ff5c
mov eax, dword [0x6320bc]
test eax, 0x7fffffff
je 0x53ff5c
call fcn.005373c0
jmp 0x53ff4e
cmp byte [ebp - 0x84], 0
jne 0x53ff5c
mov eax, dword [0x6320bc]
test eax, 0x7fffffff
je 0x53ff5c
call fcn.005373c0
mov esi, dword [ebp - 0x18]
test al, al
jne 0x53ff5c
mov byte [0x6320dc], 1
push 0x6320d8
call sub.KERNEL32.dll_ReleaseSRWLockExclusive
cmp dword [ebp - 0x60], 0
je 0x53ff7f
push dword [ebp - 0x8c]
push 0
push dword [0x6320d0]
call sub.KERNEL32.dll_HeapFree
cmp dword [ebp - 0x10], 0
je 0x53ff95
push dword [ebp - 0x1c]
push 0
push dword [0x6320d0]
call sub.KERNEL32.dll_HeapFree
cmp dword [ebp - 0xd0], 0
je 0x53ffb1
push dword [ebp - 0xd4]
push 0
push dword [0x6320d0]
call sub.KERNEL32.dll_HeapFree
test edi, edi
je 0x53ffc5
push dword [ebp - 0x2c]
push 0
push dword [0x6320d0]
call sub.KERNEL32.dll_HeapFree
cmp byte [ebp - 0x24], 0
mov bl, 1
jne 0x53e499
cmp dword [ebp - 0x20], 0
je 0x53ffe5
push esi
push 0
push dword [0x6320d0]
call sub.KERNEL32.dll_HeapFree
test bl, bl
je 0x53e39e
jmp 0x53e499
mov eax, dword [ebp - 0x504]
mov edi, dword [ebp - 0x500]
mov dword [ebp - 0x20], eax
jmp 0x53e807
mov eax, dword [ebp - 0x504]
mov edi, dword [ebp - 0x500]
cmp dword [ebp - 0x7c], 0
mov dword [ebp - 0x20], eax
je 0x53e807
push dword [ebp - 0x18]
push 0
push dword [0x6320d0]
call sub.KERNEL32.dll_HeapFree
jmp 0x53e807
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0xdc], esi
movzx esi, bl
jmp 0x53f1b5
push 0x5fee94
push 0x2b
push str.called__Option::unwrap____on_a__None__value_rustc_d5c2e9c342b358556da91d61ed4133f6f50fc0c3library_alloc_srccollections_btree_navigate.rs
call fcn.004251d0
add esp, 0xc
jmp 0x5408c7
call sub.KERNEL32.dll_GetLastError
mov byte [ebp - 0xb8], 0
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x5c], 0x600d34
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x7c], fcn.0052dbf0
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], 1
lea eax, [ebp - 0x5c]
push 0x600d64
push eax
call fcn.00425150
add esp, 8
jmp 0x5408c7
push 0x5fe44c
push 0x2b
push str.called__Option::unwrap____on_a__None__value_rustc_d5c2e9c342b358556da91d61ed4133f6f50fc0c3library_alloc_srccollections_btree_navigate.rs
call fcn.004251d0
add esp, 0xc
jmp 0x5408c7
push edi
push 1
call fcn.0041a8c0
add esp, 8
jmp 0x5408c7
push esi
push 1
call fcn.0041a8c0
add esp, 8
jmp 0x5408c7
push edi
push dword [ebp - 0x28]
call fcn.0041a8c0
add esp, 8
jmp 0x5408c7
call fcn.0041a880
jmp 0x5408c7
call fcn.0041a880
jmp 0x5408c7
call fcn.0041a880
jmp 0x5408c7
mov dword [ebp - 0x20], 4
push dword [ebp - 0x20]
push 1
call fcn.0041a8c0
add esp, 8
jmp 0x5408c7
push 0x5febb4
push 0x21
push str.assertion_failed:_self.height___0
call fcn.004251d0
add esp, 0xc
jmp 0x5408c7
push 0x601278
push 0x28
push str.internal_error:_entered_unreachable_code
call fcn.004251d0
add esp, 0xc
jmp 0x5408c7
push 0x601278
push 0x28
push str.internal_error:_entered_unreachable_code
call fcn.004251d0
add esp, 0xc
jmp 0x5408c7
call sub.KERNEL32.dll_GetLastError
mov byte [ebp - 0x5c], 0
mov dword [ebp - 0x58], eax
lea esi, [ebp - 0x5c]
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x508], 0x600bc0
mov dword [ebp - 0x504], 1
mov dword [ebp - 0x4f8], 0
mov dword [ebp - 0xb8], esi
mov dword [ebp - 0x500], eax
mov dword [ebp - 0xb4], fcn.0052dbf0
mov dword [ebp - 0x4fc], 1
lea eax, [ebp - 0x508]
push 0x600bc8
push eax
call fcn.00425150
add esp, 8
jmp 0x5408c7
call fcn.0041a880
jmp 0x5408c7
push 0x601268
push eax
push edi
call fcn.004287f0
add esp, 0xc
jmp 0x5408c7
push 0x5fe4c8
push edx
push ecx
call fcn.00428790
add esp, 0xc
jmp 0x5408c7
push 0x601268
push eax
push edi
call fcn.004287f0
add esp, 0xc
jmp 0x5408c7
ud2