Function at 0x480a20
Capabilities:
Get common file path
Get installed programs
Query environment variable
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4aa6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x6f0
mov eax, dword [0x54d104]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x6ac], 0
movups xmmword [ebp - 0x6c4], xmm0
movq qword [ebp - 0x6b4], xmm0
mov dword [ebp - 4], 2
movups xmmword [ebp - 0x6c4], xmm0
mov dword [ebp - 0x6b4], 0
mov dword [ebp - 0x6b0], 0
mov byte [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x6b4], 0
mov dword [ebp - 0x6b0], 7
mov word [ebp - 0x6c4], ax
mov dword [ebp - 4], 3
mov dword [ebp - 0x6ac], eax
mov dword [ebp - 4], 4
lea edx, [ebp - 0x6e4]
mov ecx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
cmp dword [0x554d00], 0xf
mov dword [ebp - 0x6d8], eax
mov dword [ebp - 0x6e4], eax
setge byte [ebp - 0x674]
mov dword [ebp - 0x6e8], eax
setl byte [ebp - 0x658]
mov byte [ebp - 0x6e9], al
setge byte [ebp - 0x63c]
cmp word [0x554c5c], 0
lea eax, [ebp - 0x6e4]
mov dword [ebp - 0x6a0], eax
lea eax, [ebp - 0x6e8]
mov dword [ebp - 0x69c], eax
setne byte [ebp - 0x6f1]
mov dword [ebp - 0x6a4], ecx
lea eax, [ebp - 0x6e4]
mov dword [ebp - 0x688], ecx
mov dword [ebp - 0x66c], ecx
mov dword [ebp - 0x650], ecx
lea ecx, [ebp - 0x6e4]
mov dword [ebp - 0x684], eax
lea eax, [ebp - 0x6e8]
mov dword [ebp - 0x668], edx
mov edx, eax
mov dword [ebp - 0x64c], ecx
mov ecx, eax
push 0xfa0
push 0x553ee0
mov dword [ebp - 0x6a8], 0x535c54
mov dword [ebp - 0x698], str.user32.dll
mov dword [ebp - 0x694], 0x4805d0
mov byte [ebp - 0x690], 1
mov dword [ebp - 0x68c], 0x535c54
mov dword [ebp - 0x680], eax
mov dword [ebp - 0x67c], str.ws2_32.dll
mov dword [ebp - 0x678], 0x480390
mov dword [ebp - 0x670], 0x535c54
mov dword [ebp - 0x664], edx
mov dword [ebp - 0x660], str.ole32.dll
mov dword [ebp - 0x65c], 0x480800
mov dword [ebp - 0x654], 0x535c54
mov dword [ebp - 0x648], ecx
mov dword [ebp - 0x644], str.combase.dll
mov dword [ebp - 0x640], 0x480800
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
xor eax, eax
mov word [ebp - 0x20], ax
mov word [ebp - 0x228], ax
lea eax, [ebp - 0x228]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x48175f
lea eax, [ebp - 0x228]
push eax
call fcn.004c94f1
add esp, 4
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x480c96
push str.SetDllDirectoryW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x480c84
push 0x528d18
mov ecx, edi
call dword [0x4f933c]
call edi
push 0x535c54
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x6e4], eax
push 0x52e5f0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x480cb7
push 0x535c54
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x6e8], eax
lea ecx, [ebp - 0x228]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x480cc0
sub ecx, edx
lea eax, [ebp - 0x228]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x6c4]
call fcn.0040a680
push 6
push str..DLL
lea ecx, [ebp - 0x6c4]
call fcn.0040a5c0
lea eax, [ebp - 0x6c4]
mov ecx, 0x554860
push eax
call fcn.004818d0
lea eax, [ebp - 0x6c4]
mov ecx, 0x554868
push eax
call fcn.00481a60
lea ecx, [ebp - 0x228]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x480d20
sub ecx, edx
lea eax, [ebp - 0x228]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x6c4]
call fcn.0040a680
push 5
push str..AX
lea ecx, [ebp - 0x6c4]
call fcn.0040a5c0
lea eax, [ebp - 0x6c4]
mov ecx, 0x554868
push eax
call fcn.00481a60
mov ecx, dword [ebp - 0x6b4]
mov esi, 0x104
cmp ecx, esi
jb 0x480d99
cmp dword [ebp - 0x6b0], 8
lea eax, [ebp - 0x6c4]
mov dword [ebp - 0x6b4], esi
cmovae eax, dword [ebp - 0x6c4]
xor ecx, ecx
mov word [eax + 0x208], cx
jmp 0x480dab
mov eax, esi
sub eax, ecx
lea ecx, [ebp - 0x6c4]
push 0
push eax
call fcn.0040b5f0
cmp dword [ebp - 0x6b0], 8
lea eax, [ebp - 0x6c4]
push 0x104
cmovae eax, dword [ebp - 0x6c4]
push eax
push str.CommonProgramFiles
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, dword [ebp - 0x6b4]
cmp eax, ecx
ja 0x480dfc
cmp dword [ebp - 0x6b0], 8
lea ecx, [ebp - 0x6c4]
mov dword [ebp - 0x6b4], eax
cmovae ecx, dword [ebp - 0x6c4]
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x480e0c
sub eax, ecx
lea ecx, [ebp - 0x6c4]
push 0
push eax
call fcn.0040b5f0
mov eax, dword [ebp - 0x6b4]
test eax, eax
je 0x480e5c
cmp dword [ebp - 0x6b0], 8
lea eax, [ebp - 0x6c4]
cmovae eax, dword [ebp - 0x6c4]
push eax
call fcn.004c94f1
add esp, 4
lea ecx, [ebp - 0x6c4]
push 0x17
push str.MICROSOFT_SHARED.DLL
call fcn.0040a5c0
lea eax, [ebp - 0x6c4]
mov ecx, 0x554868
push eax
call fcn.00481a60
mov eax, dword [ebp - 0x6b4]
cmp eax, 0x104
jb 0x480e88
cmp dword [ebp - 0x6b0], 8
lea eax, [ebp - 0x6c4]
mov dword [ebp - 0x6b4], esi
cmovae eax, dword [ebp - 0x6c4]
xor ecx, ecx
mov word [eax + 0x208], cx
jmp 0x480e98
push 0
sub esi, eax
lea ecx, [ebp - 0x6c4]
push esi
call fcn.0040b5f0
cmp dword [ebp - 0x6b0], 8
lea eax, [ebp - 0x6c4]
push 0x104
cmovae eax, dword [ebp - 0x6c4]
push eax
push str.ProgramFiles
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, dword [ebp - 0x6b4]
cmp eax, ecx
ja 0x480ee9
cmp dword [ebp - 0x6b0], 8
lea ecx, [ebp - 0x6c4]
mov dword [ebp - 0x6b4], eax
cmovae ecx, dword [ebp - 0x6c4]
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x480ef9
sub eax, ecx
lea ecx, [ebp - 0x6c4]
push 0
push eax
call fcn.0040b5f0
cmp dword [ebp - 0x6b4], 0
je 0x480f42
cmp dword [ebp - 0x6b0], 8
lea eax, [ebp - 0x6c4]
cmovae eax, dword [ebp - 0x6c4]
push eax
call fcn.004c94f1
add esp, 4
lea ecx, [ebp - 0x6c4]
push 0x18
push str.INTERNET_EXPLORER.DLL
call fcn.0040a5c0
lea eax, [ebp - 0x6c4]
mov ecx, 0x554868
push eax
call fcn.00481a60
lea ecx, [ebp - 0x228]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x480f50
sub ecx, edx
lea eax, [ebp - 0x228]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x6c4]
call fcn.0040a680
push 0xa
push str.IMM32.DLL
lea ecx, [ebp - 0x6c4]
call fcn.0040a5c0
lea eax, [ebp - 0x6c4]
mov ecx, 0x554858
push eax
call fcn.00481a60
lea ecx, [ebp - 0x228]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x480fa0
sub ecx, edx
lea eax, [ebp - 0x228]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x6c4]
call fcn.0040a680
push 0xb
push str.DWMAPI.DLL
lea ecx, [ebp - 0x6c4]
call fcn.0040a5c0
lea eax, [ebp - 0x6c4]
mov ecx, 0x554858
push eax
call fcn.00481a60
lea ecx, [ebp - 0x228]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x480ff0
sub ecx, edx
lea eax, [ebp - 0x228]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x6c4]
call fcn.0040a680
push 0xc
push str.UXTHEME.DLL
lea ecx, [ebp - 0x6c4]
call fcn.0040a5c0
lea eax, [ebp - 0x6c4]
push eax
call fcn.00481b20
lea ecx, [ebp - 0x228]
lea edx, [ecx + 2]
mov byte [eax], 1
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x481040
sub ecx, edx
lea eax, [ebp - 0x228]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x6c4]
call fcn.0040a680
push 0xa
push str.MSCTF.DLL
lea ecx, [ebp - 0x6c4]
call fcn.0040a5c0
lea eax, [ebp - 0x6c4]
push eax
call fcn.00481b20
movzx esi, byte [ebp - 0x6f1]
xor edi, edi
shl esi, 8
add esi, 0x20019
mov byte [eax], 1
lea eax, [ebp - 0x6d8]
push eax
push esi
push edi
push str.SOFTWAREFreedom_ScientificJAWS
push 0x80000002
mov dword [ebp - 0x6f0], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4812f0
mov dword [ebp - 0x6dc], edi
mov dword [ebp - 0x6cc], 0x5c
nop dword [eax]
push 0
push 0
push 0
push 0
xor eax, eax
mov dword [ebp - 0x6c8], 0x100
lea ecx, [ebp - 0x6c8]
mov word [ebp - 0x43a], ax
push ecx
lea ecx, [ebp - 0x638]
mov word [ebp - 0x638], ax
mov eax, edi
inc edi
push ecx
push eax
push dword [ebp - 0x6d8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4812f0
lea eax, [ebp - 0x6dc]
push eax
push esi
push 0
lea eax, [ebp - 0x638]
push eax
push dword [ebp - 0x6d8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4812e1
mov word [ebp - 0x230], ax
mov word [ebp - 0x438], ax
lea eax, [ebp - 0x6c8]
push eax
lea eax, [ebp - 0x438]
mov dword [ebp - 0x6c8], 0x208
push eax
push 0
push 0
push str.Target
push dword [ebp - 0x6dc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4812d0
lea eax, [ebp - 0x438]
push eax
call fcn.004c94f1
lea ecx, [ebp - 0x438]
add esp, 4
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4811a0
sub ecx, edx
lea eax, [ebp - 0x438]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x6c4]
call fcn.0040a680
sub esp, 0xc
lea ecx, [ebp - 0x6c4]
call fcn.004863e0
mov ecx, dword [ebp - 0x6b4]
test ecx, ecx
je 0x4812d0
cmp dword [ebp - 0x6b0], 8
lea eax, [ebp - 0x6c4]
cmovae eax, dword [ebp - 0x6c4]
lea ecx, [eax + ecx*2]
cmp eax, ecx
jae 0x48120f
nop dword [eax]
cmp word [eax], 0x5c
jne 0x48120d
add eax, 2
cmp eax, ecx
jb 0x481200
cmp eax, ecx
sbb esi, esi
neg esi
cmp eax, ecx
jae 0x481265
nop word [eax + eax]
movzx edx, word [eax]
cmp word [ebp - 0x6cc], dx
jne 0x48124b
add eax, 2
cmp eax, ecx
jae 0x481240
cmp word [eax], 0x2e
jne 0x481242
add eax, 2
cmp eax, ecx
jb 0x481233
je 0x481265
cmp word [eax], 0
je 0x481265
inc esi
jmp 0x481261
mov dword [ebp - 0x6f8], 0
cmp word [ebp - 0x6f8], dx
je 0x481265
add eax, 2
cmp eax, ecx
jb 0x481220
cmp esi, 4
jl 0x4812ca
push ecx
lea ecx, [ebp - 0x6c4]
call fcn.00486310
sub esp, 0xc
lea ecx, [ebp - 0x6c4]
call fcn.004863e0
push ecx
lea ecx, [ebp - 0x6c4]
call fcn.00486310
push ecx
push 0x52fda8
lea ecx, [ebp - 0x6c4]
call fcn.00486270
lea eax, [ebp - 0x6c4]
mov ecx, 0x554858
push eax
call fcn.004818d0
lea eax, [ebp - 0x6c4]
mov ecx, 0x554868
push eax
call fcn.00481a60
mov byte [ebp - 0x6e9], 1
mov esi, dword [ebp - 0x6f0]
mov eax, dword [ebp - 0x6dc]
test eax, eax
je 0x4812e1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x6dc], 0
jmp 0x4810d0
mov eax, dword [ebp - 0x6d8]
test eax, eax
je 0x48130b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x6d8], 0
lea eax, [ebp - 0x6d8]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallNVDA
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4813ec
mov word [ebp - 0x230], ax
mov word [ebp - 0x438], ax
lea eax, [ebp - 0x6cc]
push eax
lea eax, [ebp - 0x438]
mov dword [ebp - 0x6cc], 0x208
push eax
push 0
push 0
push str.InstallDir
push dword [ebp - 0x6d8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4813ec
lea eax, [ebp - 0x438]
push eax
call fcn.004c94f1
lea ecx, [ebp - 0x438]
add esp, 4
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x481390
sub ecx, edx
lea eax, [ebp - 0x438]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x6c4]
call fcn.0040a680
push ecx
push 0x52fda8
lea ecx, [ebp - 0x6c4]
call fcn.00486270
lea eax, [ebp - 0x6c4]
mov ecx, 0x554858
push eax
call fcn.004818d0
lea eax, [ebp - 0x6c4]
mov ecx, 0x554868
push eax
call fcn.00481a60
mov byte [ebp - 0x6e9], 1
mov eax, dword [ebp - 0x6d8]
test eax, eax
je 0x481407
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x6d8], 0
lea eax, [ebp - 0x6d8]
push eax
push 0x20019
push 0
push str.SOFTWAREXVisionSense_Reader
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48148f
lea ecx, [ebp - 0x228]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x481432
sub ecx, edx
lea eax, [ebp - 0x228]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x6c4]
call fcn.0040a680
push 8
push str.XV.DLL
lea ecx, [ebp - 0x6c4]
call fcn.0040a5c0
lea eax, [ebp - 0x6c4]
mov ecx, 0x554858
push eax
call fcn.004818d0
lea eax, [ebp - 0x6c4]
mov ecx, 0x554868
push eax
call fcn.00481a60
mov byte [ebp - 0x6e9], 1
mov eax, dword [ebp - 0x6d8]
test eax, eax
je 0x4814aa
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x6d8], 0
cmp byte [ebp - 0x6e9], 0
je 0x481503
lea ecx, [ebp - 0x228]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4814c0
sub ecx, edx
lea eax, [ebp - 0x228]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x6c4]
call fcn.0040a680
push 0x15
push str.UIAUTOMATIONCORE.DLL
lea ecx, [ebp - 0x6c4]
call fcn.0040a5c0
lea eax, [ebp - 0x6c4]
push eax
call fcn.00481b20
mov byte [eax], 1
push 0x530ad8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x48175f
push str.RtlImageDirectoryEntryToData
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x6f8], eax
test eax, eax
je 0x48175f
lea edi, [ebp - 0x698]
mov eax, 4
mov dword [ebp - 0x6c8], edi
mov dword [ebp - 0x6f0], eax
nop word [eax + eax]
cmp byte [edi + 8], 0
je 0x481747
mov esi, dword [edi]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x6dc], eax
test eax, eax
jne 0x4815fb
lea ecx, [ebp - 0x228]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x481580
sub ecx, edx
lea eax, [ebp - 0x228]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x6c4]
call fcn.0040a680
push 0x5c
push 1
lea ecx, [ebp - 0x6c4]
call fcn.0040b5f0
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4815b6
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x6c4]
call fcn.0040a5c0
cmp dword [ebp - 0x6b0], 8
lea eax, [ebp - 0x6c4]
cmovae eax, dword [ebp - 0x6c4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x6dc], eax
test eax, eax
je 0x481741
mov esi, dword [ebp - 0x6f8]
lea ecx, [ebp - 0x6d4]
push ecx
push 1
push 1
push eax
mov ecx, esi
call dword [0x4f933c]
call esi
mov edx, dword [ebp - 0x6dc]
test eax, eax
je 0x48168e
add eax, 0xc
mov dword [ebp - 0x6e0], eax
cmp dword [eax], 0
je 0x48168e
nop
mov esi, dword [eax + 4]
add esi, edx
mov ecx, dword [esi]
test ecx, ecx
je 0x48167a
mov eax, dword [edi - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x6fc], eax
cmp ecx, eax
je 0x4817b2
mov eax, dword [edi - 8]
cmp ecx, dword [eax]
je 0x4817b2
mov eax, dword [edi - 4]
cmp ecx, dword [eax]
je 0x4817b2
mov ecx, dword [esi + 4]
add esi, 4
mov eax, dword [ebp - 0x6fc]
test ecx, ecx
jne 0x481646
mov eax, dword [ebp - 0x6e0]
add eax, 0x14
mov dword [ebp - 0x6e0], eax
cmp dword [eax], 0
jne 0x481630
mov esi, dword [ebp - 0x6f8]
lea eax, [ebp - 0x6d4]
mov ecx, esi
push eax
push 0xd
push 1
push edx
call dword [0x4f933c]
call esi
test eax, eax
je 0x481741
cmp dword [eax + 4], 0
je 0x481741
mov ecx, dword [ebp - 0x6dc]
add eax, 0x10
mov dword [ebp - 0x6e0], eax
mov esi, dword [eax - 4]
mov edx, eax
mov edi, dword [eax]
add esi, ecx
add edi, ecx
mov dword [ebp - 0x700], edx
cmp dword [esi], 0
je 0x48172c
mov eax, dword [ebp - 0x6c8]
mov edx, dword [eax - 0x10]
mov dword [ebp - 0x6fc], edx
nop word [eax + eax]
mov eax, dword [edi]
lea edi, [edi + 4]
add ecx, 2
push edx
add eax, ecx
push eax
call fcn.004d1df2
add esp, 8
test eax, eax
je 0x48183b
mov ecx, dword [ebp - 0x6dc]
add esi, 4
mov edx, dword [ebp - 0x6fc]
cmp dword [esi], 0
jne 0x4816f0
mov eax, dword [ebp - 0x6e0]
mov edx, dword [ebp - 0x700]
add eax, 0x20
cmp dword [edx + 0x14], 0
mov dword [ebp - 0x6e0], eax
jne 0x4816c5
mov edi, dword [ebp - 0x6c8]
mov eax, dword [ebp - 0x6f0]
add edi, 0x1c
sub eax, 1
mov dword [ebp - 0x6c8], edi
mov dword [ebp - 0x6f0], eax
jne 0x481550
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x6ac]
test eax, eax
je 0x481779
push eax
call fcn.004af421
add esp, 4
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x6c4]
call fcn.0040aa40
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004af3ab
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [edi + 4]
push 0
mov dword [ebp - 0x6e0], eax
lea eax, [ebp - 0x6e0]
push 4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x481741
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e6
jne 0x481741
lea eax, [ebp - 0x6d0]
push eax
push 8
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x481741
push 0
push 4
lea eax, [ebp - 0x6e0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea eax, [ebp - 0x6d0]
push eax
push dword [ebp - 0x6d0]
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x481741
mov edi, dword [ebp - 0x6c8]
push 0
push 4
mov eax, dword [edi + 4]
mov dword [ebp - 0x6e0], eax
lea eax, [ebp - 0x6e0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x481741
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e6
jne 0x481741
lea eax, [ebp - 0x6cc]
push eax
push 8
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x481741
push 0
push 4
lea eax, [ebp - 0x6e0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea eax, [ebp - 0x6cc]
push eax
push dword [ebp - 0x6cc]
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x481741