joyce8/EMBER2024-capa huggingface dataset:
Function at 0x9d4d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x9d4d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x9d4d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x9d4d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x9d4d94
push eax
push esi
call fcn.009d720b
add esp, 8
pop esi
ret 0x10

Function at 0x9d4da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x9d4e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x9d4e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x9ed320
push ecx
mov dword [esp + 0x1c], 4
call fcn.009d6dff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x9d4dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x9d4e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x9d4ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x9d4eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x9ed320
push ecx
mov dword [esp + 0x1c], 4
call fcn.009d6dff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x9d4eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x9d4e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x9d5000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x9d5131
push esi
call fcn.009d8145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.009c7080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x9d5131
push 0
push ebp
call fcn.009c73a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.009c7260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x9d508b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.009c72f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x9d5121
push 0x9ed918
push edi
call fcn.009d63f0
push eax
push ebx
push esi
call fcn.009d4f60
push 0x9ed8f8
push edi
call fcn.009d63f0
push eax
push ebx
push esi
call fcn.009d4f60
push 0x9ed8d8
push edi
call fcn.009d63f0
push eax
push ebx
push esi
call fcn.009d4f60
push 0x9ed8c0
push edi
call fcn.009d63f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.009d4f60
push 0x9ed8a0
push edi
call fcn.009d63f0
push eax
push ebx
push esi
call fcn.009d4f60
push 0x9ed888
push edi
call fcn.009d63f0
push eax
push ebx
push esi
call fcn.009d4f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x9d61b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.009d6140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.009d6140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.009d6140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.009d6140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x9d6bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x9d6c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x9e887c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x9d6c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x9d6c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x4013dc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4c
cmp dword [0x4406b18], 0x594
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x2c], esi
mov ebx, dword [esi]
mov edi, dword [esi + 4]
mov dword [ebp - 0x10], ebx
jne 0x401412
push 0
lea eax, [ebp - 0x44c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [0x4192f8]
lea ecx, [ebp - 4]
and dword [ebp - 4], 0
mov dword [ebp - 0x20], eax
mov eax, dword [0x4192fc]
mov dword [ebp - 0x18], 0x9e3779b9
mov dword [ebp - 0x28], eax
call fcn.004013d2
mov ecx, dword [0x419300]
mov eax, dword [0x419304]
add dword [ebp - 4], 0x23f
push 0x20
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], eax
pop esi
mov dword [ebp - 0x14], 2
add dword [ebp - 0x14], 3
mov eax, ebx
mov edx, 0xedeb2e40
shl eax, 4
add eax, ecx
cmp dword [0x4406b18], 0xfa9
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [0x4406b14]
cmove eax, edx
xor edx, edx
cmp dword [0x4406b18], 0x3eb
mov dword [0x4406b14], eax
mov eax, dword [0x4402f1c]
cmove eax, edx
add ecx, ebx
mov dword [0x4402f1c], eax
mov eax, dword [ebp - 0x10]
shr eax, 5
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0xc]
xor ebx, ebx
mov eax, dword [ebp - 8]
xor edx, ecx
add eax, dword [ebp - 0x1c]
mov ecx, dword [0x4406b18]
xor eax, edx
mov dword [0x4406b10], 0xf4ea3dee
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp ecx, 0x213
jne 0x401546
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
call dword [sym.imp.KERNEL32.dll_GetOEMCP]
lea eax, [ebp - 0x30]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
push ebx
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
lea eax, [ebp - 0xc4c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push ebx
lea eax, [ebp - 0x44c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
lea eax, [ebp - 0x38]
push eax
push ebx
lea eax, [ebp - 0x4c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateTimerQueueTimer]
mov eax, dword [ebp - 8]
mov ecx, dword [0x4406b18]
sub edi, eax
cmp ecx, 0xc
jne 0x401554
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnWire]
mov eax, edi
shl eax, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x14]
mov eax, edi
mov edx, dword [ebp - 4]
shr eax, cl
add edx, edi
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x10]
xor eax, edx
mov edx, dword [ebp - 0xc]
xor edx, eax
mov dword [ebp - 0xc], edx
call fcn.004013d9
mov eax, dword [ebp - 0x18]
sub dword [ebp - 4], eax
dec esi
je 0x4015a0
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
jmp 0x401450
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], edi
pop edi
mov dword [esi], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40d76d
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4187a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00408e17
mov dword [ebp - 0x14], eax
cmp dword [0x817938], esi
jne 0x40d860
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d7ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d940
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d940
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d940
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x817938], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x81793c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x817940], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x817948], eax
test eax, eax
je 0x40d85d
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x817944], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d885
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d878
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d89a
push 4
pop eax
jmp 0x40d942
cmp dword [ebp - 0x14], esi
je 0x40d89a
push dword [0x817938]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d87f
mov eax, dword [0x817944]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d8f8
cmp dword [0x817948], edi
je 0x40d8f8
push eax
call ebx
push dword [0x817948]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d8f8
test eax, eax
je 0x40d8f8
call ecx
test eax, eax
je 0x40d8ed
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d8ed
test byte [ebp - 8], 1
jne 0x40d8f8
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d928
mov eax, dword [0x81793c]
cmp eax, edi
je 0x40d925
push eax
call ebx
test eax, eax
je 0x40d925
call eax
mov esi, eax
test esi, esi
je 0x40d925
mov eax, dword [0x817940]
cmp eax, edi
je 0x40d925
push eax
call ebx
test eax, eax
je 0x40d925
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x817938]
call ebx
test eax, eax
je 0x40d940
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d942
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004041ee
mov esp, ebp
pop ebp
ret
Function at 0x10026534
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x10026543
pop dword [ebp - 0x20]
mov eax, 0x10026543
sub dword [ebp - 0x20], eax
push 0x40
push 0x1000
push 0x3a8a7
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x20]
call dword [eax]
mov ecx, 0x12660b78
sub ecx, 0x1265c3d3
mov edx, eax
mov esi, 0x127daf07
sub esi, 0x2794307
add esi, dword [ebp - 0x20]
mov ebx, 0x8e509a1c
mov edi, dword [esi]
xor dword [ebp - 4], 0xee064b0
add edi, ebx
sub dword [ebp - 4], edx
mov dword [edx], edi
add dword [ebp - 4], 0x78ea4077
add edx, 4
add esi, 0xab235c56
sub esi, 0xab235c52
loop 0x10026592
add eax, 0x49f1cb71
sub eax, 0x49f0ba0a
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x589c73c6
add ecx, 0xb7638c3a
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x1001a240
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x1001a25e
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x1001a253
pop esi
ret
Function at 0x403e4a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x403e59
pop dword [ebp - 8]
mov eax, 0x5fe8e5b3
sub eax, 0x5fa8a75a
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x6e84a154
sub dword [ebp - 0x18], 0x20325c09
mov dword [ebp - 0x14], 0x73f91c69
add dword [ebp - 0x14], 0xbe3a2fdc
mov dword [ebp - 0x10], 0x13b75a92
sub dword [ebp - 0x10], 0xc76b1664
mov dword [ebp - 0xc], 0x75a37e1a
sub dword [ebp - 0xc], 0x75a37e1a
lea eax, [ebp - 0x18]
push eax
mov eax, 0x1263d8a0
add eax, 0xeddc97c4
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x244dafc1
add dword [ebp - 0x18], 0x5024b995
mov dword [ebp - 0x14], 0x8880d45f
sub dword [ebp - 0x14], 0x471472ea
mov dword [ebp - 0x10], 0x9c2a0e20
add dword [ebp - 0x10], 0xc7455e4c
mov dword [ebp - 0xc], 0xca6bbfac
add dword [ebp - 0xc], 0x35944054
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0xa25b95f
add eax, 0xf61ab749
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x39de1
push 0
call eax
mov ecx, 0x547b
xor edi, edi
add edi, eax
mov edx, 0x410000
add edx, dword [ebp - 8]
mov esi, 0xd3a125fd
mov ebx, dword [edx]
sub dword [ebp - 4], 0xe364431
add ebx, esi
add dword [ebp - 4], 0x77f6909f
mov dword [edi], ebx
xor dword [ebp - 4], ebx
add edi, 4
add edx, 0xc4d12724
sub edx, 0xc4d12720
loop 0x403f6b
add eax, 0x7a26c853
add eax, 0x85da7c6c
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x46b602cd
sub ecx, 0x467602cd
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x10013502
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10022df0]
jne 0x1001350c
repz ret
jmp fcn.10013cd3

Function at 0x10013990
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x1001399f
pop dword [ebp - 0x24]
mov eax, 0x1001399f
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x985559b4
sub dword [ebp - 0x34], 0x4a031469
mov dword [ebp - 0x30], 0x315980c4
sub dword [ebp - 0x30], 0xff26347f
mov dword [ebp - 0x2c], 0x1a8adc47
add dword [ebp - 0x2c], 0x31c167e7
mov dword [ebp - 0x28], 0xae6c102f
sub dword [ebp - 0x28], 0xae6c102f
lea eax, [ebp - 0x34]
push eax
mov eax, 0xd59e6f9b
add eax, 0x3a630189
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0xb09b079a
sub dword [ebp - 0x34], 0x3c289e44
mov dword [ebp - 0x30], 0x1280cc77
sub dword [ebp - 0x30], 0xd1146b02
mov dword [ebp - 0x2c], 0xcd117969
add dword [ebp - 0x2c], 0x965df303
mov dword [ebp - 0x28], 0xb035bbb2
sub dword [ebp - 0x28], 0xb035bbb2
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0x96502c9b
sub eax, 0x864ebb73
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x37e5b
push 0
call eax
mov ecx, 0x2ed0550a
add ecx, 0xd12ff0e1
mov edx, eax
mov ebx, 0x4e3dce19
add ebx, 0xc1c507e7
add ebx, dword [ebp - 0x24]
mov esi, 0xdda85b10
xor dword [ebp - 4], eax
mov edi, dword [ebx]
add dword [ebp - 0x10], ecx
sub edi, esi
add dword [ebp - 4], edi
mov dword [edx], edi
sub dword [ebp - 0x20], 0x4a2fab9e
add edx, 0xf80543a2
sub edx, 0xf805439e
add ebx, 0x9ab9a1f5
sub ebx, 0x9ab9a1f1
loop 0x10013ab6
add eax, 0x1aa6518d
add eax, 0xe55ab8f2
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x401946
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x4f4524]
xor eax, ebp
mov dword [ebp + 0x88], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x7b]
push ebx
push eax
mov edi, ecx
mov byte [ebp - 0x7c], bl
call fcn.00443e40
add esp, 0xc
mov esi, 0x104
push esi
lea eax, [ebp - 0x7c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x7c]
push 0x5c
push eax
call fcn.00443060
pop ecx
pop ecx
cmp eax, ebx
je 0x4019a2
mov byte [eax + 1], bl
lea eax, [ebp - 0x7c]
push eax
lea ecx, [edi + 8]
call fcn.004018cd
lea eax, [ebp - 0x7c]
push eax
push esi
mov byte [ebp - 0x7c], bl
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp eax, ebx
jle 0x4019d0
cmp byte [ebp + eax - 0x7d], 0x5c
je 0x4019d0
mov byte [ebp + eax - 0x7c], 0x5c
mov byte [ebp + eax - 0x7b], bl
lea eax, [ebp - 0x7c]
lea esi, [edi + 0x24]
push eax
mov ecx, esi
call fcn.004018cd
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x80], eax
mov byte [ebp - 0x7d], bl
cmp dword [esi + 0x18], 0x10
jb 0x4019f5
mov eax, dword [esi + 4]
jmp 0x4019f8
lea eax, [esi + 4]
push dword [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push str._sVz_.6x
push eax
call fcn.00443c7f
lea eax, [ebp - 0x7c]
push ebx
push eax
call fcn.00443c67
add esp, 0x18
cmp eax, 0xffffffff
je 0x401a21
inc dword [ebp - 0x80]
jmp 0x4019ea
lea eax, [ebp - 0x7c]
push eax
call fcn.004ba6ca
pop ecx
lea eax, [ebp - 0x7c]
push eax
mov ecx, esi
call fcn.004018cd
push dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
push str.Vz_.6x
push eax
call fcn.00443c7f
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea ecx, [edi + 0x5c]
call fcn.004018cd
mov ecx, dword [ebp + 0x88]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00443ac5
add ebp, 0x8c
leave
ret

Function at 0x401a6e
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4f4524]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
add eax, 0x40
push 0x4cc5d8
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004018ea
mov eax, dword [ebp - 0x1c]
add esp, 0xc
cmp dword [ebp - 8], 0x10
jae 0x401aa1
lea eax, [ebp - 0x1c]
push esi
push eax
push 0
push str.ZipStart
push str.SETUP
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0
push 1
lea ecx, [ebp - 0x20]
mov esi, eax
call fcn.00401336
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00443ac5
leave
ret
Function at 0x402d08
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [0x4f4524]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push 0x4ccc14
push eax
call fcn.0044529d
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x402d37
or eax, 0xffffffff
jmp 0x402d9e
push edi
push esi
xor edi, edi
inc edi
push edi
lea eax, [ebp - 0x6c]
push 0x40
push eax
call fcn.004451bc
push 0
push dword [ebp - 0x30]
push esi
call fcn.00444e7a
push esi
push edi
lea eax, [ebp - 0x164]
push 0xf8
push eax
call fcn.004451bc
movzx eax, word [ebp - 0x15e]
imul eax, eax, 0x28
push edi
sub eax, 0x28
push eax
push esi
call fcn.00444e7a
push esi
push edi
lea eax, [ebp - 0x2c]
push 0x28
push eax
call fcn.004451bc
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
add esp, 0x48
push esi
lea edi, [ecx + eax]
call fcn.00444d74
pop ecx
mov eax, edi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00443ac5
leave
ret

