Function at 0x4a62a0
Capabilities:
Create process on windows
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x54c
call 0x4a62b1
pop eax
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x4c39c0
mov esi, edx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x64], eax
mov eax, dword fs:[0]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov dword fs:[0], eax
movzx eax, byte [edx + 0x50]
mov edx, dword [edx + 0x4c]
test al, al
jne 0x4a6305
test edx, edx
jne 0x4a6305
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x38], 0
jmp 0x4a6d3a
test al, al
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x70], 0
jne 0x4a653c
mov dword [ebp - 0x30], edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test eax, eax
je 0x4a973e
lea ecx, [ebp - 0x104]
mov edi, eax
mov dword [ebp - 0x5c], eax
jmp 0x4a6346
lea ecx, [ebp - 0x104]
cmp word [edi], 0
je 0x4a652d
mov esi, edi
xor edi, edi
mov edx, 0xfffffffe
nop dword [eax]
mov ebx, edi
mov eax, edx
inc edi
add edx, 2
cmp word [esi + ebx*2], 0
jne 0x4a6360
lea edi, [esi + edi*2]
cmp ebx, 1
mov dword [ebp - 0x24], esi
je 0x4a6346
test ebx, ebx
je 0x4a965e
xor esi, esi
nop word cs:[eax + eax]
nop
mov edx, dword [ebp - 0x24]
cmp word [edx + esi*2 + 2], 0x3d
je 0x4a63b0
inc esi
add eax, 0xfffffffe
jne 0x4a6390
jmp 0x4a6346
lea eax, [esi + 1]
cmp esi, ebx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x10], 0x2c
jae 0x4a967e
mov edx, dword [ebp - 0x24]
push eax
call fcn.0049d340
add esp, 4
mov esi, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x34]
add esi, 2
mov eax, edx
sub eax, esi
jb 0x4a9695
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x10], 0x2d
lea edx, [ecx + esi*2]
lea ecx, [ebp - 0x558]
push eax
call fcn.0049d340
add esp, 4
mov eax, dword [ebp - 0x104]
lea edx, [ebp - 0x104]
lea ecx, [ebp - 0x58]
cmp eax, 0x80000000
je 0x4a652d
movq xmm0, qword [ebp - 0xfc]
mov edi, dword [ebp - 0x554]
mov esi, dword [ebp - 0x100]
mov ebx, dword [ebp - 0x558]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x10], 0x2f
mov dword [ebp - 0x34], edi
movd edi, xmm0
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x54c]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x104], esi
movdqu xmmword [ebp - 0x118], xmm0
add edi, esi
mov esi, dword [ebp - 0x550]
mov dword [ebp - 0x100], edi
mov word [ebp - 0xfc], 0
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x40], esi
call fcn.004aa400
mov eax, dword [ebp - 0x3c]
movups xmm0, xmmword [ebp - 0x118]
lea ecx, [ebp - 0x548]
mov byte [ebp - 0x7d], 0
mov dword [ebp - 0x10], 0x2e
lea edx, [ebp - 0x78]
mov dword [ebp - 0x558], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x554], eax
mov eax, dword [ebp - 0x50]
movlps qword [ebp - 0x550], xmm0
movq xmm0, qword [ebp - 0x58]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x24]
movq qword [ecx], xmm0
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xfc], eax
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x558]
push eax
call fcn.004aa620
add esp, 8
test dword [ebp - 0x58], 0x7fffffff
mov edi, dword [ebp - 0x28]
je 0x4a6340
push dword [ebp - 0x54]
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4a6340
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov edx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x44]
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x44]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x34], eax
xor eax, eax
test ecx, ecx
setne al
cmove edx, ecx
mov dword [ebp - 0x24], eax
mov eax, edx
jmp 0x4a6562
xor ecx, ecx
test eax, eax
je 0x4a6b89
cmp dword [ebp - 0x24], 0
mov ebx, dword [ebp - 0x3c]
mov edx, eax
je 0x4a65a0
test ebx, ebx
jne 0x4a65a0
mov eax, dword [ebp - 0x34]
mov ebx, ecx
mov dword [ebp - 0x24], 1
test eax, eax
je 0x4a6599
nop dword [eax]
mov ebx, dword [ebx + 0x1ec]
dec eax
jne 0x4a6590
xor edi, edi
xor ecx, ecx
jmp 0x4a65ad
cmp dword [ebp - 0x24], 0
mov edi, dword [ebp - 0x34]
je 0x4a95ae
movzx eax, word [ebx + 0x1ea]
cmp edi, eax
jb 0x4a65e1
nop dword [eax + eax]
mov eax, dword [ebx + 0xb0]
test eax, eax
je 0x4a902e
movzx edi, word [ebx + 0x1e8]
inc ecx
mov ebx, eax
cmp di, word [eax + 0x1ea]
jae 0x4a65c0
test ecx, ecx
je 0x4a6610
mov eax, dword [ebx + edi*4 + 0x1f0]
dec ecx
je 0x4a65f9
nop
mov eax, dword [eax + 0x1ec]
dec ecx
jne 0x4a65f0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 0
jmp 0x4a6619
lea eax, [edi + 1]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x34], eax
lea eax, [edi + edi*8]
dec edx
lea eax, [eax + eax*2]
add eax, edi
shl edi, 4
cmp dword [ebx + edi], 0x80000000
lea esi, [ebx + eax + 0xb4]
jne 0x4a6680
mov eax, edx
mov edx, dword [ebp - 0x78]
xor ecx, ecx
test edx, edx
je 0x4a6562
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x14]
mov esi, dword [esi + 0x18]
mov edi, dword [ebp - 0x74]
mov dword [ebp - 0x10], 0x27
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x38], edx
push esi
push eax
mov dword [ebp - 0x28], edi
push edi
call fcn.004ab910
add esp, 0xc
cmp dword [ebp - 0x58], 0
je 0x4a682d
mov eax, dword [ebp - 0x30]
xor ecx, ecx
jmp 0x4a6562
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
mov dword [ebp - 0x30], edx
test ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x38], eax
je 0x4a66b9
js 0x4a963c
movzx eax, byte [0x538038]
mov ecx, dword [ebp - 0x28]
mov edx, 1
call fcn.00439850
mov ecx, dword [ebp - 0x28]
test eax, eax
jne 0x4a66be
jmp 0x4a960f
mov eax, 1
push ecx
push dword [ebp - 0x38]
mov dword [ebp - 0x38], eax
push eax
call fcn.004e4a90
add esp, 0xc
movzx eax, byte [esi + 0xc]
mov ecx, dword [esi + 0x14]
mov esi, dword [esi + 0x18]
test esi, esi
mov dword [ebp - 0x2c], esi
mov byte [ebp - 0x118], al
je 0x4a671c
cmp esi, 0x3fffffff
ja 0x4a95e9
add esi, esi
mov dword [ebp - 0x40], ecx
js 0x4a964d
movzx eax, byte [0x538038]
mov ecx, esi
mov edx, 2
call fcn.00439850
test eax, eax
je 0x4a95d1
mov ecx, dword [ebp - 0x40]
jmp 0x4a6723
mov eax, 2
xor esi, esi
add ebx, edi
push esi
push ecx
push eax
mov esi, eax
call fcn.004e4a90
add esp, 0xc
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x558], eax
mov dword [ebp - 0x554], ecx
mov dword [ebp - 0x550], eax
movzx eax, byte [ebp - 0x118]
mov byte [ebp - 0x54c], al
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x548], eax
mov dword [ebp - 0x544], esi
mov dword [ebp - 0x540], eax
mov esi, dword [ebx + 8]
mov eax, dword [ebx + 4]
test esi, esi
je 0x4a67b0
mov dword [ebp - 0x118], eax
js 0x4a9627
movzx eax, byte [0x538038]
mov ecx, esi
mov edx, 1
call fcn.00439850
mov edi, eax
test eax, eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x10], 0x29
jne 0x4a67b5
jmp 0x4a95fa
mov edi, 1
push esi
push eax
push edi
call fcn.004e4a90
add esp, 0xc
movzx eax, byte [ebx + 0xc]
mov dword [ebp - 0x104], esi
mov dword [ebp - 0x100], edi
mov dword [ebp - 0xfc], esi
mov byte [ebp - 0x65], 0
mov dword [ebp - 0x10], 0x29
lea ecx, [ebp - 0x58]
lea edx, [ebp - 0x78]
mov byte [ebp - 0xf8], al
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x558]
push eax
call fcn.004aa620
add esp, 8
test dword [ebp - 0x58], 0x7fffffff
mov eax, dword [ebp - 0x30]
je 0x4a6560
push dword [ebp - 0x54]
push 0
push dword [0x537fc8]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, esi
jmp 0x4a6560
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x4c]
mov byte [ebp - 0x12c], 0
test ecx, ecx
je 0x4a691a
nop word cs:[eax + eax]
nop
mov eax, dword [eax + edx*4 + 0x1ec]
dec ecx
je 0x4a6863
movzx edx, word [eax + 0x1ea]
jmp 0x4a6850
movzx ecx, word [eax + 0x1ea]
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x10], 0x27
lea edx, [ebp - 0x94]
dec ecx
mov dword [ebp - 0x8c], ecx
lea ecx, [ebp - 0x558]
push eax
call fcn.004abaa0
add esp, 4
movsd xmm2, qword [ebp - 0x540]
movsd xmm1, qword [ebp - 0x548]
mov eax, dword [ebp - 0x530]
movq xmm0, qword [ebp - 0x538]
mov edx, dword [ebp - 0x52c]
mov ecx, dword [ebp - 0x524]
movsd qword [ebp - 0xec], xmm2
movsd qword [ebp - 0xf4], xmm1
movsd xmm2, qword [ebp - 0x558]
movsd xmm1, qword [ebp - 0x550]
mov dword [ebp - 0xdc], eax
movq qword [ebp - 0xe4], xmm0
movsd qword [ebp - 0xfc], xmm1
movsd qword [ebp - 0x104], xmm2
movzx eax, word [edx + 0x1ea]
cmp ecx, eax
jae 0x4a6950
mov eax, edx
jmp 0x4a6983
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], edx
lea ecx, [ebp - 0x558]
lea edx, [ebp - 0x104]
push eax
call fcn.004abaa0
add esp, 4
jmp 0x4a6a9e
mov esi, dword [ebp - 0x528]
nop word cs:[eax + eax]
mov eax, dword [edx + 0xb0]
test eax, eax
je 0x4a697f
movzx ecx, word [edx + 0x1e8]
inc esi
mov edx, eax
cmp cx, word [eax + 0x1ea]
jae 0x4a6960
jmp 0x4a6983
xor eax, eax
mov ecx, esi
lea edx, [ecx + ecx*8]
lea edx, [edx + edx*2]
add edx, ecx
shl ecx, 4
mov esi, dword [eax + edx + 0xcc]
mov dword [ebp - 0xc0], esi
mov esi, dword [ebp - 0xec]
movsd xmm0, qword [eax + edx + 0xc4]
movsd qword [ebp - 0xc8], xmm0
movsd xmm0, qword [eax + edx + 0xb4]
movsd xmm1, qword [eax + edx + 0xbc]
movsd qword [ebp - 0xd0], xmm1
movsd qword [ebp - 0xd8], xmm0
mov dword [eax + edx + 0xcc], esi
lea esi, [ebp - 0xe8]
movsd xmm0, qword [ebp - 0xf4]
movsd qword [eax + edx + 0xc4], xmm0
movsd xmm0, qword [ebp - 0x104]
movsd xmm1, qword [ebp - 0xfc]
movsd qword [eax + edx + 0xbc], xmm1
movsd qword [eax + edx + 0xb4], xmm0
lea edx, [ebp - 0xbc]
movsd xmm0, qword [eax + ecx]
movsd xmm1, qword [eax + ecx + 8]
movsd qword [edx + 8], xmm1
movsd qword [edx], xmm0
movsd xmm0, qword [esi]
movsd xmm1, qword [esi + 8]
movsd qword [eax + ecx], xmm0
movsd qword [eax + ecx + 8], xmm1
movsd xmm2, qword [ebp - 0xc0]
movsd xmm1, qword [ebp - 0xc8]
mov eax, dword [ebp - 0xb0]
movq xmm0, qword [ebp - 0xb8]
movsd qword [ebp - 0x540], xmm2
movsd qword [ebp - 0x548], xmm1
movsd xmm2, qword [ebp - 0xd8]
movsd xmm1, qword [ebp - 0xd0]
mov dword [ebp - 0x530], eax
movq qword [ebp - 0x538], xmm0
movsd qword [ebp - 0x550], xmm1
movsd qword [ebp - 0x558], xmm2
mov eax, dword [ebp - 0x548]
dec dword [ebp - 0x70]
mov esi, dword [ebp - 0x538]
mov ecx, dword [ebp - 0x558]
mov edx, dword [ebp - 0x554]
mov ebx, dword [ebp - 0x544]
mov edi, dword [ebp - 0x53c]
cmp byte [ebp - 0x12c], 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x5c], esi
je 0x4a6b1a
mov dword [ebp - 0x40], edx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x118], ecx
test edx, edx
je 0x4a96b0
mov ecx, dword [ebp - 0x38]
dec edx
mov eax, dword [ecx + 0x1ec]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
mov dword [eax + 0xb0], 0
push ecx
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x30]
cmp ecx, 0x80000000
mov esi, ecx
mov ecx, 0
je 0x4a6562
test esi, esi
je 0x4a6b48
push edx
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x30]
xor ecx, ecx
cmp dword [ebp - 0x2c], 0
je 0x4a6b62
push ebx
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x30]
xor ecx, ecx
test edi, 0x7fffffff
je 0x4a6562
push dword [ebp - 0x5c]
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x30]
xor ecx, ecx
jmp 0x4a6562
mov eax, dword [ebp - 0x70]
movq xmm0, qword [ebp - 0x78]
mov ecx, 4
mov edx, 1
mov dword [ebp - 0x130], eax
movq qword [ebp - 0x138], xmm0
mov dword [ebp - 0x13c], 1
movzx eax, byte [0x538038]
call fcn.00439850
test eax, eax
je 0x4a96d9
mov ecx, eax
mov dword [eax], 0x48544150
mov dword [ebp - 0xd8], eax
lea edx, [ebp - 0xd8]
mov dword [ebp - 0x10], 0x26
mov dword [ebp - 0x28], eax
add ecx, 4
mov dword [ebp - 0xd4], ecx
lea ecx, [ebp - 0x104]
mov word [ebp - 0xd0], 0
call fcn.004aa400
mov eax, dword [ebp - 0xfc]
mov ecx, dword [ebp - 0x28]
movq xmm0, qword [ebp - 0x104]
mov dword [ebp - 0x558], 4
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x554], ecx
mov dword [ebp - 0x550], 4
mov byte [ebp - 0x54c], 0
movq qword [ebp - 0x548], xmm0
mov dword [ebp - 0x540], eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x544]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x138]
test eax, eax
je 0x4a6d05
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], ecx
movzx edx, word [eax + 0x1ea]
lea ecx, [eax + 0xb4]
mov dword [ebp - 0x3c], eax
mov edi, 0xffffffff
lea eax, [edx + edx*8]
mov dword [ebp - 0x2c], edx
lea esi, [eax + eax*2]
add esi, edx
nop
test esi, esi
je 0x4a6cc0
lea ebx, [ecx + 0x1c]
push 1
push dword [ecx + 0x18]
push dword [ecx + 0x14]
push dword [ebp - 0x34]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CompareStringOrdinal]
inc edi
add esi, 0xffffffe4
cmp eax, 3
mov ecx, ebx
je 0x4a6c90
cmp eax, 1
jne 0x4a6cdd
jmp 0x4a6cc3
mov edi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x3c]
sub ecx, 1
jb 0x4a6d0e
mov eax, dword [eax + edi*4 + 0x1ec]
mov dword [ebp - 0x30], ecx
jmp 0x4a6c6f
mov esi, dword [ebp - 0x44]
cmp eax, 2
jne 0x4a953e
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4a6d0e
shl edi, 4
mov ecx, eax
mov eax, dword [eax + edi + 4]
mov ecx, dword [ecx + edi + 8]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], ecx
jmp 0x4a6d0e
mov dword [ebp - 0x38], 0
jmp 0x4a6d11
mov ecx, dword [ebp - 0x28]
push ecx
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 0x548], 0
je 0x4a6d3a
push dword [ebp - 0x24]
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [esi + 0x20]
test edi, edi
je 0x4a6da2
mov edx, dword [esi + 0x1c]
mov eax, 0x4ac000
cmp edi, 4
jb 0x4a6d78
mov eax, dword [edx]
xor ecx, ecx
mov dword [ebp - 0x10], 2
bswap eax
cmp eax, 0x5c5c3f5c
setb cl
cmp eax, 0x5c5c3f5d
mov eax, 0x4ac000
adc ecx, 0xffffffff
mov ecx, 0x4abff0
cmove eax, ecx
movzx ecx, byte [edi + edx - 1]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x24], edi
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 2
mov dword [ebp - 0x3c], ecx
push ecx
call eax
add esp, 4
mov ebx, dword [ebp - 0x24]
test al, al
je 0x4a6e29
mov byte [ebp - 0x74], 2
mov dword [ebp - 0x70], 0x529978
mov edi, dword [ebp - 0x74]
mov ebx, dword [ebp - 0x70]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x7c]
mov dword [ecx + 4], ebx
mov dword [ecx], edi
mov dword [ecx + 8], 2
cmp dword [ebp - 0x13c], 0
je 0x4a6ed8
mov ecx, dword [ebp - 0x138]
test ecx, ecx
je 0x4a6ead
mov edx, dword [ebp - 0x134]
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x554], 0
mov dword [ebp - 0x550], ecx
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x54c], edx
mov dword [ebp - 0x544], 0
mov dword [ebp - 0x540], ecx
mov ecx, 1
mov dword [ebp - 0x53c], edx
jmp 0x4a6eb1
mov edi, dword [ebp - 0x34]
xor eax, eax
cmp ebx, 3
mov ecx, 0
jbe 0x4a6efc
movzx ecx, byte [ebx + edi - 4]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x2e
jne 0x4a6efa
movzx ecx, byte [edi + ebx - 3]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x65
jne 0x4a6efa
movzx ecx, byte [edi + ebx - 2]
mov edx, ecx
add dl, 0xbf
cmp dl, 0x1a
setb dl
shl dl, 5
or dl, cl
cmp dl, 0x78
jne 0x4a6efa
mov edx, dword [ebp - 0x3c]
mov ecx, edx
add cl, 0xbf
cmp cl, 0x1a
setb cl
shl cl, 5
or cl, dl
cmp cl, 0x65
sete cl
jmp 0x4a6efc
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x558], ecx
mov dword [ebp - 0x548], ecx
lea ecx, [ebp - 0x558]
mov dword [ebp - 0x538], eax
mov dword [ebp - 0x10], 1
call fcn.004aa370
mov eax, dword [ebp + 8]
cmp dword [eax], 4
jb 0x4a6ee6
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x54c
pop esi
pop edi
pop ebx
pop ebp
ret
xor ecx, ecx
lea edx, [edi + ebx]
mov dword [ebp - 0x3c], edx
nop word cs:[eax + eax]
nop dword [eax]
cmp ebx, eax
je 0x4a6f7a
movzx edx, byte [edi + eax]
cmp edx, 0x2f
je 0x4a6f23
inc eax
cmp edx, 0x5c
jne 0x4a6f10
test cl, cl
je 0x4a7029
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 2
lea ecx, [ebp - 0x558]
mov edx, edi
push ebx
call fcn.0049ad90
mov esi, dword [ebp - 0x44]
add esp, 4
mov edx, dword [ebp - 0x558]
mov eax, dword [ebp - 0x554]
mov ecx, dword [ebp - 0x550]
cmp edx, 0x80000000
jne 0x4a712f
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x78], 0x80000000
jmp 0x4a7a21
xor esi, esi
mov eax, edi
jmp 0x4a6f8b
xor esi, esi
test dx, dx
je 0x4a711c
mov dx, 1
test si, si
jne 0x4a6f80
cmp eax, dword [ebp - 0x3c]
je 0x4a7179
movzx ebx, byte [eax]
movzx ecx, bl
test bl, bl
js 0x4a6fad
mov ebx, dword [ebp - 0x24]
inc eax
jmp 0x4a7020
movzx edi, byte [eax + 1]
and ecx, 0x1f
and edi, 0x3f
cmp bl, 0xdf
jbe 0x4a6fe6
movzx esi, byte [eax + 2]
shl edi, 6
and esi, 0x3f
or esi, edi
cmp bl, 0xf0
jb 0x4a6ff6
movzx edi, byte [eax + 3]
and ecx, 7
shl esi, 6
add eax, 4
shl ecx, 0x12
and edi, 0x3f
or edi, esi
or ecx, edi
jmp 0x4a6ffe
shl ecx, 6
mov ebx, dword [ebp - 0x24]
add eax, 2
or ecx, edi
mov edi, dword [ebp - 0x34]
jmp 0x4a7020
shl ecx, 0xc
add eax, 3
or ecx, esi
mov edi, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x24]
cmp ecx, 0xffff
jbe 0x4a7020
and ecx, 0x3ff
or ecx, 0xdc00
mov esi, ecx
jmp 0x4a6f82
xor esi, esi
mov edx, ecx
jmp 0x4a6f82
test ebx, ebx
js 0x4a97d1
movzx eax, byte [0x538038]
mov ecx, ebx
mov edx, 1
call fcn.00439850
test eax, eax
je 0x4a97e6
mov esi, eax
push ebx
push edi
push eax
call fcn.004e4a90
add esp, 0xc
mov dword [ebp - 0x558], ebx
mov dword [ebp - 0x554], esi
mov dword [ebp - 0x550], ebx
mov byte [ebp - 0x54c], 0
mov dword [ebp - 0x10], 0x22
lea ecx, [ebp - 0x558]
mov edx, str..exeprogram_not_found
push 4
mov dword [ebp - 0x30], esi
call fcn.004a0900
add esp, 4
mov eax, dword [ebp - 0x558]
mov edx, dword [ebp - 0x554]
mov esi, dword [ebp - 0x550]
mov byte [ebp - 0x7e], 1
mov dword [ebp - 0x10], 0x21
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], esi
push esi
call fcn.004ac0f0
add esp, 4
cmp dword [ebp - 0xd8], 0x80000000
jne 0x4a715b
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x10], 0x23
call fcn.004a5940
test eax, eax
je 0x4a799e
cmp edx, 2
jne 0x4a71a7
movzx ecx, word [eax]
cmp ecx, 0x2e2e
jne 0x4a71a7
mov esi, 2
xor edi, edi
jmp 0x4a7978
mov dword [ebp - 0x74], 2
mov dword [ebp - 0x70], 0x529928
jmp 0x4a6dad
mov dword [ebp - 0x558], edx
mov dword [ebp - 0x550], ecx
lea ecx, [ebp - 0x78]
lea edx, [ebp - 0x558]
mov dword [ebp - 0x554], eax
mov byte [ebp - 0x1d], 1
call fcn.004ac020
mov esi, dword [ebp - 0x44]
jmp 0x4a7a21
mov eax, dword [ebp - 0xd0]
movq xmm0, qword [ebp - 0xd8]
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x70], eax
movq qword [ebp - 0x78], xmm0
jmp 0x4a7a09
cmp ebx, 7
ja 0x4a71db
mov ecx, dword [ebp - 0x30]
xor eax, eax
nop word cs:[eax + eax]
nop dword [eax]
cmp byte [edi + eax], 0x2e
je 0x4a7202
inc eax
cmp ebx, eax
jne 0x4a7190
mov dword [ebp - 0x118], 0
jmp 0x4a720c
mov esi, edx
nop dword [eax]
test esi, esi
je 0x4a71f9
mov ecx, esi
dec esi
cmp byte [eax + ecx - 1], 0x2e
jne 0x4a71b0
mov ebx, edx
sub ebx, ecx
jb 0x4a9839
test esi, esi
je 0x4a7974
mov edi, eax
mov edx, ebx
add edi, ecx
jmp 0x4a7978
mov ecx, 0x2e
mov edx, edi
push ebx
call fcn.004081f0
add esp, 4
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x30]
jmp 0x4a720f
mov edi, eax
xor eax, eax
jmp 0x4a7978
mov dword [ebp - 0x118], 1
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x4a7360
add ecx, eax
mov dword [ebp - 0xd8], eax
lea edx, [ebp - 0xd8]
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 2
mov dword [ebp - 0xd4], ecx
lea ecx, [ebp - 0x558]
mov word [ebp - 0xd0], 0
mov byte [ebp - 0xcc], 1
call fcn.004a0650
jmp 0x4a7268
lea ecx, [ebp - 0x558]
lea edx, [ebp - 0xd8]
mov byte [ebp - 0x1d], 1
call fcn.004a0650
mov eax, dword [ebp - 0x558]
cmp eax, 0x80000000
je 0x4a7360
mov edi, dword [ebp - 0x550]
mov ecx, dword [ebp - 0x554]
mov edx, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x24]
test edi, edi
je 0x4a7344
mov esi, dword [ebp - 0x54c]
mov dword [ebp - 0x558], eax
mov dword [ebp - 0x554], ecx
mov dword [ebp - 0x550], edi
mov dword [ebp - 0x10], 0x20
lea ecx, [ebp - 0x558]
mov dword [ebp - 0x54c], esi
push ebx
call fcn.004a2290
add esp, 4
cmp dword [ebp - 0x118], 1
je 0x4a72db
lea ecx, [ebp - 0x558]
call fcn.004a5a60
mov edx, dword [ebp - 0x554]
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x30], edx
push dword [ebp - 0x550]
call fcn.004ac0f0
add esp, 4
cmp dword [ebp - 0x558], 0
je 0x4a7312
push dword [ebp - 0x30]
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x104]
cmp eax, 0x80000000
jne 0x4a869b
lea ecx, [ebp - 0x558]
lea edx, [ebp - 0xd8]
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 2
call fcn.004a0650
jmp 0x4a7268
test eax, eax
je 0x4a7253
push ecx
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4a7253
mov esi, 0x200
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 2
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 2
mov dword [ebp - 0x28], 0
cmp esi, 0x201
jb 0x4a73ae
jmp 0x4a73c0
jbe 0x4a7452
cmp esi, 0x201
jae 0x4a73c0
mov dword [ebp - 0x38], 0x200
lea ebx, [ebp - 0x558]
mov edi, esi
jmp 0x4a73fb
mov edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x28]
sub esi, edi
sub eax, edi
cmp eax, esi
jae 0x4a73ec
mov dword [ebp - 0x10], 3
lea ecx, [ebp - 0x58]
mov edx, edi
push esi
call fcn.004ec350
add esp, 4
mov edi, dword [ebp - 0x58]
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x30], edi
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push edi
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, eax
test eax, eax
jne 0x4a741d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4a7497
cmp esi, edi
jne 0x4a73a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4a96f8
lea esi, [edi + edi]
test edi, edi
mov eax, 0xffffffff
cmovs esi, eax
cmp esi, 0x201
jb 0x4a73ae
jmp 0x4a73c0
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x10], 3
cmp esi, edx
ja 0x4a9825
lea ecx, [ebp - 0xd8]
mov edx, ebx
push esi
call fcn.0049d340
add esp, 4
movq xmm0, qword [ebp - 0xd8]
movsd xmm1, qword [ebp - 0xd0]
movsd qword [ebp - 0xfc], xmm1
movq qword [ebp - 0x104], xmm0
jmp 0x4a74b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp - 0x100], 0
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x104], 0x80000000
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4a74cc
push dword [ebp - 0x2c]
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x104]
cmp eax, 0x80000000
jne 0x4a74f4
lea ecx, [ebp - 0x104]
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 2
call fcn.0049af50
jmp 0x4a75ca
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x100]
mov edx, dword [ebp - 0xfc]
mov eax, dword [ebp - 0xf8]
mov byte [ebp - 0x7f], 0
mov dword [ebp - 0x10], 0x1e
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edx
call fcn.004a3910
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x10], 0x1f
cmp ecx, edx
cmovb edx, ecx
test eax, eax
cmove edx, ecx
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x558], ecx
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x554], esi
mov dword [ebp - 0x550], edx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x54c], ecx
lea ecx, [ebp - 0x558]
push dword [ebp - 0x24]
call fcn.004a2290
add esp, 4
cmp dword [ebp - 0x118], 1
je 0x4a757f
lea ecx, [ebp - 0x558]
call fcn.004a5a60
mov edx, dword [ebp - 0x554]
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x38], edx
push dword [ebp - 0x550]
call fcn.004ac0f0
add esp, 4
cmp dword [ebp - 0x558], 0
je 0x4a75b6
push dword [ebp - 0x38]
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0xd8]
mov esi, dword [ebp - 0x44]
cmp eax, 0x80000000
jne 0x4a78b6
mov esi, 0x200
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 2
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 2
mov dword [ebp - 0x28], 0
cmp esi, 0x201
jb 0x4a761e
jmp 0x4a7630
jbe 0x4a76c4
cmp esi, 0x201
jae 0x4a7630
mov dword [ebp - 0x38], 0x200
lea ebx, [ebp - 0x558]
mov edi, esi
jmp 0x4a766b
mov edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x28]
sub esi, edi
sub eax, edi
cmp eax, esi
jae 0x4a765c
mov dword [ebp - 0x10], 0x1c
lea ecx, [ebp - 0x58]
mov edx, edi
push esi
call fcn.004ec350
add esp, 4
mov edi, dword [ebp - 0x58]
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x30], edi
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esi, eax
test eax, eax
jne 0x4a768f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4a776b
cmp esi, edi
jne 0x4a7610
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4a971b
lea esi, [edi + edi]
test edi, edi
mov eax, 0xffffffff
cmovs esi, eax
cmp esi, 0x201
jae 0x4a7630
jmp 0x4a761e
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x10], 0x1c
cmp esi, edx
ja 0x4a9852
lea ecx, [ebp - 0xd8]
mov edx, ebx
push esi
call fcn.0049d340
add esp, 4
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x10], 0x1d
lea ecx, [ebp - 0xd8]
push dword [ebp - 0x24]
call fcn.004a2290
add esp, 4
cmp dword [ebp - 0x118], 1
je 0x4a7716
lea ecx, [ebp - 0xd8]
call fcn.004a5a60
mov edx, dword [ebp - 0xd4]
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x28], edx
push dword [ebp - 0xd0]
call fcn.004ac0f0
add esp, 4
cmp dword [ebp - 0xd8], 0
je 0x4a774d
push dword [ebp - 0x28]
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
movq xmm0, qword [ebp - 0x104]
mov eax, dword [ebp - 0xfc]
movq qword [ebp - 0x94], xmm0
mov dword [ebp - 0x8c], eax
jmp 0x4a7788
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp - 0x90], 0
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x94], 0x80000001
mov eax, dword [ebp - 0x30]
mov esi, dword [ebp - 0x44]
test eax, eax
je 0x4a77a3
push dword [ebp - 0x2c]
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x94]
cmp eax, 0x80000001
jg 0x4a8609
lea ecx, [ebp - 0x94]
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 2
call fcn.004ac1a0
mov esi, 0x200
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 2
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 2
mov dword [ebp - 0x28], 0
cmp esi, 0x201
jb 0x4a7811
jmp 0x4a7822
jbe 0x4a78ca
cmp esi, 0x201
jae 0x4a7822
mov dword [ebp - 0x38], 0x200
lea ebx, [ebp - 0x558]
mov edi, esi
jmp 0x4a785d
mov edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x28]
sub esi, edi
sub eax, edi
cmp eax, esi
jae 0x4a784e
mov dword [ebp - 0x10], 0x1a
lea ecx, [ebp - 0x58]
mov edx, edi
push esi
call fcn.004ec350
add esp, 4
mov edi, dword [ebp - 0x58]
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x30], edi
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov esi, eax
test eax, eax
jne 0x4a7881
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4a8437
cmp esi, edi
jne 0x4a7803
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4a97ae
lea esi, [edi + edi]
test edi, edi
mov eax, 0xffffffff
cmovs esi, eax
cmp esi, 0x201
jae 0x4a7822
jmp 0x4a7811
mov edi, dword [ebp - 0xd4]
mov ebx, dword [ebp - 0xd0]
mov dword [ebp - 0x30], eax
jmp 0x4a7a3b
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x10], 0x1a
cmp esi, edx
ja 0x4a9863
lea ecx, [ebp - 0xd8]
mov edx, ebx
push esi
call fcn.0049d340
add esp, 4
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x10], 0x1b
lea ecx, [ebp - 0xd8]
push dword [ebp - 0x24]
call fcn.004a2290
add esp, 4
cmp dword [ebp - 0x118], 1
je 0x4a791c
lea ecx, [ebp - 0xd8]
call fcn.004a5a60
mov edx, dword [ebp - 0xd4]
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x28], edx
push dword [ebp - 0xd0]
call fcn.004ac0f0
add esp, 4
cmp dword [ebp - 0xd8], 0
je 0x4a7953
push dword [ebp - 0x28]
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
movq xmm0, qword [ebp - 0x104]
mov eax, dword [ebp - 0xfc]
movq qword [ebp - 0x94], xmm0
mov dword [ebp - 0x8c], eax
jmp 0x4a8454
xor edi, edi
mov esi, edx
test eax, eax
cmovne edi, eax
test edi, edi
je 0x4a799e
test eax, eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], 0x23
cmove esi, edx
mov edx, dword [ebp - 0x24]
add edi, esi
sub edi, edx
cmp eax, edi
cmovae eax, edi
jmp 0x4a79a4
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], 0x23
lea ecx, [ebp - 0x558]
push eax
call fcn.0049ad90
add esp, 4
mov esi, dword [ebp - 0x44]
mov edx, dword [ebp - 0x558]
mov eax, dword [ebp - 0x554]
mov ecx, dword [ebp - 0x550]
cmp edx, 0x80000000
jne 0x4a79e6
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x78], 0x80000000
jmp 0x4a7a09
mov dword [ebp - 0x558], edx
mov dword [ebp - 0x550], ecx
lea ecx, [ebp - 0x78]
lea edx, [ebp - 0x558]
mov dword [ebp - 0x554], eax
call fcn.004ac020
mov esi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4a7a21
push dword [ebp - 0x24]
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x78]
mov edi, dword [ebp - 0x74]
mov ebx, dword [ebp - 0x70]
mov dword [ebp - 0x30], eax
cmp eax, 0x80000000
mov eax, dword [ebp + 8]
je 0x4a6db6
cmp ebx, 5
mov dword [ebp - 0x28], edi
jb 0x4a7a57
cmp word [edi + ebx*2 - 0xa], 0x2e
jne 0x4a7a57
cmp word [edi + ebx*2 - 2], 0
je 0x4a81fc
movzx ecx, byte [esi + 0x65]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x30]
xor edx, edx
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 2
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0x10], 0x17
mov byte [ebp - 0x38], cl
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], edi
call fcn.0049b1e0
mov eax, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0xd0]
mov edx, dword [ebp - 0x34]
mov word [eax + ecx*2], 0x22
inc ecx
mov dword [ebp - 0x558], edx
lea edx, [ebp - 0x558]
mov dword [ebp - 0xd0], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x554], ecx
lea ecx, [ebp - 0xd8]
mov word [ebp - 0x550], 0
call fcn.0049b0a0
mov edx, dword [ebp - 0xd0]
cmp edx, dword [ebp - 0xd8]
jne 0x4a7b00
lea ecx, [ebp - 0xd8]
call fcn.0049b1e0
mov edx, dword [ebp - 0xd0]
mov eax, dword [ebp - 0xd4]
mov esi, dword [ebp - 0x24]
movzx ecx, byte [ebp - 0x38]
mov word [eax + edx*2], 0x22
mov eax, dword [ebp - 0x2c]
inc edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0xd0], edx
lea eax, [eax + eax*4]
lea eax, [esi + eax*4]
mov dword [ebp - 0x34], eax
nop dword [eax]
cmp esi, dword [ebp - 0x34]
mov eax, dword [ebp + 8]
je 0x4a7b9f
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0x24], esi
cmp edx, dword [ebp - 0xd8]
jne 0x4a7b5d
lea ecx, [ebp - 0xd8]
call fcn.0049b1e0
mov edx, dword [ebp - 0xd0]
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0xd4]
lea ecx, [ebp - 0x104]
mov word [eax + edx*2], 0x20
inc edx
mov dword [ebp - 0xd0], edx
lea edx, [ebp - 0xd8]
push dword [ebp - 0x3c]
push esi
call fcn.004ac2b0
add esp, 8
movzx eax, byte [ebp - 0x104]
cmp al, 4
jne 0x4a8099
mov esi, dword [ebp - 0x24]
add esi, 0x14
jmp 0x4a7b30
mov edx, dword [ebp - 0xd8]
mov edi, dword [ebp - 0xd4]
mov esi, dword [ebp - 0xd0]
cmp edx, 0x80000000
je 0x4a80e6
mov al, 1
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x28]
cmp edx, esi
mov dword [ebp - 0x12c], edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x124], esi
jne 0x4a7c13
lea ecx, [ebp - 0x12c]
mov byte [ebp - 0x5d], 1
mov dword [ebp - 0x10], 5
call fcn.0049b1e0
mov edi, dword [ebp - 0x128]
mov esi, dword [ebp - 0x124]
mov word [edi + esi*2], 0
inc esi
mov eax, 0x400
mov ecx, 0x608
mov dword [ebp - 0x124], esi
mov esi, dword [ebp - 0x44]
cmp byte [esi + 0x64], 0
cmove ecx, eax
or ecx, dword [esi + 0x54]
cmp dword [ebp - 0x13c], 0
mov dword [ebp - 0x148], ecx
je 0x4a8189
mov edi, dword [ebp - 0x130]
mov edx, dword [ebp - 0x138]
mov esi, dword [ebp - 0x134]
mov eax, 2
mov ecx, 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 2
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x34], 0
test edi, edi
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x8c], edi
jne 0x4a7ccf
mov dword [ebp - 0x24], edx
lea ecx, [ebp - 0x58]
xor edx, edx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], esi
mov byte [ebp - 0x47], 1
mov dword [ebp - 0x10], 0xd
call fcn.0049b1e0
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x40]
mov word [eax + ecx*2], 0
inc ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x40], eax
xor eax, eax
test edx, edx
mov dword [ebp - 0x11c], ecx
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x10], 0xe
mov dword [ebp - 0x140], 0
setne al
cmove edi, edx
mov dword [ebp - 0x558], eax
mov dword [ebp - 0x554], 0
mov dword [ebp - 0x550], edx
mov dword [ebp - 0x54c], esi
mov dword [ebp - 0x548], eax
mov dword [ebp - 0x544], 0
mov dword [ebp - 0x540], edx
lea edx, [ebp - 0x558]
mov dword [ebp - 0x53c], esi
mov dword [ebp - 0x538], edi
call fcn.004a60d0
mov ecx, dword [ebp - 0xd8]
test ecx, ecx
je 0x4a8a3d
mov edx, dword [ebp - 0xd0]
lea eax, [edx + edx*8]
lea eax, [eax + eax*2]
add eax, edx
mov esi, dword [ecx + eax + 0xb4]
cmp esi, 0x80000000
je 0x4a8a3d
shl edx, 4
mov dword [ebp - 0x108], esi
mov edi, dword [ecx + eax + 0xcc]
xor ebx, ebx
mov esi, dword [ecx + edx]
mov dword [ebp - 0x120], edi
mov dword [ebp - 0x5c], esi
mov esi, dword [ecx + edx + 4]
mov edx, dword [ecx + edx + 8]
mov dword [ebp - 0x64], esi
mov esi, dword [ecx + eax + 0xc4]
mov dword [ebp - 0x3c], edx
mov edx, dword [ecx + eax + 0xb8]
mov dword [ebp - 0x6c], esi
mov esi, dword [ecx + eax + 0xc8]
mov ecx, dword [ecx + eax + 0xbc]
mov dword [ebp - 0x84], edx
add ecx, edx
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x24], ecx
jmp 0x4a7ddb
xor ebx, ebx
test di, di
je 0x4a811f
mov di, 1
test bx, bx
jne 0x4a7dd0
cmp edx, ecx
je 0x4a7e6c
movzx eax, byte [edx]
movzx esi, al
test al, al
js 0x4a7df9
inc edx
jmp 0x4a7e63
movzx ecx, byte [edx + 1]
and esi, 0x1f
and ecx, 0x3f
cmp al, 0xdf
jbe 0x4a7e30
movzx ebx, byte [edx + 2]
shl ecx, 6
and ebx, 0x3f
or ebx, ecx
cmp al, 0xf0
jb 0x4a7e3d
movzx eax, byte [edx + 3]
and esi, 7
shl ebx, 6
add edx, 4
shl esi, 0x12
and eax, 0x3f
or eax, ebx
or esi, eax
jmp 0x4a7e45
shl esi, 6
add edx, 2
or esi, ecx
mov ecx, dword [ebp - 0x24]
jmp 0x4a7e63
shl esi, 0xc
add edx, 3
or esi, ebx
mov ecx, dword [ebp - 0x24]
cmp esi, 0xffff
jbe 0x4a7e63
and esi, 0x3ff
or esi, 0xdc00
mov ebx, esi
jmp 0x4a7dd2
xor ebx, ebx
mov edi, esi
jmp 0x4a7dd2
cmp dword [ebp - 0x108], 0
je 0x4a7e89
push dword [ebp - 0x84]
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x58]
mov edi, dword [ebp - 0x11c]
mov esi, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x40]
sub eax, edi
cmp eax, esi
jae 0x4a7ec2
mov dword [ebp - 0x10], 0x11
lea ecx, [ebp - 0x58]
mov edx, edi
push esi
call fcn.004ec350
add esp, 4
mov ecx, dword [ebp - 0x54]
mov edi, dword [ebp - 0x50]
mov esi, dword [ebp - 0x120]
lea eax, [esi + esi]
mov dword [ebp - 0x40], ecx
lea ecx, [ecx + edi*2]
push eax
mov ebx, dword [ebp - 0x88]
push ebx
push ecx
call fcn.004e4a90
add esp, 0xc
add edi, esi
cmp dword [ebp - 0x6c], 0
mov dword [ebp - 0x50], edi
je 0x4a7ef6
push ebx
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp edi, dword [ebp - 0x58]
jne 0x4a7f18
lea ecx, [ebp - 0x58]
mov edx, edi
mov byte [ebp - 0x5e], 1
mov dword [ebp - 0x10], 0xf
call fcn.0049b1e0
mov eax, dword [ebp - 0x54]
mov edi, dword [ebp - 0x50]
jmp 0x4a7f1b
mov eax, dword [ebp - 0x40]
mov word [eax + edi*2], 0x3d
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x3c]
and dword [ebp - 0x84], 0xffffff00
inc edi
mov dword [ebp - 0x50], edi
xor edi, edi
add eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x4a7f49
xor edi, edi
test si, si
je 0x4a861d
mov si, 1
test di, di
jne 0x4a7f3e
cmp ecx, eax
je 0x4a7fdc
movzx ebx, byte [ecx]
movzx edx, bl
test bl, bl
js 0x4a7f67
inc ecx
jmp 0x4a7fd3
movzx eax, byte [ecx + 1]
and edx, 0x1f
and eax, 0x3f
cmp bl, 0xdf
jbe 0x4a7fa0
movzx edi, byte [ecx + 2]
shl eax, 6
and edi, 0x3f
or edi, eax
cmp bl, 0xf0
jb 0x4a7fad
movzx eax, byte [ecx + 3]
and edx, 7
shl edi, 6
add ecx, 4
shl edx, 0x12
and eax, 0x3f
or eax, edi
or edx, eax
jmp 0x4a7fb5
shl edx, 6
add ecx, 2
or edx, eax
mov eax, dword [ebp - 0x24]
jmp 0x4a7fd3
shl edx, 0xc
add ecx, 3
or edx, edi
mov eax, dword [ebp - 0x24]
cmp edx, 0xffff
jbe 0x4a7fd3
and edx, 0x3ff
or edx, 0xdc00
mov edi, edx
jmp 0x4a7f40
xor edi, edi
mov esi, edx
jmp 0x4a7f40
cmp dword [ebp - 0x5c], 0x80000000
je 0x4a9536
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x24]
lea edx, [ebp - 0x104]
mov dword [ebp - 0x10], 0x10
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x100], ecx
lea ecx, [ebp - 0x58]
mov word [ebp - 0xfc], 0
call fcn.0049b0a0
cmp dword [ebp - 0x5c], 0
je 0x4a8030
push dword [ebp - 0x64]
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edx, dword [ebp - 0x50]
cmp edx, dword [ebp - 0x58]
jne 0x4a804e
lea ecx, [ebp - 0x58]
mov byte [ebp - 0x5e], 0
mov dword [ebp - 0x10], 0xf
call fcn.0049b1e0
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x54]
mov esi, dword [ebp - 0x64]
lea ecx, [ebp - 0xd8]
mov word [eax + edx*2], 0
inc edx
and esi, 0xffffff00
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x10], 0xe
mov dword [ebp - 0x11c], edx
mov dword [ebp - 0x50], edx
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x140], esi
mov dword [ebp - 0x34], edx
lea edx, [ebp - 0x558]
call fcn.004a60d0
jmp 0x4a7d42
movzx ecx, byte [ebp - 0xfd]
mov ebx, dword [ebp - 0x103]
movzx esi, word [ebp - 0xff]
movzx eax, al
mov edi, ebx
shl ecx, 0x10
or esi, ecx
shl edi, 8
cmp dword [ebp - 0xd8], 0
je 0x4a80dd
push dword [ebp - 0xd4]
push 0
push dword [0x537fc8]
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x24]
or edi, eax
mov eax, dword [ebp + 8]
shld esi, ebx, 8
mov ecx, dword [ebp - 0x7c]
mov dword [ecx], edi
mov dword [ecx + 4], esi
mov dword [ecx + 8], 2
mov edi, dword [ebp - 0x28]
xor ebx, ebx
cmp dword [ebp - 0x30], 0
je 0x4a8112
push edi
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp + 8]
test bl, bl
je 0x4a6dc5
jmp 0x4a6ed8
cmp dword [ebp - 0x108], 0
je 0x4a813c
push dword [ebp - 0x84]
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 0x5c], 0
je 0x4a8153
push dword [ebp - 0x64]
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
or dword [ebp - 0x34], 2
cmp dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x3c], 0x529928
je 0x4a864e
push eax
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 0x10], 0xd
jmp 0x4a864e
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x34], 2
cmp dword [esi + 0x34], 0x80000000
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
jne 0x4a8365
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x88], 2
mov dword [ebp - 0x120], 0
pxor xmm0, xmm0
movdqu xmmword [ebp - 0x58], xmm0
push 0x537fd8
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov eax, dword [0x538034]
test eax, 0x7fffffff
je 0x4a86b2
mov dword [ebp - 0x10], 7
call fcn.004ec480
mov esi, dword [ebp - 0x44]
xor al, 1
jmp 0x4a86b4
movzx eax, word [edi + ebx*2 - 8]
lea ecx, [eax - 0x42]
cmp ecx, 0x21
ja 0x4a7a57
mov edx, dword [ebp - 0x64]
add edx, dword [ecx*4 + 0x4aa2dc]
jmp edx
mov edx, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
xor ebx, ebx
add ecx, edx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x24], ecx
jmp 0x4a8382
xor ebx, ebx
test di, di
je 0x4a8413
mov di, 1
test bx, bx
jne 0x4a8377
cmp edx, ecx
je 0x4a899a
movzx eax, byte [edx]
movzx esi, al
test al, al
js 0x4a83a0
inc edx
jmp 0x4a840a
movzx ecx, byte [edx + 1]
and esi, 0x1f
and ecx, 0x3f
cmp al, 0xdf
jbe 0x4a83d7
movzx ebx, byte [edx + 2]
shl ecx, 6
and ebx, 0x3f
or ebx, ecx
cmp al, 0xf0
jb 0x4a83e4
movzx eax, byte [edx + 3]
and esi, 7
shl ebx, 6
add edx, 4
shl esi, 0x12
and eax, 0x3f
or eax, ebx
or esi, eax
jmp 0x4a83ec
shl esi, 6
add edx, 2
or esi, ecx
mov ecx, dword [ebp - 0x24]
jmp 0x4a840a
shl esi, 0xc
add edx, 3
or esi, ebx
mov ecx, dword [ebp - 0x24]
cmp esi, 0xffff
jbe 0x4a840a
and esi, 0x3ff
or esi, 0xdc00
mov ebx, esi
jmp 0x4a8379
xor ebx, ebx
mov edi, esi
jmp 0x4a8379
mov edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x2c]
mov edx, 0x529928
mov ecx, 2
mov eax, dword [ebp - 0x7c]
mov dword [eax + 4], edx
mov dword [eax], ecx
mov dword [eax + 8], 2
jmp 0x4a9339
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp - 0x90], 0
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x94], 0x80000001
mov eax, dword [ebp - 0x30]
mov esi, dword [ebp - 0x44]
test eax, eax
je 0x4a846f
push dword [ebp - 0x2c]
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x94]
cmp eax, 0x80000002
jge 0x4a8609
lea ecx, [ebp - 0x94]
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 2
call fcn.004ac1a0
mov byte [ebp - 0x1d], 1
lea ecx, [ebp - 0x104]
mov edx, str.PATHlibrary_std_src_sys_commonprocess.rs
push 4
call fcn.0049f590
add esp, 4
mov eax, dword [ebp - 0x104]
cmp eax, 0x80000000
je 0x4a88f5
mov ecx, dword [ebp - 0x100]
mov edx, dword [ebp - 0xfc]
mov dword [ebp - 0x28], eax
add edx, ecx
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0xd4], edx
mov word [ebp - 0xd0], 0
mov byte [ebp - 0xcc], 1
lea ecx, [ebp - 0x558]
lea edx, [ebp - 0xd8]
mov dword [ebp - 0x10], 0x18
call fcn.004a0650
jmp 0x4a851b
lea ecx, [ebp - 0x558]
lea edx, [ebp - 0xd8]
call fcn.004a0650
mov eax, dword [ebp - 0x558]
mov edx, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x24]
cmp eax, 0x80000000
je 0x4a88de
mov edi, dword [ebp - 0x550]
mov ecx, dword [ebp - 0x554]
test edi, edi
jne 0x4a8557
test eax, eax
je 0x4a850a
push ecx
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4a850a
mov esi, dword [ebp - 0x54c]
mov dword [ebp - 0x558], eax
mov dword [ebp - 0x554], ecx
mov dword [ebp - 0x550], edi
mov dword [ebp - 0x10], 0x19
lea ecx, [ebp - 0x558]
mov dword [ebp - 0x54c], esi
push ebx
call fcn.004a2290
add esp, 4
cmp dword [ebp - 0x118], 1
je 0x4a859f
lea ecx, [ebp - 0x558]
call fcn.004a5a60
mov edx, dword [ebp - 0x554]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x30], edx
push dword [ebp - 0x550]
call fcn.004ac0f0
add esp, 4
cmp dword [ebp - 0x558], 0
je 0x4a85d3
push dword [ebp - 0x30]
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x58]
cmp eax, 0x80000000
je 0x4a84f0
mov edi, dword [ebp - 0x54]
mov ebx, dword [ebp - 0x50]
cmp dword [ebp - 0x28], 0
mov dword [ebp - 0x30], eax
je 0x4a8601
push dword [ebp - 0x38]
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [ebp - 0x44]
jmp 0x4a7a3b
mov edi, dword [ebp - 0x90]
mov ebx, dword [ebp - 0x8c]
mov dword [ebp - 0x30], eax
jmp 0x4a7a3b
cmp dword [ebp - 0x5c], 0
je 0x4a8634
push dword [ebp - 0x64]
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x10], 0xd
mov dword [ebp - 0x3c], 0x529928
or eax, 2
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x558]
mov byte [ebp - 0x47], 0
mov dword [ebp - 0x10], 0xd
call fcn.004aa370
cmp dword [ebp - 0x58], 0
je 0x4a867b
push dword [ebp - 0x54]
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x34]
mov dword [eax + 4], ecx
mov dword [eax], edx
mov dword [eax + 8], 2
jmp 0x4a9350
mov edi, dword [ebp - 0x100]
mov ebx, dword [ebp - 0xfc]
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x30], eax
jmp 0x4a7a3b
xor eax, eax
movzx edx, byte [0x537fdc]
xor ecx, ecx
mov dword [ebp - 0x74], 0x537fd8
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x70], al
mov eax, dword [ebp + 8]
mov dword [ebp - 0x104], 0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0x158], 2
mov dword [ebp - 0x10], 8
test dl, dl
mov byte [ebp - 0x64], dl
lea edx, [ebp - 0x158]
setne cl
cmp dword [esi], 6
mov dword [ebp - 0x78], ecx
lea ecx, [esi + 8]
cmovne edx, esi
cmp dword [esi + 8], 6
cmove ecx, eax
cmp dword [esi + 0x10], 6
mov dword [ebp - 0x6c], ecx
lea ecx, [esi + 0x10]
cmove ecx, eax
lea eax, [ebp - 0x104]
mov dword [ebp - 0x108], ecx
lea ecx, [ebp - 0x558]
push eax
push 0xfffffffffffffff6
call fcn.004ac730
add esp, 8
movzx eax, byte [ebp - 0x558]
cmp al, 4
jne 0x4a88a9
mov ecx, dword [ebp - 0x554]
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 0xfc]
mov dword [ebp - 0x10], 9
mov dword [ebp - 0x84], ecx
lea ecx, [ebp - 0x558]
push eax
push 0xfffffffffffffff5
call fcn.004ac730
add esp, 8
movzx eax, byte [ebp - 0x558]
cmp al, 4
jne 0x4a8965
mov ecx, dword [ebp - 0x554]
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 0xf4]
mov dword [ebp - 0x10], 0xa
mov dword [ebp - 0x6c], ecx
lea ecx, [ebp - 0x558]
push eax
push 0xfffffffffffffff4
call fcn.004ac730
add esp, 8
movzx eax, byte [ebp - 0x558]
mov edx, dword [ebp - 0x44]
cmp al, 4
jne 0x4a8aa3
mov ecx, dword [ebp - 0x554]
cmp dword [ebp - 0x84], 0
pxor xmm0, xmm0
mov dword [ebp - 0x98], 0
movdqu xmmword [ebp - 0xa8], xmm0
movdqu xmmword [ebp - 0xb8], xmm0
movdqu xmmword [ebp - 0xc8], xmm0
movdqu xmmword [ebp - 0xd8], xmm0
jne 0x4a8818
cmp dword [ebp - 0x6c], 0
jne 0x4a8818
test ecx, ecx
je 0x4a883d
mov eax, dword [ebp - 0x84]
mov esi, dword [ebp - 0x6c]
mov dword [ebp - 0xac], pe_nt_image_headers32
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0x98], ecx
mov eax, dword [edx + 0x60]
mov dword [ebp - 0x108], ecx
test eax, eax
mov dword [ebp - 0x11c], eax
je 0x4a9019
add edx, 0x58
lea ecx, [ebp - 0x94]
mov dword [ebp - 0xd8], 0x48
mov dword [ebp - 0x10], 0xb
call fcn.004acfd0
cmp dword [ebp - 0x94], 0
mov edi, dword [ebp - 0x90]
mov esi, dword [ebp - 0x8c]
lea ecx, [ebp - 0x558]
je 0x4a90b3
mov eax, dword [ebp - 0x7c]
mov ebx, dword [ebp - 0x2c]
mov dword [eax], edi
mov dword [eax + 4], esi
mov dword [eax + 8], 2
jmp 0x4a925c
mov edx, dword [ebp - 0x7c]
movzx edi, word [ebp - 0x557]
movzx ecx, byte [ebp - 0x555]
mov esi, dword [ebp - 0x554]
mov ebx, dword [ebp - 0x2c]
mov word [edx + 1], di
mov edi, dword [ebp - 0x28]
mov byte [edx + 3], cl
mov byte [edx], al
mov dword [edx + 4], esi
mov dword [edx + 8], 2
jmp 0x4a9280
cmp dword [ebp - 0x28], 0
je 0x4a88f5
push dword [ebp - 0x38]
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [ebp - 0x74], 2
mov dword [ebp - 0x70], 0x52994c
jmp 0x4a6dad
mov edx, dword [ebp - 0x7c]
movzx edi, word [ebp - 0x557]
movzx ecx, byte [ebp - 0x555]
mov esi, dword [ebp - 0x554]
mov ebx, dword [ebp - 0x2c]
mov word [edx + 1], di
mov edi, dword [ebp - 0x28]
mov byte [edx + 3], cl
mov byte [edx], al
mov dword [edx + 4], esi
mov dword [edx + 8], 2
jmp 0x4a9274
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x558]
mov dword [ebp - 0x10], 6
mov dword [ebp - 0x558], eax
mov dword [ebp - 0x554], ecx
lea ecx, [ebp - 0xd8]
mov word [ebp - 0x550], 0
call fcn.004aa400
mov eax, dword [ebp - 0xd8]
mov edx, dword [ebp - 0xd0]
cmp edx, eax
jne 0x4a89f8
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x10], 0xc
call fcn.0049b1e0
mov eax, dword [ebp - 0xd8]
mov edx, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0xd4]
mov esi, dword [ebp - 0x44]
mov edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x2c]
cmp eax, 0x80000000
mov word [ecx + edx*2], 0
jne 0x4a8ad8
inc edx
jmp 0x4a8423
lea ecx, [ebp - 0x558]
mov byte [ebp - 0x47], 0
mov dword [ebp - 0x10], 0xd
call fcn.004aa370
mov edx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x40]
cmp edx, dword [ebp - 0x58]
jne 0x4a8a73
lea ecx, [ebp - 0x58]
mov byte [ebp - 0x47], 0
call fcn.0049b1e0
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
mov word [eax + edx*2], 0
mov dword [ebp - 0x40], eax
mov esi, dword [ebp - 0x44]
mov edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x54]
cmp ecx, 0x80000000
mov dword [ebp - 0x34], eax
jne 0x4a8f6f
inc edx
mov dword [ebp - 0x3c], edx
jmp 0x4a8681
mov edx, dword [ebp - 0x7c]
movzx edi, word [ebp - 0x557]
movzx ecx, byte [ebp - 0x555]
mov esi, dword [ebp - 0x554]
mov ebx, dword [ebp - 0x2c]
mov word [edx + 1], di
mov edi, dword [ebp - 0x28]
mov byte [edx + 3], cl
mov byte [edx], al
mov dword [edx + 4], esi
mov dword [edx + 8], 2
jmp 0x4a926b
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x120], ecx
jmp 0x4a81c2
mov eax, dword [ebp - 0x40]
jmp 0x4a8194
mov dword [ebp - 0xd8], 0x44
lea ecx, [ebp - 0xd8]
jmp 0x4a90db
mov dword [ebp - 0x10], 0
mov ecx, str.called__Option::unwrap____on_a__None__value
mov edx, 0x2b
push 0x528048
call fcn.004e8a30
add esp, 4
jmp 0x4a98da
or dword [ebp - 0x148], 0x80000
lea eax, [ebp - 0xd8]
push 0x44
push eax
push ecx
call fcn.004e4a90
lea ecx, [ebp - 0x558]
add esp, 0xc
mov dword [ebp - 0x514], edi
mov ebx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x128]
lea eax, [ebp - 0x58]
push eax
push ecx
push dword [ebp - 0x120]
push dword [ebp - 0x40]
push dword [ebp - 0x148]
push 1
push 0
push 0
mov dword [ebp - 0x40], edx
push edx
push dword [ebp - 0x118]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4a9220
mov eax, dword [ebp - 0x7c]
movsd xmm1, qword [ebp - 0xfc]
cmp dword [ebp - 0x11c], 0
movq xmm0, qword [ebp - 0xf4]
movsd xmm2, qword [ebp - 0x104]
movsd qword [eax + 0x10], xmm1
movsd xmm1, qword [ebp - 0x58]
movq qword [eax + 0x18], xmm0
movsd qword [eax + 8], xmm2
movsd qword [eax], xmm1
je 0x4a9162
mov ecx, edi
mov edx, esi
call fcn.004ad2d0
mov dword [ebp - 0x10], 7
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x108]
call esi
push dword [ebp - 0x6c]
call esi
push dword [ebp - 0x84]
call esi
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x10], 7
call fcn.004ad300
cmp dword [ebp - 0x24], 0
je 0x4a91a6
push dword [ebp - 0x88]
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 0x3c], 0
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x2c]
je 0x4a91c6
push dword [ebp - 0x34]
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 0x12c], 0
je 0x4a91e0
push dword [ebp - 0x40]
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x118]
test ebx, ebx
je 0x4a91f9
push eax
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 0x38]
test edi, edi
setne al
xor cl, 1
test al, cl
je 0x4a6ed5
push esi
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4a6ed5
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, word [ebp - 0x94]
mov edx, dword [ebp - 0x7c]
cmp dword [ebp - 0x11c], 0
mov word [edx + 1], cx
mov ch, byte [ebp - 0x92]
mov byte [edx + 3], ch
mov byte [edx], 0
mov dword [edx + 4], eax
mov dword [edx + 8], 2
je 0x4a925c
mov ecx, edi
mov edx, esi
call fcn.004ad2d0
push dword [ebp - 0x108]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x28]
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x84]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x104], 0
je 0x4a9295
push dword [ebp - 0x100]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0xfc], 0
je 0x4a92aa
push dword [ebp - 0xf8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0xf4], 0
je 0x4a92bf
push dword [ebp - 0xf0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x64], 0
je 0x4a92e5
cmp byte [ebp - 0x5c], 0
jne 0x4a9314
mov eax, dword [0x538034]
test eax, 0x7fffffff
je 0x4a9314
mov dword [ebp - 0x10], 7
call fcn.004ec480
jmp 0x4a9303
cmp byte [ebp - 0x5c], 0
jne 0x4a9314
mov eax, dword [0x538034]
test eax, 0x7fffffff
je 0x4a9314
mov dword [ebp - 0x10], 7
call fcn.004ec480
mov edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x2c]
test al, al
jne 0x4a9314
mov byte [0x537fdc], 1
push 0x537fd8
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp dword [ebp - 0x24], 0
je 0x4a9339
push dword [ebp - 0x88]
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 0x3c], 0
je 0x4a9350
push dword [ebp - 0x34]
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 0x12c], 0
je 0x4a936d
push dword [ebp - 0x128]
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
test ebx, ebx
je 0x4a9385
push dword [ebp - 0x118]
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp byte [ebp - 0x38], 0
mov eax, dword [ebp + 8]
mov bl, 1
jne 0x4a6ed8
jmp 0x4a80fa
mov eax, dword [ebp - 0x64]
jmp 0x4a864b
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x104]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0xd8], 0x5298c8
mov dword [ebp - 0xd4], 1
mov dword [ebp - 0xc8], 0
mov byte [ebp - 0x104], 0
mov dword [ebp - 0x100], eax
mov dword [ebp - 0x10], 0x25
mov dword [ebp - 0x58], edx
mov dword [ebp - 0xd0], ecx
lea ecx, [ebp - 0xd8]
mov edx, 0x5298f8
mov dword [ebp - 0x54], fcn.0049fe90
mov dword [ebp - 0xcc], 1
call fcn.004e88e0
jmp 0x4a98da
mov dword [ebp - 0x10], 0x27
mov ecx, str.called__Option::unwrap____on_a__None__value
mov edx, 0x2b
push 0x5277cc
call fcn.004e8a30
add esp, 4
jmp 0x4a98da
mov ecx, 2
mov edx, esi
mov dword [ebp - 0x10], 0x2b
call fcn.004e8590
jmp 0x4a98da
mov dword [ebp - 0x10], 0x2b
call fcn.00401890
jmp 0x4a98da
mov ecx, 1
mov edx, esi
mov byte [ebp - 0x65], 1
call fcn.004e8590
jmp 0x4a98da
mov edx, ecx
mov ecx, 1
mov dword [ebp - 0x10], 0x27
call fcn.004e8590
jmp 0x4a98da
mov byte [ebp - 0x65], 1
mov dword [ebp - 0x10], 0x29
call fcn.00401890
jmp 0x4a98da
mov dword [ebp - 0x10], 0x27
call fcn.00401890
jmp 0x4a98da
mov dword [ebp - 0x10], 0x2b
call fcn.00401890
jmp 0x4a98da
mov dword [ebp - 0x10], 0x2c
mov ecx, 1
xor edx, edx
push 0x529734
call fcn.004e8910
add esp, 4
jmp 0x4a98da
mov edx, dword [ebp - 0x34]
mov ecx, eax
push 0x529714
call fcn.004e89d0
add esp, 4
jmp 0x4a98da
mov dword [ebp - 0x10], 0x2d
mov ecx, esi
push 0x529724
call fcn.004e8910
add esp, 4
jmp 0x4a98da
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x10], 0x2a
mov ecx, str.assertion_failed:_self.height___0
mov edx, 0x21
push 0x527d94
call fcn.004e8a30
add esp, 4
jmp 0x4a98da
mov ecx, 1
mov edx, 4
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 2
call fcn.004e8590
jmp 0x4a98da
mov dword [ebp - 0x10], 3
mov ecx, 0x52c00b
mov edx, 0x28
push 0x529e9c
call fcn.004e8a30
add esp, 4
jmp 0x4a98da
mov dword [ebp - 0x10], 0x1c
mov ecx, 0x52c00b
mov edx, 0x28
push 0x529e9c
call fcn.004e8a30
add esp, 4
jmp 0x4a98da
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x104]
lea ecx, [ebp - 0x58]
mov dword [ebp - str.failure_getting_env_string_from_OS:_D], 0x529768
mov dword [ebp - 0x554], 1
mov dword [ebp - 0x548], 0
mov byte [ebp - 0x104], 0
mov dword [ebp - 0x100], eax
mov dword [ebp - 0x10], 0x28
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x550], ecx
lea ecx, [ebp - 0x558]
mov edx, 0x529770
mov dword [ebp - 0x54], fcn.0049fe90
mov dword [ebp - 0x54c], 1
call fcn.004e88e0
jmp 0x4a98da
mov dword [ebp - 0x10], 0x1a
mov ecx, 0x52c00b
mov edx, 0x28
push 0x529e9c
call fcn.004e8a30
add esp, 4
jmp 0x4a98da
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 2
call fcn.00401890
jmp 0x4a98da
mov ecx, 1
mov edx, ebx
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 2
call fcn.004e8590
jmp 0x4a98da
mov ecx, esi
push 0x529e8c
call fcn.004e89d0
add esp, 4
jmp 0x4a98da
mov dword [ebp - 0x10], 0x23
push 0x5277f8
call fcn.004e8910
add esp, 4
jmp 0x4a98da
mov ecx, esi
push 0x529e8c
call fcn.004e89d0
add esp, 4
jmp 0x4a98da
mov ecx, esi
push 0x529e8c
call fcn.004e89d0
add esp, 4
jmp 0x4a98da
ud2