joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4678d6
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0045a262
and dword [ebp - 4], 0
cmp dword [0x4e66f8], 0
mov ebx, eax
jne 0x467987
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x467a38
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x467a38
push eax
call fcn.0045a1f0
mov dword [esp], 0x4bb5b8
push edi
mov dword [0x4e66f8], eax
call esi
push eax
call fcn.0045a1f0
mov dword [esp], 0x4bb5a4
push edi
mov dword [0x4e66fc], eax
call esi
push eax
call fcn.0045a1f0
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4e6700], eax
call esi
push eax
call fcn.0045a1f0
pop ecx
mov dword [0x4e6708], eax
test eax, eax
je 0x467987
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0045a1f0
pop ecx
mov dword [0x4e6704], eax
mov eax, dword [0x4e6704]
cmp eax, ebx
je 0x4679df
cmp dword [0x4e6708], ebx
je 0x4679df
push eax
call fcn.0045a26b
push dword [0x4e6708]
mov esi, eax
call fcn.0045a26b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4679df
test edi, edi
je 0x4679df
call esi
test eax, eax
je 0x4679d6
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4679d6
test byte [ebp - 0xc], 1
jne 0x4679df
or dword [ebp + 0x10], 0x200000
jmp 0x467a18
mov eax, dword [0x4e66fc]
cmp eax, ebx
je 0x467a18
push eax
call fcn.0045a26b
pop ecx
test eax, eax
je 0x467a18
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x467a18
mov eax, dword [0x4e6700]
cmp eax, ebx
je 0x467a18
push eax
call fcn.0045a26b
pop ecx
test eax, eax
je 0x467a18
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4e66f8]
call fcn.0045a26b
pop ecx
test eax, eax
je 0x467a38
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x467a3a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4716a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aed1c
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x4df798]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
cmp dword [ebp + 0xc], 0
jne 0x4716d7
mov eax, dword [0x4e144c]
mov dword [ebp + 0xc], eax
push 0x4beb20
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004524e0
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4716f8
xor eax, eax
jmp 0x471838
push 0x7d0
call fcn.0042c7e8
add esp, 4
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x10], edx
push 0x3e8
push 0
mov eax, dword [ebp - 0x10]
push eax
call fcn.00451f70
add esp, 0xc
mov ecx, 0xfeff
mov edx, dword [ebp - 0x10]
mov word [edx], cx
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov word [ecx + 2], ax
mov byte [ebp - 0x15], 0
jmp 0x471744
mov dl, byte [ebp - 0x15]
add dl, 1
mov byte [ebp - 0x15], dl
movzx esi, byte [ebp - 0x15]
mov ecx, 0x52e1e4
call fcn.004010a0
movzx eax, al
cmp esi, eax
jge 0x4717f6
lea ecx, [ebp - 0x1c]
call fcn.00401780
mov dword [ebp - 4], 0
movzx ecx, byte [ebp - 0x15]
push ecx
mov ecx, 0x52e1e4
call fcn.00403ef0
push eax
mov edx, dword [0x4e1450]
push edx
movzx eax, byte [ebp - 0x15]
add eax, 1
push eax
push 0x4beb28
lea ecx, [ebp - 0x1c]
push ecx
call fcn.004015f0
add esp, 0x14
lea ecx, [ebp - 0x1c]
call fcn.0040b6f0
push eax
mov edx, dword [ebp - 0x10]
push edx
call fcn.00452e76
add esp, 8
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [0x4e1454]
push ecx
push 0x4beb4c
lea edx, [ebp - 0x1c]
push edx
call fcn.004015f0
add esp, 0x10
lea ecx, [ebp - 0x1c]
call fcn.0040b6f0
push eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.00452e76
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00401620
jmp 0x47173b
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.00452400
add esp, 4
push eax
push 2
mov eax, dword [ebp - 0x10]
push eax
call fcn.004530fc
add esp, 0x10
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0045282b
add esp, 4
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.0042c7f3
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x474440
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4bf058]
mov dword [ebp - 4], eax
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x474468
xor eax, eax
jmp 0x4744b1
cmp dword [ebp + 0x10], 0
jne 0x474474
lea ecx, [ebp - 8]
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp + 0x14]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4744a2
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x4744b1
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4744c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4bf058]
mov dword [ebp - 4], eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x4744fe
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x4744fe
xor eax, eax
jmp 0x47453b
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x14]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x47452c
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x47453b
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4745a0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
lea ecx, [ebp - 8]
push ecx
push 0x474260
call dword [sym.imp.USER32.dll_EnumWindows]
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 8]
jne 0x4745df
cmp dword [ebp - 8], 0
je 0x4745df
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, 1
jmp 0x4745e1
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x476970
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x4df798]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x424], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x41c], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x1fe
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00451f70
add esp, 0xc
xor edx, edx
mov word [ebp - 0x410], dx
push 0x1fe
push 0
lea eax, [ebp - 0x40e]
push eax
call fcn.00451f70
add esp, 0xc
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x420], 0
mov dword [ebp - 8], 0
push 0xff
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x476a4b
lea edx, [ebp - 0x210]
push edx
push str._skernel32.dll
lea eax, [ebp - 0x410]
push eax
call fcn.00452ec3
add esp, 0xc
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
jle 0x476a4b
lea ecx, [ebp - 0x410]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x418], eax
cmp dword [ebp - 0x418], 0
jne 0x476a65
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x418], eax
cmp dword [ebp - 0x418], 0
jne 0x476a70
jmp 0x476ae4
push str.IsWow64Process
mov edx, dword [ebp - 0x418]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x476a8d
jmp 0x476ae4
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 8]
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 0
jne 0x476abf
mov ecx, dword [ebp - 0x424]
mov dword [ecx + 0x1988], 0
jmp 0x476ad7
xor edx, edx
cmp dword [ebp - 0x420], 0
setne dl
mov eax, dword [ebp - 0x424]
mov dword [eax + 0x1988], edx
mov ecx, dword [ebp - 0x418]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00451600
mov esp, ebp
pop ebp
ret
Function at 0x47ce20
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aeb22
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4df798]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], 0x28
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
movzx edx, byte [ebp + 8]
imul edx, edx, 0x880
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + edx + 0xc]
push ecx
call fcn.0041dc40
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x47cf1a
lea ecx, [ebp - 0x18]
call fcn.00401780
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
add eax, 0x68
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x68
ja case.0x47ceac.1
mov ecx, dword [ebp - 0x20]
movzx edx, byte [ecx + 0x47cf48]
jmp dword [edx*4 + 0x47cf30]
push str.NVAPI_ERROR_r_n
lea ecx, [ebp - 0x18]
call fcn.0040ac20
jmp case.0x47ceac.1
push str.NVAPI_OK_r_n
lea ecx, [ebp - 0x18]
call fcn.0040ac20
jmp case.0x47ceac.1
push str.NVAPI_NOT_SUPPORTED_r_n
lea ecx, [ebp - 0x18]
call fcn.0040ac20
jmp case.0x47ceac.1
push str.NVAPI_INVALID_ARGUMENT_r_n
lea ecx, [ebp - 0x18]
call fcn.0040ac20
jmp case.0x47ceac.1
push str.NVAPI_API_NOT_INTIALIZED_r_n
lea ecx, [ebp - 0x18]
call fcn.0040ac20
lea ecx, [ebp - 0x18]
call fcn.0040b6f0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00401620
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x487380
Capabilities:
Create directory
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x46c
mov eax, dword [0x4df798]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x468], ecx
mov eax, dword [ebp + 8]
and eax, 0xffff
movzx ecx, ax
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x46c], ecx
cmp dword [ebp - 0x46c], 0x5ef
jl 0x4875b1
cmp dword [ebp - 0x46c], 0x5f0
jle 0x4873e3
jmp 0x4875b1
xor edx, edx
mov word [ebp - 0x210], dx
push 0x1fe
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00451f70
add esp, 0xc
push 0x5309e4
push str._sProfile
lea ecx, [ebp - 0x210]
push ecx
call fcn.00452ec3
add esp, 0xc
push 0
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor eax, eax
mov word [ebp - 0x460], ax
push 0x1fe
push 0
lea ecx, [ebp - 0x45e]
push ecx
call fcn.00451f70
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x460]
push eax
call fcn.00452ea4
add esp, 8
mov dword [ebp - 0x260], 0
push 0x48
push 0
lea ecx, [ebp - 0x25c]
push ecx
call fcn.00451f70
add esp, 0xc
mov dword [ebp - 0x260], 0x4c
mov edx, dword [ebp - 0x468]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x25c], eax
lea ecx, [ebp - 0x460]
mov dword [ebp - 0x244], ecx
xor edx, edx
mov eax, dword [ebp - 0x244]
mov word [eax], dx
mov dword [ebp - 0x240], pe_nt_image_headers32
mov dword [ebp - 0x254], str.INI_file_.ini_
mov dword [ebp - 0x248], 1
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x22c], 0x1800
cmp dword [ebp - 8], 0x5ef
jne 0x487507
mov dword [ebp - 0x224], 0x4c7fb8
mov dword [ebp - 0xc], 0
cmp dword [ebp - 8], 0x5ef
jne 0x487529
lea edx, [ebp - 0x260]
push edx
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
mov dword [ebp - 0xc], eax
jmp 0x487539
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
mov dword [ebp - 0xc], eax
push 0x5309e4
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp dword [ebp - 0xc], 0
jne 0x48754c
jmp 0x4875b1
cmp dword [ebp - 8], 0x5ef
jne 0x487568
lea ecx, [ebp - 0x460]
push ecx
mov ecx, 0x52e140
call fcn.004a2940
jmp 0x4875a4
lea edx, [ebp - 0x460]
push edx
mov ecx, 0x52e140
call fcn.004a1bf0
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00406c90
mov dword [ebp - 0x464], eax
cmp dword [ebp - 0x464], 0
jne 0x487597
jmp 0x4875b1
push 0
mov ecx, dword [ebp - 0x464]
call fcn.0049d970
push 0
mov ecx, dword [ebp - 0x468]
call fcn.0042c909
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x468]
call fcn.00431bd5
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00451600
mov esp, ebp
pop ebp
ret 8
Function at 0x487c10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aef8d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4df798]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x100], 0
jne 0x487c49
jmp 0x487d56
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 2
je 0x487c60
cmp dword [ebp - 0x20], 0x800c0005
je 0x487c60
jmp 0x487c62
jmp 0x487c67
jmp 0x487d56
mov dword [ebp - 0x10], 0
push 0x4c7fe4
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfc
call fcn.0040b6f0
push eax
call fcn.004524e0
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x487cfd
mov edx, 0xfeff
mov word [ebp - 0x18], dx
mov eax, dword [ebp - 0x10]
push eax
push 1
push 2
lea ecx, [ebp - 0x18]
push ecx
call fcn.004530fc
add esp, 0x10
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x100]
push ecx
mov ecx, 0x53550c
call fcn.00481790
push eax
call fcn.00452400
add esp, 4
push eax
push 2
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x100]
push eax
mov ecx, 0x53550c
call fcn.00481790
push eax
call fcn.004530fc
add esp, 0x10
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0045282b
add esp, 4
lea ecx, [ebp - 0x14]
call fcn.00401780
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0xfc]
push eax
push 0x5309e4
push str._s_s
lea ecx, [ebp - 0x14]
push ecx
call fcn.004015f0
add esp, 0x10
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x14]
call fcn.0040b6f0
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.0043e50e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401620
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x48b110
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ae343
mov eax, dword fs:[0]
push eax
mov eax, 0x15c4
call fcn.00458200
mov eax, dword [0x4df798]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x15d0], ecx
lea ecx, [ebp - 0x15b4]
call fcn.0043c91e
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x15a4], ax
push 0x1fe
push 0
lea ecx, [ebp - 0x15a2]
push ecx
call fcn.00451f70
add esp, 0xc
push 0x5309e4
push str._sPCInfo.xml
lea edx, [ebp - 0x15a4]
push edx
call fcn.00452ec3
add esp, 0xc
push 0
push 0x8000
lea eax, [ebp - 0x15a4]
push eax
lea ecx, [ebp - 0x15b4]
call fcn.0043cd96
lea ecx, [ebp - 0x15b4]
call fcn.0043c809
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0042c7e8
add esp, 4
mov dword [ebp - 0x15c8], eax
mov edx, dword [ebp - 0x15c8]
mov dword [ebp - 0x15b8], edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x15b8]
push ecx
lea ecx, [ebp - 0x15b4]
call fcn.0043c612
mov byte [ebp - 0x15ba], 0x11
mov edx, dword [ebp - 0x10]
add edx, 0xb
mov dword [ebp - 0x15c0], edx
mov eax, 0xa
mov word [ebp - 0x15bc], ax
mov byte [ebp - 0x139c], 0
push 0x1387
push 0
lea ecx, [ebp - 0x139b]
push ecx
call fcn.00451f70
add esp, 0xc
push 7
lea edx, [ebp - 0x15c0]
push edx
lea eax, [ebp - 0x139c]
push eax
call fcn.00451a10
add esp, 0xc
mov dword [ebp - 0x13a0], 7
push 4
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x13a0]
lea eax, [ebp + edx - 0x139c]
push eax
call fcn.00451a10
add esp, 0xc
mov ecx, dword [ebp - 0x13a0]
add ecx, 4
mov dword [ebp - 0x13a0], ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x15b8]
push eax
mov ecx, dword [ebp - 0x13a0]
lea edx, [ebp + ecx - 0x139c]
push edx
call fcn.00451a10
add esp, 0xc
mov dword [ebp - 0x15c4], 1
jmp 0x48b2af
mov eax, dword [ebp - 0x15c4]
add eax, 1
mov dword [ebp - 0x15c4], eax
cmp dword [ebp - 0x15c4], 3
jge 0x48b2de
push 0
mov ecx, dword [ebp - 0x15c0]
push ecx
lea edx, [ebp - 0x139c]
push edx
mov eax, dword [ebp - 0x15c4]
mov ecx, dword [eax*4 + 0x4ec0b4]
push ecx
call dword [sym.imp.WSOCK32.dll_send]
jmp 0x48b2a0
lea ecx, [ebp - 0x15b4]
call fcn.0043c8b8
mov edx, dword [ebp - 0x15b8]
mov dword [ebp - 0x15cc], edx
mov eax, dword [ebp - 0x15cc]
push eax
call fcn.0042c7f3
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x15b4]
call fcn.0043ca26
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00451600
mov esp, ebp
pop ebp
ret
Function at 0x48f760
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x4df798]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x40c], ecx
xor eax, eax
mov word [ebp - 0x208], ax
push 0x1fe
push 0
lea ecx, [ebp - 0x206]
push ecx
call fcn.00451f70
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 0x5309e4
push 0x4ca2d8
lea eax, [ebp - 0x208]
push eax
call fcn.00452ec3
add esp, 0x10
push 0
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor edx, edx
mov word [ebp - 0x408], dx
push 0x1fe
push 0
lea eax, [ebp - 0x406]
push eax
call fcn.00451f70
add esp, 0xc
lea ecx, [ebp - 0x208]
push ecx
lea edx, [ebp - 0x408]
push edx
call fcn.00452ea4
add esp, 8
lea eax, [ebp - 0x408]
push eax
mov ecx, 0x52e140
call fcn.004a2940
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00451600
mov esp, ebp
pop ebp
ret 4
Function at 0x49de50
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x4df798]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x40c], ecx
xor eax, eax
mov word [ebp - 0x208], ax
push 0x1fe
push 0
lea ecx, [ebp - 0x206]
push ecx
call fcn.00451f70
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 0x5309e4
push str._sProfile_d.ini
lea eax, [ebp - 0x208]
push eax
call fcn.00452ec3
add esp, 0x10
push 0
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor edx, edx
mov word [ebp - 0x408], dx
push 0x1fe
push 0
lea eax, [ebp - 0x406]
push eax
call fcn.00451f70
add esp, 0xc
lea ecx, [ebp - 0x208]
push ecx
lea edx, [ebp - 0x408]
push edx
call fcn.00452ea4
add esp, 8
lea eax, [ebp - 0x408]
push eax
mov ecx, 0x52e140
call fcn.004a1bf0
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00406c90
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x49df14
xor eax, eax
jmp 0x49df23
push 1
mov ecx, dword [ebp - 4]
call fcn.0049d970
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00451600
mov esp, ebp
pop ebp
ret 4
Function at 0x4a0b80
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4df798]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x20c], 0
jmp 0x4a0bb4
mov eax, dword [ebp - 0x20c]
add eax, 1
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 4
jae 0x4a0bd3
mov ecx, dword [ebp - 0x20c]
mov edx, dword [ebp + 8]
cmp edx, dword [ecx*8 + 0x53551c]
jne 0x4a0bd1
jmp 0x4a0bd3
jmp 0x4a0ba5
cmp dword [ebp - 0x20c], 4
jb 0x4a0be1
jmp 0x4a0cc4
xor eax, eax
mov word [ebp - 0x208], ax
push 0x1fe
push 0
lea ecx, [ebp - 0x206]
push ecx
call fcn.00451f70
add esp, 0xc
push 0x80
lea edx, [ebp - 0x208]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x4cb0b0
lea eax, [ebp - 0x208]
push eax
call fcn.00452e76
add esp, 8
mov ecx, dword [ebp - 0x20c]
mov edx, dword [ecx*8 + 0x535518]
push edx
lea eax, [ebp - 0x208]
push eax
call fcn.00452e76
add esp, 8
lea ecx, [ebp - 0x208]
push ecx
call fcn.00452400
add esp, 4
shl eax, 1
mov dword [ebp - 0x210], eax
lea edx, [ebp - 0x214]
push edx
mov eax, dword [0x4cb0b4]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x4a0c91
lea ecx, [ebp - 0x214]
push ecx
mov edx, dword [0x4cb0b4]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov eax, dword [ebp - 0x210]
push eax
lea ecx, [ebp - 0x208]
push ecx
push 1
push 0
mov edx, dword [str.XtremeTuner_Plus]
push edx
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x214]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00451600
mov esp, ebp
pop ebp
ret 4

Function at 0x4a0ce0
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [0x4cb0b4]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4a0d25
mov edx, dword [str.XtremeTuner_Plus]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret