joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411340
Capabilities:
Persist via app paths registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ecx, dword [0x430a28]
push edi
push 0x425bfc
push dword [esi + 8]
call fcn.0040b720
push dword [esi + 4]
mov ecx, dword [0x430a28]
call fcn.0040b6e0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00414430
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
push 0
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x218], 0
push eax
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0
call dword [sym.imp.SHLWAPI.dll_StrRChrIW]
push 0
push 0
push 0x2001f
push 0
push 0
push 0x425484
push 0x80000002
lea ecx, [ebp - 0x218]
mov esi, eax
call fcn.00407b90
mov ebx, dword [ebp - 0x218]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add esi, 2
je 0x411438
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411414
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push str.InstallName
push ebx
call edi
mov ecx, dword [0x430a24]
call fcn.004124d0
mov edx, eax
test edx, edx
je 0x411474
mov ecx, edx
lea esi, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411450
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.InstallPath
push ebx
call edi
push 0x10
push str.2.0.0.0
push 1
push 0
push str.DisplayVersion
push ebx
call edi
push 0x104
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00414430
mov ecx, dword [0x430a24]
add esp, 0xc
call fcn.004124d0
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x4253f0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0
push 0
push 0x2001f
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsEXE_NAME
push 0x80000002
lea ecx, [ebp - 0x218]
call fcn.00407b90
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4114f3
mov esi, dword [ebp - 0x218]
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push 0
push 0x4253d0
push esi
call edi
test esi, esi
je 0x41152e
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00413a55
mov esp, ebp
pop ebp
ret
Function at 0x4118e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
push 0
push ecx
push 0x411db0
push 0
push 0
call fcn.00414dfb
mov esi, eax
add esp, 0x18
test esi, esi
je 0x411934
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x411934
cmp dword [ebp - 4], 0
jne 0x411934
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x411940
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x430a24]
push esi
mov esi, dword [0x430a28]
push 1
push 0
push 0
call fcn.004124d0
mov ecx, dword [0x430a28]
push eax
push esi
call fcn.0040a420
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.00414430
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00414430
push 0x104
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00414430
add esp, 0x24
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.tu8II_
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x104
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00414430
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x414]
push str.zxppluginSkins_
push eax
call esi
push 0
lea eax, [ebp - 0x414]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x104
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00414430
mov ecx, dword [0x430a24]
add esp, 0xc
call fcn.004124d0
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.pluginSkins_
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x414]
push eax
mov ecx, dword [0x430a28]
lea eax, [ebp - 0x20c]
push eax
call fcn.0040a150
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00413a55
mov esp, ebp
pop ebp
ret
Function at 0x411aa0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x430a24]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x4253d0
push dword [eax + 4]
call edi
mov ecx, dword [0x430a24]
push 0
call fcn.00412700
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.00414430
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push eax
call fcn.00414430
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00414430
mov ecx, dword [0x430a24]
add esp, 0x24
call fcn.004124d0
push eax
lea eax, [ebp - 0x414]
push eax
call edi
mov ecx, dword [0x430a24]
call fcn.004125c0
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push eax
lea eax, [ebp - 0x414]
push eax
call esi
mov ecx, dword [0x430a24]
call fcn.004126a0
push eax
lea eax, [ebp - 0x20c]
push eax
call edi
mov ecx, dword [0x430a28]
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x4253d0
push 0x4253d0
lea eax, [ebp - 0x414]
push eax
call fcn.0040aaa0
mov ecx, dword [0x430a24]
call fcn.004124d0
push eax
lea eax, [ebp - 0x61c]
push eax
call edi
push str.Uninstall.exe
lea eax, [ebp - 0x61c]
push eax
call esi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00414430
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x425b6c
push eax
call edi
mov ecx, dword [0x430a24]
call fcn.004126a0
push eax
lea eax, [ebp - 0x20c]
push eax
call esi
mov ecx, dword [0x430a28]
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x4253d0
push 0
lea eax, [ebp - 0x61c]
push eax
call fcn.0040aaa0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00413a55
mov esp, ebp
pop ebp
ret
Function at 0x411c30
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00414430
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x23
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x20c]
push 0x42b930
push eax
call esi
push str.tu8_Data_
lea eax, [ebp - 0x20c]
push eax
call esi
mov ecx, dword [0x430a24]
push 0
push 0
call fcn.004124d0
mov ecx, dword [0x430a28]
push eax
call fcn.0040ac60
mov ecx, dword [0x430a24]
push 0
push 0
call fcn.00412700
mov ecx, dword [0x430a28]
push eax
call fcn.0040ac60
mov ecx, dword [0x430a28]
call fcn.0040af20
mov ecx, dword [0x430a28]
lea eax, [ebp - 0x20c]
push 0
push 0
push eax
call fcn.0040ac60
push 0x2001f
push str.SOFTWARE_
push 0x80000002
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0
call fcn.00407ca0
test eax, eax
jne 0x411d54
push 0x425d6c
lea ecx, [ebp - 0x218]
call fcn.0040e940
mov esi, dword [ebp - 0x218]
test esi, esi
je 0x411d5a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
jmp 0x411d5a
mov esi, dword [ebp - 0x218]
mov eax, dword [0x430a24]
push 0x4253d0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [0x430a24]
push 0
call fcn.004124d0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [0x430a28]
lea eax, [ebp - 0x20c]
push eax
call fcn.0040a950
test esi, esi
je 0x411d9d
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00413a55
mov esp, ebp
pop ebp
ret
Function at 0x4120d0
Capabilities:
Persist via app paths registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00414430
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
push 0
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x218], 0
push eax
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0
call dword [sym.imp.SHLWAPI.dll_StrRChrIW]
push 0
push 0
push 0x2001f
push 0
push 0
push 0x425484
push 0x80000002
lea ecx, [ebp - 0x218]
mov esi, eax
call fcn.00407b90
mov ebx, dword [ebp - 0x218]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add esi, 2
je 0x4121a5
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412181
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push str.InstallName
push ebx
call edi
mov ecx, dword [0x430a24]
call fcn.004124d0
mov edx, eax
test edx, edx
je 0x4121e4
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x4121c0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4121c0
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.InstallPath
push ebx
call edi
mov ecx, dword [0x430a24]
call fcn.00412700
mov edx, eax
test edx, edx
je 0x412224
mov ecx, edx
lea esi, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412200
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.StartMenuPath
push ebx
call edi
push 0x10
push str.2.0.0.0
push 1
push 0
push str.DisplayVersion
push ebx
call edi
push 0x104
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00414430
mov ecx, dword [0x430a24]
add esp, 0xc
call fcn.004124d0
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x4253f0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0
push 0
push 0x2001f
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsEXE_NAME
push 0x80000002
lea ecx, [ebp - 0x218]
call fcn.00407b90
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4122a3
mov esi, dword [ebp - 0x218]
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push 0
push 0x4253d0
push esi
call edi
test esi, esi
je 0x4122de
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00413a55
mov esp, ebp
pop ebp
ret
Function at 0x4124d0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
push edi
mov ecx, dword [esi]
mov edx, ecx
lea edi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4124e1
sub edx, edi
sar edx, 1
je 0x4124fa
pop edi
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x2001f
push 0x425484
push 0x80000002
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call fcn.00407ca0
test eax, eax
jne 0x41255a
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x104
push eax
push dword [esi]
lea ecx, [ebp - 0x10]
push str.InstallPath
call fcn.0040b430
test eax, eax
jne 0x41255a
mov eax, dword [esi]
cmp word [eax], 0
je 0x41255a
lea ecx, [ebp - 0x10]
call fcn.00407b60
jmp 0x4125a7
push 0
push 0x26
push dword [esi]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x42b930
push dword [esi]
call edi
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x412597
push 0x425bf4
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [esi + 0x14]
push dword [esi]
call edi
push 0x42b930
push dword [esi]
call edi
mov ecx, dword [ebp - 0x10]
mov esi, dword [esi]
test ecx, ecx
je 0x4125b7
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x412700
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push dword [esi + 4]
call edi
test eax, eax
jle 0x412722
mov eax, dword [esi + 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x2001f
push 0x425484
push 0x80000002
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call fcn.00407ca0
test eax, eax
jne 0x412784
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x104
push eax
push dword [esi + 4]
lea ecx, [ebp - 0x10]
push str.StartMenuPath
call fcn.0040b430
test eax, eax
jne 0x412784
mov eax, dword [esi + 4]
cmp word [eax], 0
je 0x412784
lea ecx, [ebp - 0x10]
call fcn.00407b60
jmp 0x4127db
push dword [esi + 4]
call edi
test eax, eax
jne 0x4127db
push ebx
push eax
push 2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x42b930
push dword [esi + 4]
call ebx
push dword [esi + 0x10]
call edi
test eax, eax
jne 0x4127c8
push 0x425d6c
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [esi + 0x10]
push dword [esi + 4]
call ebx
push 0x42b930
push dword [esi + 4]
call ebx
pop ebx
mov ecx, dword [ebp - 0x10]
mov esi, dword [esi + 4]
test ecx, ecx
je 0x4127ec
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x412b60
Capabilities:
Hide graphical window

Disassembly:
push edi
mov edi, ecx
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x430a14]
cmp dword [eax + 4], 0
jne 0x412b9a
push 0xcc
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [0x430a14]
push 0
push eax
call fcn.00412910
mov eax, dword [0x430a14]
push 1
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop edi
ret 0x10

