Function at 0x479140
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 0x4e5566
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x6f0
mov eax, dword [0x51c100]
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 esi, [ebp - 0x6e4]
cmp dword [0x5239f0], 0xf
mov edx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x6d8], eax
setge cl
mov dword [ebp - 0x6e4], eax
setl byte [ebp - 0x658]
cmp word [0x523950], 0
mov dword [ebp - 0x6e8], eax
mov byte [ebp - 0x6e9], al
setne byte [ebp - 0x6f1]
lea eax, [ebp - 0x6e4]
mov dword [ebp - 0x668], esi
mov dword [ebp - 0x6a0], eax
lea eax, [ebp - 0x6e8]
mov dword [ebp - 0x69c], eax
lea eax, [ebp - 0x6e4]
mov dword [ebp - 0x684], eax
lea eax, [ebp - 0x6e8]
mov esi, eax
mov dword [ebp - 0x680], eax
lea eax, [ebp - 0x6e4]
mov dword [ebp - 0x6a8], 0x505890
mov dword [ebp - 0x64c], eax
mov eax, esi
push 0xfa0
push 0x522dd0
mov dword [ebp - 0x6a4], edx
mov dword [ebp - 0x698], str.user32.dll
mov dword [ebp - 0x694], 0x478ce0
mov byte [ebp - 0x690], 1
mov dword [ebp - 0x68c], 0x505890
mov dword [ebp - 0x688], edx
mov dword [ebp - 0x67c], str.ws2_32.dll
mov dword [ebp - 0x678], 0x478aa0
mov byte [ebp - 0x674], cl
mov dword [ebp - 0x670], 0x505890
mov dword [ebp - 0x66c], edx
mov dword [ebp - 0x664], esi
mov dword [ebp - 0x660], str.ole32.dll
mov dword [ebp - 0x65c], 0x478f20
mov dword [ebp - 0x654], 0x505890
mov dword [ebp - 0x650], edx
mov dword [ebp - 0x648], eax
mov dword [ebp - 0x644], str.combase.dll
mov dword [ebp - 0x640], 0x478f20
mov byte [ebp - 0x63c], cl
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 0x479e7f
lea eax, [ebp - 0x228]
push eax
call fcn.004ba477
add esp, 4
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x4793b7
push str.SetDllDirectoryW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x4793a5
push 0x4fbcd4
mov ecx, edi
call dword [0x4e933c]
call edi
push 0x505890
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x6e4], eax
push 0x501354
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4793d8
push 0x505890
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 0x4793e1
sub ecx, edx
lea eax, [ebp - 0x228]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x6c4]
call fcn.0040a190
push 6
push str..DLL
lea ecx, [ebp - 0x6c4]
call fcn.0040a0d0
lea eax, [ebp - 0x6c4]
mov ecx, 0x523558
push eax
call fcn.00479ff0
lea eax, [ebp - 0x6c4]
mov ecx, 0x523560
push eax
call fcn.0047a180
lea ecx, [ebp - 0x228]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x479440
sub ecx, edx
lea eax, [ebp - 0x228]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x6c4]
call fcn.0040a190
push 5
push str..AX
lea ecx, [ebp - 0x6c4]
call fcn.0040a0d0
lea eax, [ebp - 0x6c4]
mov ecx, 0x523560
push eax
call fcn.0047a180
mov ecx, dword [ebp - 0x6b4]
mov esi, 0x104
cmp ecx, esi
jb 0x4794b9
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 0x4794cb
mov eax, esi
sub eax, ecx
lea ecx, [ebp - 0x6c4]
push 0
push eax
call fcn.0040c260
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 0x47951c
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 0x47952c
sub eax, ecx
lea ecx, [ebp - 0x6c4]
push 0
push eax
call fcn.0040c260
mov eax, dword [ebp - 0x6b4]
test eax, eax
je 0x47957c
cmp dword [ebp - 0x6b0], 8
lea eax, [ebp - 0x6c4]
cmovae eax, dword [ebp - 0x6c4]
push eax
call fcn.004ba477
add esp, 4
lea ecx, [ebp - 0x6c4]
push 0x17
push str.MICROSOFT_SHARED.DLL
call fcn.0040a0d0
lea eax, [ebp - 0x6c4]
mov ecx, 0x523560
push eax
call fcn.0047a180
mov eax, dword [ebp - 0x6b4]
cmp eax, 0x104
jb 0x4795a8
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 0x4795b8
push 0
sub esi, eax
lea ecx, [ebp - 0x6c4]
push esi
call fcn.0040c260
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 0x479609
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 0x479619
sub eax, ecx
lea ecx, [ebp - 0x6c4]
push 0
push eax
call fcn.0040c260
cmp dword [ebp - 0x6b4], 0
je 0x479662
cmp dword [ebp - 0x6b0], 8
lea eax, [ebp - 0x6c4]
cmovae eax, dword [ebp - 0x6c4]
push eax
call fcn.004ba477
add esp, 4
lea ecx, [ebp - 0x6c4]
push 0x18
push str.INTERNET_EXPLORER.DLL
call fcn.0040a0d0
lea eax, [ebp - 0x6c4]
mov ecx, 0x523560
push eax
call fcn.0047a180
lea ecx, [ebp - 0x228]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x479670
sub ecx, edx
lea eax, [ebp - 0x228]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x6c4]
call fcn.0040a190
push 0xa
push str.IMM32.DLL
lea ecx, [ebp - 0x6c4]
call fcn.0040a0d0
lea eax, [ebp - 0x6c4]
mov ecx, 0x523550
push eax
call fcn.0047a180
lea ecx, [ebp - 0x228]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4796c0
sub ecx, edx
lea eax, [ebp - 0x228]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x6c4]
call fcn.0040a190
push 0xb
push str.DWMAPI.DLL
lea ecx, [ebp - 0x6c4]
call fcn.0040a0d0
lea eax, [ebp - 0x6c4]
mov ecx, 0x523550
push eax
call fcn.0047a180
lea ecx, [ebp - 0x228]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x479710
sub ecx, edx
lea eax, [ebp - 0x228]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x6c4]
call fcn.0040a190
push 0xc
push str.UXTHEME.DLL
lea ecx, [ebp - 0x6c4]
call fcn.0040a0d0
lea eax, [ebp - 0x6c4]
push eax
call fcn.0047a240
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 0x479760
sub ecx, edx
lea eax, [ebp - 0x228]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x6c4]
call fcn.0040a190
push 0xa
push str.MSCTF.DLL
lea ecx, [ebp - 0x6c4]
call fcn.0040a0d0
lea eax, [ebp - 0x6c4]
push eax
call fcn.0047a240
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 0x479a10
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 0x479a10
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 0x479a01
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 0x4799f0
lea eax, [ebp - 0x438]
push eax
call fcn.004ba477
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 0x4798c0
sub ecx, edx
lea eax, [ebp - 0x438]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x6c4]
call fcn.0040a190
sub esp, 0xc
lea ecx, [ebp - 0x6c4]
call fcn.0047ead0
mov ecx, dword [ebp - 0x6b4]
test ecx, ecx
je 0x4799f0
cmp dword [ebp - 0x6b0], 8
lea eax, [ebp - 0x6c4]
cmovae eax, dword [ebp - 0x6c4]
lea ecx, [eax + ecx*2]
cmp eax, ecx
jae 0x47992f
nop dword [eax]
cmp word [eax], 0x5c
jne 0x47992d
add eax, 2
cmp eax, ecx
jb 0x479920
cmp eax, ecx
sbb esi, esi
neg esi
cmp eax, ecx
jae 0x479985
nop word [eax + eax]
movzx edx, word [eax]
cmp word [ebp - 0x6cc], dx
jne 0x47996b
add eax, 2
cmp eax, ecx
jae 0x479960
cmp word [eax], 0x2e
jne 0x479962
add eax, 2
cmp eax, ecx
jb 0x479953
je 0x479985
cmp word [eax], 0
je 0x479985
inc esi
jmp 0x479981
mov dword [ebp - 0x6f8], 0
cmp word [ebp - 0x6f8], dx
je 0x479985
add eax, 2
cmp eax, ecx
jb 0x479940
cmp esi, 4
jl 0x4799ea
push ecx
lea ecx, [ebp - 0x6c4]
call fcn.0047ea00
sub esp, 0xc
lea ecx, [ebp - 0x6c4]
call fcn.0047ead0
push ecx
lea ecx, [ebp - 0x6c4]
call fcn.0047ea00
push ecx
push 0x5026b0
lea ecx, [ebp - 0x6c4]
call fcn.0047e960
lea eax, [ebp - 0x6c4]
mov ecx, 0x523550
push eax
call fcn.00479ff0
lea eax, [ebp - 0x6c4]
mov ecx, 0x523560
push eax
call fcn.0047a180
mov byte [ebp - 0x6e9], 1
mov esi, dword [ebp - 0x6f0]
mov eax, dword [ebp - 0x6dc]
test eax, eax
je 0x479a01
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x6dc], 0
jmp 0x4797f0
mov eax, dword [ebp - 0x6d8]
test eax, eax
je 0x479a2b
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 0x479b0c
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 0x479b0c
lea eax, [ebp - 0x438]
push eax
call fcn.004ba477
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 0x479ab0
sub ecx, edx
lea eax, [ebp - 0x438]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x6c4]
call fcn.0040a190
push ecx
push 0x5026b0
lea ecx, [ebp - 0x6c4]
call fcn.0047e960
lea eax, [ebp - 0x6c4]
mov ecx, 0x523550
push eax
call fcn.00479ff0
lea eax, [ebp - 0x6c4]
mov ecx, 0x523560
push eax
call fcn.0047a180
mov byte [ebp - 0x6e9], 1
mov eax, dword [ebp - 0x6d8]
test eax, eax
je 0x479b27
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 0x479baf
lea ecx, [ebp - 0x228]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x479b52
sub ecx, edx
lea eax, [ebp - 0x228]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x6c4]
call fcn.0040a190
push 8
push str.XV.DLL
lea ecx, [ebp - 0x6c4]
call fcn.0040a0d0
lea eax, [ebp - 0x6c4]
mov ecx, 0x523550
push eax
call fcn.00479ff0
lea eax, [ebp - 0x6c4]
mov ecx, 0x523560
push eax
call fcn.0047a180
mov byte [ebp - 0x6e9], 1
mov eax, dword [ebp - 0x6d8]
test eax, eax
je 0x479bca
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x6d8], 0
cmp byte [ebp - 0x6e9], 0
je 0x479c23
lea ecx, [ebp - 0x228]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x479be0
sub ecx, edx
lea eax, [ebp - 0x228]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x6c4]
call fcn.0040a190
push 0x15
push str.UIAUTOMATIONCORE.DLL
lea ecx, [ebp - 0x6c4]
call fcn.0040a0d0
lea eax, [ebp - 0x6c4]
push eax
call fcn.0047a240
mov byte [eax], 1
push 0x503774
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x479e7f
push str.RtlImageDirectoryEntryToData
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x6f8], eax
test eax, eax
je 0x479e7f
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 0x479e67
mov esi, dword [edi]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x6dc], eax
test eax, eax
jne 0x479d1b
lea ecx, [ebp - 0x228]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x479ca0
sub ecx, edx
lea eax, [ebp - 0x228]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x6c4]
call fcn.0040a190
push 0x5c
push 1
lea ecx, [ebp - 0x6c4]
call fcn.0040c260
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x479cd6
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x6c4]
call fcn.0040a0d0
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 0x479e61
mov esi, dword [ebp - 0x6f8]
lea ecx, [ebp - 0x6d4]
push ecx
push 1
push 1
push eax
mov ecx, esi
call dword [0x4e933c]
call esi
mov edx, dword [ebp - 0x6dc]
test eax, eax
je 0x479dae
add eax, 0xc
mov dword [ebp - 0x6e0], eax
cmp dword [eax], 0
je 0x479dae
nop
mov esi, dword [eax + 4]
add esi, edx
mov ecx, dword [esi]
test ecx, ecx
je 0x479d9a
mov eax, dword [edi - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x6fc], eax
cmp ecx, eax
je 0x479ed2
mov eax, dword [edi - 8]
cmp ecx, dword [eax]
je 0x479ed2
mov eax, dword [edi - 4]
cmp ecx, dword [eax]
je 0x479ed2
mov ecx, dword [esi + 4]
add esi, 4
mov eax, dword [ebp - 0x6fc]
test ecx, ecx
jne 0x479d66
mov eax, dword [ebp - 0x6e0]
add eax, 0x14
mov dword [ebp - 0x6e0], eax
cmp dword [eax], 0
jne 0x479d50
mov esi, dword [ebp - 0x6f8]
lea eax, [ebp - 0x6d4]
mov ecx, esi
push eax
push 0xd
push 1
push edx
call dword [0x4e933c]
call esi
test eax, eax
je 0x479e61
cmp dword [eax + 4], 0
je 0x479e61
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 0x479e4c
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.004c2ec2
add esp, 8
test eax, eax
je 0x479f5b
mov ecx, dword [ebp - 0x6dc]
add esi, 4
mov edx, dword [ebp - 0x6fc]
cmp dword [esi], 0
jne 0x479e10
mov eax, dword [ebp - 0x6e0]
mov edx, dword [ebp - 0x700]
add eax, 0x20
cmp dword [edx + 0x14], 0
mov dword [ebp - 0x6e0], eax
jne 0x479de5
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 0x479c70
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x6ac]
test eax, eax
je 0x479e99
push eax
call fcn.004a05f1
add esp, 4
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x6c4]
call fcn.0040a590
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.004a057b
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 0x479e61
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e6
jne 0x479e61
lea eax, [ebp - 0x6d0]
push eax
push 8
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x479e61
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 0x479e61
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 0x479e61
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e6
jne 0x479e61
lea eax, [ebp - 0x6cc]
push eax
push 8
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x479e61
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 0x479e61