Function at 0x402f86
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34c
mov eax, dword [0x4f4524]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x103
push esi
lea eax, [ebp - 0x20b]
push 0
push eax
mov byte [ebp - 0x20c], 0
call fcn.00443e40
push esi
lea eax, [ebp - 0x107]
push 0
push eax
mov byte [ebp - 0x108], 0
call fcn.00443e40
add esp, 0x18
inc esi
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00445380
push str.VRVHOOK.DLL
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.00445307
add esp, 0x14
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
pop esi
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00443ac5
leave
ret

Function at 0x405214
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x405262
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x405273
push 0xd
pop eax
jmp 0x40529d
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x405276
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8
Function at 0x4059e5
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x4f4524]
xor eax, ebp
mov dword [ebp + 0x98], eax
mov eax, dword [ebp + 0xa4]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.004051d3
mov ebx, eax
cmp ebx, esi
je 0x405a55
lea ecx, [ebp - 0x70]
call fcn.0040515e
mov eax, ebx
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00443ac5
add ebp, 0x9c
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x405a6d
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x70]
call fcn.004059e5
cmp eax, esi
jne 0x405a9f
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call ebx
test eax, eax
je 0x405a5d
lea ecx, [ebp - 0x70]
call fcn.0040515e
push dword [ebp - 0x78]
mov ecx, edi
call fcn.004050f4
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.0040515e
mov eax, esi
jmp 0x405a3b
Function at 0x407d58
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
push esi
xor esi, esi
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp + 0x10]
push eax
push dword [ebp - 4]
mov dword [ebp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.004029e5
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004029e5
mov eax, esi
pop esi
leave
ret