Function at 0x4134a0
Capabilities:
Hide graphical window

Disassembly:
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x430a14]
push 1
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
ret 0x10

Function at 0x4134c0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0
mov edi, ecx
push 0
push 0xf0
push dword [edi + 0x2c]
call esi
mov ecx, dword [0x430a24]
push 0
push 0
push 0xf0
mov dword [ecx + 0x20], eax
push dword [edi + 0x30]
call esi
mov ecx, dword [0x430a24]
push 0
push 0
push 0xf0
mov dword [ecx + 0x18], eax
push dword [edi + 0x34]
call esi
mov ecx, dword [0x430a24]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov dword [ecx + 0x1c], eax
push dword [edi + 4]
call esi
mov eax, dword [0x430a1c]
cmp dword [eax + 4], 0
jne 0x413548
push 0xce
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [0x430a1c]
push 0
push eax
call fcn.004133d0
mov eax, dword [0x430a1c]
push 1
push dword [eax + 4]
call esi
pop edi
xor eax, eax
pop esi
ret 0x10
Function at 0x41dd64
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
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.00418b83
mov dword [ebp - 0x14], eax
cmp dword [0x431960], esi
jne 0x41de57
push 0x800
push esi
push 0x427a18
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x41dde4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x41df37
push esi
push esi
push 0x427a18
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x41df37
push 0x427a30
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41df37
push eax
call ebx
push 0x427a3c
push edi
mov dword [0x431960], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x431964], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x431968], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x431970], eax
test eax, eax
je 0x41de54
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43196c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x41de7c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41de6f
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x41de91
push 4
pop eax
jmp 0x41df39
cmp dword [ebp - 0x14], esi
je 0x41de91
push dword [0x431960]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41de76
mov eax, dword [0x43196c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x41deef
cmp dword [0x431970], edi
je 0x41deef
push eax
call ebx
push dword [0x431970]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x41deef
test eax, eax
je 0x41deef
call ecx
test eax, eax
je 0x41dee4
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 0x41dee4
test byte [ebp - 8], 1
jne 0x41deef
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x41df1f
mov eax, dword [0x431964]
cmp eax, edi
je 0x41df1c
push eax
call ebx
test eax, eax
je 0x41df1c
call eax
mov esi, eax
test esi, esi
je 0x41df1c
mov eax, dword [0x431968]
cmp eax, edi
je 0x41df1c
push eax
call ebx
test eax, eax
je 0x41df1c
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x431960]
call ebx
test eax, eax
je 0x41df37
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x41df39
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00413a55
mov esp, ebp
pop ebp
ret
Function at 0x402f50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x44f020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402fe8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402fc8
xor eax, eax
push ebp
push 0x402fc1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403004
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402fc8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x44f020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x44f020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403c94
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x451044], 0
je 0x403cf5
cmp word [0x451218], 0xd7b2
jne 0x403cbd
cmp dword [0x451220], 0
jbe 0x403cbd
mov eax, 0x451214
call dword [0x451230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x44f06c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403d1c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x44f030], 0
jne 0x403d11
push 0
push 0x44f064
push 0x44f06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405968
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4059ce
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404080
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b14
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4059b8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4059d5
lea eax, [ebp - 0x10]
call fcn.00403e10
ret

Function at 0x40a8e4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40a91d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403f00
jmp 0x40a926
mov eax, ebx
mov edx, esi
call fcn.00403e64
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40a930
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40a951
mov al, byte [esp]
jmp 0x40a953
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40afd8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40ae50
mov eax, dword [0x450014]
cmp byte [eax], 0
je 0x40b054
mov eax, dword [0x44fe40]
call fcn.00402980
call fcn.00402824
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408158
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40b09c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b08a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x44fdf0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x451660]
call fcn.00404e7c
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret