Function at 0x486400
Capabilities:
Check os version
Get common file path
Get hostname
Get session user name
Get system information on windows
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x21c
mov esi, dword [esp + 0x230]
lea ebx, [esp + 0x14]
push 0x104
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, eax
sub esp, 0x1c
movaps xmm0, xmmword [0x4fd100]
movups xmmword [esp + 4], xmm0
mov dword [esp], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x2000000
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esp], eax
je 0x486470
push 8
push 0x104
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFinalPathNameByHandleW]
lea ecx, [eax - 1]
cmp ecx, 0x103
cmovb edi, eax
lea ebp, [esi + 0x38]
push ebx
push edi
push ebp
call dbg.ffStrbufSetNWS
add esp, 0xc
mov ebx, dword [esi + 0x3c]
cmp ebx, 4
jae 0x4864f8
test ebx, ebx
jne 0x486507
mov ecx, dword [esp]
mov eax, ecx
inc eax
cmp eax, 2
jb 0x48649c
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x4fd284]
lea ebx, [esp + 0x14]
push ebx
push 0
push 0
push eax
call sym._SHGetKnownFolderPath_16
test eax, eax
mov ebp, dword [esp + 0x230]
js 0x486519
mov esi, dword [esp + 0x14]
test esi, esi
je 0x486599
push esi
call sym._wcslen
add esp, 4
push esi
push eax
push ebp
call dbg.ffStrbufSetNWS
add esp, 0xc
mov edi, dword [ebp + 4]
test edi, edi
je 0x4866a4
cmp dword [ebp], 0
je 0x48663b
mov esi, dword [ebp + 8]
jmp 0x48667a
mov eax, dword [esi + 0x40]
cmp dword [eax], 0x5c3f5c5c
je 0x4865ae
cmp dword [ebp], 0
je 0x48653d
mov eax, dword [esp + 0x230]
mov edi, dword [eax + 0x40]
jmp 0x48657d
push str.USERPROFILE
call sym._getenv
add esp, 4
mov esi, eax
cmp dword [ebp], 0
je 0x4865f1
mov eax, dword [ebp + 8]
mov byte [eax], 0
jmp 0x4865f9
inc ebx
mov eax, 0x20
nop word cs:[eax + eax]
mov ebp, eax
add eax, eax
cmp ebx, ebp
ja 0x486550
push ebp
call sym._malloc
add esp, 4
mov edi, eax
push ebx
mov esi, dword [esp + 0x234]
push dword [esi + 0x40]
push eax
call sym._memcpy
add esp, 0xc
mov dword [esi + 0x40], edi
mov dword [esi + 0x38], ebp
push 0x5c
push edi
call sym._strchr
add esp, 8
test eax, eax
je 0x48648a
mov byte [eax], 0x2f
inc eax
push 0x5c
push eax
jmp 0x486580
cmp dword [ebp], 0
je 0x486695
mov eax, dword [ebp + 8]
mov byte [eax], 0
jmp 0x48669d
cmp dword [ebp], 0
je 0x4866f0
lea ecx, [eax + 4]
add ebx, 0xfffffffc
push ebx
push ecx
push eax
call sym._memmove
add esp, 0xc
mov esi, dword [esp + 0x230]
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x40]
lea edx, [eax - 4]
mov dword [esi + 0x3c], edx
mov byte [ecx + eax - 4], 0
mov ebx, dword [esi + 0x3c]
test ebx, ebx
jne 0x486507
jmp 0x48648a
mov eax, dword [0x5052b0]
mov dword [ebp + 8], eax
mov dword [ebp + 4], 0
test esi, esi
je 0x4867a5
push esi
call sym._strlen
add esp, 4
test eax, eax
je 0x4867a5
mov edi, eax
mov eax, dword [ebp]
mov ecx, eax
sub ecx, 1
jb 0x4866be
cmp ecx, edi
jb 0x4866be
mov eax, dword [ebp + 8]
xor ecx, ecx
jmp 0x486720
inc edi
mov eax, 0x20
nop word cs:[eax + eax]
mov ebx, eax
add eax, eax
cmp edi, ebx
ja 0x486650
push ebx
call sym._malloc
add esp, 4
mov esi, eax
push edi
push dword [ebp + 8]
push eax
call sym._memcpy
add esp, 0xc
mov dword [ebp + 8], esi
mov dword [ebp], ebx
lea ebx, [esp + 0x14]
push 0x5c
push esi
nop dword [eax]
call sym._strchr
add esp, 8
test eax, eax
je 0x4866a4
mov byte [eax], 0x2f
inc eax
push 0x5c
push eax
jmp 0x486680
mov eax, dword [0x5052b0]
mov dword [ebp + 8], eax
mov dword [ebp + 4], 0
push 0x2f
push ebp
call dbg.ffStrbufEnsureEndsWithC
add esp, 8
push dword [esp + 0x14]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x4867b0
cmp eax, 2
mov ecx, 0x20
cmovae ecx, eax
mov edx, edi
inc edx
nop dword [eax]
mov ebx, ecx
add ecx, ecx
cmp edx, ebx
ja 0x4866d0
test eax, eax
je 0x486708
push ebx
push dword [ebp + 8]
call sym._realloc
add esp, 8
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 4]
jmp 0x486719
add ebx, 0xfffffffd
mov ecx, dword [esp + 0x230]
mov dword [ecx + 0x3c], ebx
add eax, 3
mov dword [ecx + 0x40], eax
jmp 0x486507
push ebx
call sym._malloc
add esp, 4
mov byte [eax], 0
mov dword [ebp + 8], eax
xor ecx, ecx
mov dword [ebp], ebx
lea ebx, [esp + 0x14]
add ecx, eax
push edi
push esi
push ecx
call sym._memcpy
add esp, 0xc
mov eax, dword [ebp + 4]
add eax, edi
mov dword [ebp + 4], eax
mov ecx, dword [ebp + 8]
mov byte [ecx + eax], 0
mov edi, dword [ebp + 4]
test edi, edi
je 0x4867a5
cmp dword [ebp], 0
je 0x48674e
mov esi, dword [ebp + 8]
jmp 0x48678a
inc edi
mov eax, 0x20
nop word cs:[eax + eax]
mov ebx, eax
add eax, eax
cmp edi, ebx
ja 0x486760
push ebx
call sym._malloc
add esp, 4
mov esi, eax
push edi
push dword [ebp + 8]
push eax
call sym._memcpy
add esp, 0xc
mov dword [ebp + 8], esi
mov dword [ebp], ebx
lea ebx, [esp + 0x14]
push 0x5c
push esi
nop dword [eax]
call sym._strchr
add esp, 8
test eax, eax
je 0x4867a5
mov byte [eax], 0x2f
inc eax
push 0x5c
push eax
jmp 0x486790
push 0x2f
push ebp
call dbg.ffStrbufEnsureEndsWithC
add esp, 8
mov eax, dword [0x4fd280]
push ebx
push 0
push 0
push eax
call sym._SHGetKnownFolderPath_16
lea edi, [ebp + 0xc]
test eax, eax
js 0x486803
mov esi, dword [esp + 0x14]
test esi, esi
je 0x486880
push esi
call sym._wcslen
add esp, 4
push esi
push eax
push edi
call dbg.ffStrbufSetNWS
add esp, 0xc
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x486904
cmp dword [edi], 0
je 0x48688d
mov esi, dword [ebp + 0x14]
jmp 0x4868cf
mov ebx, dword [ebp + 4]
test ebx, ebx
je 0x486986
mov edx, dword [ebp + 8]
test edx, edx
je 0x486986
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
test eax, eax
je 0x486831
mov ecx, esi
not ecx
add ecx, eax
cmp ecx, ebx
jae 0x48691e
mov dword [esp], edx
cmp eax, 2
mov ecx, 0x20
cmovae ecx, eax
lea edx, [ebx + esi]
inc edx
nop word cs:[eax + eax]
mov ebp, ecx
add ecx, ecx
cmp edx, ebp
ja 0x486850
test eax, eax
je 0x486923
push ebp
mov esi, dword [esp + 0x234]
push dword [esi + 0x14]
call sym._realloc
add esp, 8
mov ecx, eax
mov dword [esi + 0x14], eax
mov esi, dword [esi + 0x10]
jmp 0x486960
cmp dword [edi], 0
je 0x4868f5
mov eax, dword [ebp + 0x14]
mov byte [eax], 0
jmp 0x4868fd
inc ebx
mov eax, 0x20
nop word cs:[eax + eax]
mov ebp, eax
add eax, eax
cmp ebx, ebp
ja 0x4868a0
push ebp
call sym._malloc
add esp, 4
mov esi, eax
push ebx
mov ebx, dword [esp + 0x234]
push dword [ebx + 0x14]
push eax
call sym._memcpy
add esp, 0xc
mov dword [ebx + 0x14], esi
mov dword [ebx + 0xc], ebp
mov ebp, ebx
push 0x5c
push esi
nop word cs:[eax + eax]
call sym._strchr
add esp, 8
test eax, eax
je 0x486904
mov byte [eax], 0x2f
inc eax
push 0x5c
push eax
jmp 0x4868e0
mov eax, dword [0x5052b0]
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x10], 0
push 0x2f
push edi
call dbg.ffStrbufEnsureEndsWithC
add esp, 8
push dword [esp + 0x14]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x486a4b
mov ecx, dword [ebp + 0x14]
jmp 0x48696c
push ebp
call sym._malloc
add esp, 4
mov ecx, eax
test esi, esi
je 0x486953
lea eax, [esi + 1]
push eax
mov eax, dword [esp + 0x234]
push dword [eax + 0x14]
push ecx
mov dword [esp + 0x18], ecx
call sym._memcpy
mov ecx, dword [esp + 0x18]
add esp, 0xc
jmp 0x486956
mov byte [ecx], 0
mov eax, dword [esp + 0x230]
mov dword [eax + 0x14], ecx
mov edx, dword [esp]
mov dword [edi], ebp
mov ebp, dword [esp + 0x230]
add esi, ecx
push ebx
push edx
push esi
call sym._memcpy
add esp, 0xc
add ebx, dword [ebp + 0x10]
mov dword [ebp + 0x10], ebx
mov eax, dword [ebp + 0x14]
mov byte [eax + ebx], 0
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
test eax, eax
je 0x48699b
mov ecx, ebx
not ecx
add ecx, eax
cmp ecx, 0xe
jae 0x4869d9
cmp eax, 2
mov ecx, 0x20
cmovae ecx, eax
lea edx, [ebx + 0xf]
nop dword [eax]
mov ebp, ecx
add ecx, ecx
cmp edx, ebp
ja 0x4869b0
test eax, eax
je 0x4869de
push ebp
mov ebx, dword [esp + 0x234]
push dword [ebx + 0x14]
call sym._realloc
add esp, 8
mov esi, eax
mov dword [ebx + 0x14], eax
mov ebx, dword [ebx + 0x10]
jmp 0x486a13
mov esi, dword [ebp + 0x14]
jmp 0x486a1c
push ebp
call sym._malloc
add esp, 4
mov esi, eax
test ebx, ebx
je 0x486a06
lea eax, [ebx + 1]
push eax
mov eax, dword [esp + 0x234]
push dword [eax + 0x14]
push esi
call sym._memcpy
add esp, 0xc
jmp 0x486a09
mov byte [esi], 0
mov eax, dword [esp + 0x230]
mov dword [eax + 0x14], esi
mov dword [edi], ebp
mov ebp, dword [esp + 0x230]
mov word [esi + ebx + 0xc], 0x2f6c
mov dword [esi + ebx + 8], 0x61636f4c
mov dword [esi + ebx + 4], 0x2f617461
mov dword [esi + ebx], 0x44707041
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
lea edx, [eax + 0xe]
mov dword [ebp + 0x10], edx
mov byte [ecx + eax + 0xe], 0
lea ebx, [esp + 0x14]
push str.MSYSTEM
call sym._getenv
add esp, 4
test eax, eax
je 0x486a9c
lea esi, [ebp + 0x18]
mov ecx, esi
mov edx, str.HOME
push str..config_
call dbg.platformPathAddEnvSuffix
add esp, 4
mov ecx, esi
mov edx, str.HOME
push 0
call dbg.platformPathAddEnvSuffix
add esp, 4
mov ecx, esi
mov edx, str.MINGW_PREFIX
push 0x4fd153
call dbg.platformPathAddEnvSuffix
add esp, 4
lea esi, [ebp + 0x18]
push str..config_
push ebp
push esi
call dbg.ffPlatformPathAddHome
add esp, 0xc
mov edx, dword [0x4fd288]
mov ecx, esi
call dbg.platformPathAddKnownFolder
mov edx, dword [0x4fd28c]
mov ecx, esi
call dbg.platformPathAddKnownFolder
mov edx, dword [0x4fd280]
mov ecx, esi
call dbg.platformPathAddKnownFolder
push 0x4fd157
push ebp
push esi
call dbg.ffPlatformPathAddHome
add esp, 0xc
push str.MSYSTEM
call sym._getenv
add esp, 4
test eax, eax
je 0x486b42
push str.HOME
call sym._getenv
add esp, 4
test eax, eax
je 0x486b42
lea esi, [ebp + 0x28]
mov ecx, esi
mov edx, str.HOME
push str..local_share_
call dbg.platformPathAddEnvSuffix
add esp, 4
mov ecx, esi
mov edx, str.HOME
push 0
call dbg.platformPathAddEnvSuffix
add esp, 4
mov ecx, esi
mov edx, str.MINGW_PREFIX
push str.share
call dbg.platformPathAddEnvSuffix
add esp, 4
lea esi, [ebp + 0x28]
push str..local_share_
push ebp
push esi
call dbg.ffPlatformPathAddHome
add esp, 0xc
mov edx, dword [0x4fd288]
mov ecx, esi
call dbg.platformPathAddKnownFolder
mov edx, dword [0x4fd28c]
mov ecx, esi
call dbg.platformPathAddKnownFolder
mov edx, dword [0x4fd280]
mov ecx, esi
call dbg.platformPathAddKnownFolder
push 0x4fd157
push ebp
push esi
call dbg.ffPlatformPathAddHome
add esp, 0xc
push str.USERNAME
call sym._getenv
add esp, 4
test eax, eax
je 0x486bdc
mov esi, eax
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
mov ebp, eax
nop word cs:[eax + eax]
movsx ebx, byte [ebp]
push ebx
call edi
add esp, 4
inc ebp
test eax, eax
jne 0x486bb0
test bl, bl
mov ebp, dword [esp + 0x230]
lea ebx, [esp + 0x14]
je 0x486bdc
cmp dword [ebp + 0x44], 0
je 0x486c14
mov eax, dword [ebp + 0x4c]
mov byte [eax], 0
jmp 0x486c1c
mov dword [esp + 8], 0x80
lea eax, [esp + 8]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x486cb4
lea esi, [ebp + 0x44]
push ebx
call sym._wcslen
add esp, 4
push ebx
push eax
push esi
call dbg.ffStrbufSetNWS
add esp, 0xc
jmp 0x486cb4
mov eax, dword [0x5052b0]
mov dword [ebp + 0x4c], eax
mov dword [ebp + 0x48], 0
push esi
call sym._strlen
add esp, 4
test eax, eax
je 0x486cb4
mov edi, eax
mov eax, dword [ebp + 0x44]
mov ecx, eax
sub ecx, 1
jb 0x486c4b
cmp ecx, edi
jb 0x486c4b
mov eax, dword [ebp + 0x4c]
xor ecx, ecx
jmp 0x486c98
cmp eax, 2
mov ecx, 0x20
cmovae ecx, eax
mov edx, edi
inc edx
nop dword [eax]
mov ebx, ecx
add ecx, ecx
cmp edx, ebx
ja 0x486c60
test eax, eax
je 0x486c80
push ebx
push dword [ebp + 0x4c]
call sym._realloc
add esp, 8
mov dword [ebp + 0x4c], eax
mov ecx, dword [ebp + 0x48]
jmp 0x486c91
push ebx
call sym._malloc
add esp, 4
mov byte [eax], 0
mov dword [ebp + 0x4c], eax
xor ecx, ecx
mov dword [ebp + 0x44], ebx
lea ebx, [esp + 0x14]
add ecx, eax
push edi
push esi
push ecx
call sym._memcpy
add esp, 0xc
mov eax, dword [ebp + 0x48]
add eax, edi
mov dword [ebp + 0x48], eax
mov ecx, dword [ebp + 0x4c]
mov byte [ecx + eax], 0
mov dword [esp + 8], 0x80
lea eax, [esp + 8]
push eax
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x486ce5
lea esi, [ebp + 0x50]
push ebx
call sym._wcslen
add esp, 4
push ebx
push eax
push esi
call dbg.ffStrbufSetNWS
add esp, 0xc
push str.SHELL
call sym._getenv
add esp, 4
test eax, eax
je 0x486dda
mov esi, eax
push eax
call sym._strlen
add esp, 4
test eax, eax
je 0x486dda
mov edi, dword [ebp + 0x5c]
mov edx, dword [ebp + 0x60]
test edi, edi
je 0x486d21
mov ecx, edx
not ecx
add ecx, edi
cmp ecx, eax
jae 0x486d69
cmp edi, 2
mov ecx, 0x20
cmovae ecx, edi
mov dword [esp], eax
mov dword [esp + 0xc], edx
add edx, eax
inc edx
nop word cs:[eax + eax]
mov ebx, ecx
add ecx, ecx
cmp edx, ebx
ja 0x486d40
test edi, edi
je 0x486d75
push ebx
mov ebp, dword [esp + 0x234]
push dword [ebp + 0x64]
call sym._realloc
add esp, 8
mov edi, eax
mov dword [ebp + 0x64], eax
mov edx, dword [ebp + 0x60]
jmp 0x486db2
mov ebp, dword [esp + 0x230]
mov edi, dword [ebp + 0x64]
jmp 0x486dbc
push ebx
call sym._malloc
add esp, 4
mov edi, eax
mov edx, dword [esp + 0xc]
test edx, edx
je 0x486da5
lea eax, [edx + 1]
push eax
mov ebp, dword [esp + 0x234]
push dword [ebp + 0x64]
push edi
call sym._memcpy
mov edx, dword [esp + 0x18]
add esp, 0xc
jmp 0x486daf
mov byte [edi], 0
mov ebp, dword [esp + 0x230]
mov dword [ebp + 0x64], edi
mov eax, dword [esp]
mov dword [ebp + 0x5c], ebx
lea ebx, [esp + 0x14]
add edx, edi
push eax
push esi
push edx
mov esi, eax
call sym._memcpy
add esp, 0xc
mov eax, dword [ebp + 0x60]
add eax, esi
mov dword [ebp + 0x60], eax
mov ecx, dword [ebp + 0x64]
mov byte [ecx + eax], 0
mov edi, dword [ebp + 0x60]
test edi, edi
je 0x486e45
cmp dword [ebp + 0x5c], 0
je 0x486dec
mov esi, dword [ebp + 0x64]
jmp 0x486e2a
inc edi
mov eax, 0x20
nop word cs:[eax + eax]
mov ebx, eax
add eax, eax
cmp edi, ebx
ja 0x486e00
push ebx
call sym._malloc
add esp, 4
mov esi, eax
push edi
push dword [ebp + 0x64]
push eax
call sym._memcpy
add esp, 0xc
mov dword [ebp + 0x64], esi
mov dword [ebp + 0x5c], ebx
lea ebx, [esp + 0x14]
push 0x5c
push esi
nop dword [eax]
call sym._strchr
add esp, 8
test eax, eax
je 0x486e45
mov byte [eax], 0x2f
inc eax
push 0x5c
push eax
jmp 0x486e30
lea eax, [esp + 0x18]
push 0x110
push 0
push eax
call sym._memset
add esp, 0xc
mov dword [esp + 0x14], 0x114
push ebx
call sym._RtlGetVersion_4
test eax, eax
js 0x486fde
mov dword [esp + 4], 0
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x486fcf
mov dword [esp + 0x10], 0
mov eax, dword [esp + 4]
mov dword [esp + 8], 4
lea ecx, [esp + 0x10]
lea edx, [esp + 8]
push edx
push ecx
push 0
push 0x18
push 0x4fd1d6
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
lea eax, [ebp + 0x74]
push dword [esp + 0x10]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push str._u._u._u._u
push eax
call dbg.ffStrbufAppendF
add esp, 0x18
lea esi, [ebp + 0x98]
mov dword [ebp + 0x98], 0
mov dword [ebp + 0x9c], 0
mov eax, dword [0x5052b0]
mov dword [ebp + 0xa0], eax
push 0
push esi
push str.DisplayVersion
push dword [esp + 0x10]
call dbg.ffRegReadStrbuf
add esp, 0x10
test al, al
jne 0x486f49
cmp word [esp + 0x28], 0
je 0x486f49
lea edi, [esp + 0x28]
push edi
call sym._wcslen
add esp, 4
push edi
push eax
push esi
call dbg.ffStrbufSetNWS
add esp, 0xc
lea eax, [ebp + 0x80]
push 0
push eax
push str.BuildLabEx
push dword [esp + 0x10]
call dbg.ffRegReadStrbuf
add esp, 0x10
mov eax, dword [esp + 0x24]
cmp eax, 2
je 0x486f87
cmp eax, 1
je 0x486f99
test eax, eax
jne 0x486fcf
mov esi, str.WIN32s
mov edi, 6
cmp dword [ebp + 0x68], 0
jne 0x486fa9
jmp 0x486fc2
mov esi, str.WIN32_NT
mov edi, 8
cmp dword [ebp + 0x68], 0
jne 0x486fa9
jmp 0x486fc2
mov esi, str.WIN32_WINDOWS
mov edi, 0xd
cmp dword [ebp + 0x68], 0
je 0x486fc2
mov dword [ebp + 0x6c], 0
mov dword [ebp + 0x68], 0
push dword [ebp + 0x70]
call sym._free
add esp, 4
mov dword [ebp + 0x68], 0
mov dword [ebp + 0x6c], edi
mov dword [ebp + 0x70], esi
mov eax, dword [esp + 4]
test eax, eax
je 0x486fde
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [esp + 0x14]
cmp eax, 0xc
ja case.0x486ff3.4
jmp dword [eax*4 + 0x4fd290]
movzx eax, word [esp + 0x34]
cmp eax, 6
je 0x4870d5
cmp eax, 5
je 0x4870e1
cmp eax, 4
jne 0x4870ed
mov esi, str.i486
mov edi, 4
jmp 0x48707f
mov esi, str.mips
mov edi, 4
jmp 0x48707f
mov esi, str.alpha
mov edi, 5
jmp 0x48707f
mov esi, 0x4fd268
mov edi, 3
jmp 0x48707f
mov esi, 0x4fd264
mov edi, 3
jmp 0x48707f
mov esi, str.ia64
mov edi, 4
jmp 0x48707f
mov esi, str.alpha64
jmp 0x48707a
mov esi, str.x86_64
mov edi, 6
jmp 0x48707f
mov esi, str.aarch64
mov edi, 7
cmp dword [ebp + 0x8c], 0
je 0x4870aa
mov dword [ebp + 0x90], 0
mov dword [ebp + 0x8c], 0
push dword [ebp + 0x94]
call sym._free
add esp, 4
mov dword [ebp + 0x8c], 0
mov dword [ebp + 0x90], edi
mov dword [ebp + 0x94], esi
mov eax, dword [esp + 0x18]
mov dword [ebp + 0xa4], eax
add esp, 0x21c
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, str.i686
mov edi, 4
jmp 0x48707f
mov esi, str.i586
mov edi, 4
jmp 0x48707f
mov esi, str.i386
mov edi, 4
jmp 0x48707f