joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464254
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.00408dac
add esp, 0x3ec
pop ebx
ret

Function at 0x464414
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov esi, edx
mov ebp, eax
mov edx, esi
mov eax, dword [ebp + 0x3c]
call dword [ebp + 0x38]
cmp dword [esi + 0xc], 0
jne 0x4644da
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.00455c00
mov ebx, eax
mov dx, word [esi + 4]
mov eax, ebp
call fcn.004640d0
mov edi, eax
test edi, edi
je 0x464473
mov al, byte [0x4644e8]
cmp al, bl
jne 0x464473
mov edx, edi
mov eax, ebp
call fcn.00464008
mov dword [esi + 0xc], 1
mov byte [ebp + 0x31], 1
jmp 0x4644da
cmp byte [ebp + 0x161], 2
jne 0x46449e
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x4905fc]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov edx, 0xb006
call fcn.00440184
test eax, eax
jne 0x4644da
jmp 0x4644d5
mov edx, dword [0x490510]
mov edx, dword [edx]
mov edx, dword [edx + 0x44]
mov eax, dword [ebp + 0x128]
cmp edx, eax
je 0x4644d5
test byte [eax + 0x2f4], 8
jne 0x4644d5
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x490510]
mov eax, edx
mov edx, 0xb006
call fcn.00440184
xor eax, eax
mov dword [esi + 0xc], eax
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x46a50c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x80]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x84]
cdq
cmp edx, dword [esp + 4]
jne 0x46a540
cmp eax, dword [esp]
pop edx
pop eax
jae 0x46a57c
jmp 0x46a544
pop edx
pop eax
jge 0x46a57c
mov eax, dword [0x4905fc]
mov eax, dword [eax]
mov dword [eax + 0x44], 2
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004652bc
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x46a5a1
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x46a5a1
cmp dword [ebx + 0x11c], 0
je 0x46a5a1
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.0042de6c
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x12c]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4731e4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x47329e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004045fc
mov eax, dword [0x4902dc]
cmp byte [eax], 0
je 0x473253
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.004049fc
mov eax, dword [ebx]
call fcn.00404798
push eax
mov eax, dword [ebx]
call fcn.00404788
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404798
mov edx, eax
dec edx
mov eax, ebx
call fcn.004049fc
jmp 0x473285
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00408dac
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404778
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4732a5
lea eax, [ebp - 0x3f0]
call fcn.00403ef0
ret

Function at 0x4763d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x47642a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [esi + 0x2c8], ecx
mov dword [esi + 0x2cc], edx
mov eax, dword [edx + 0x4c]
mov dword [esi + 0x2bc], eax
mov eax, dword [eax + 0x44]
mov dword [esi + 0xc], eax
mov edx, dword [esi + 0x2c8]
mov eax, esi
call fcn.00476434
mov eax, dword [esi + 0x2c8]
mov edx, dword [eax + 0x30]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476431
ret

Function at 0x47bd28
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov edi, edx
mov ebx, eax
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_IsWindow
test eax, eax
jne 0x47bd5e
jmp 0x47be04
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_GetWindowLongA
mov esi, eax
mov eax, esp
push eax
push 0
push 0x419
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
test esi, 2
jbe 0x47bda2
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x168], 0
je 0x47bda2
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x168]
mov eax, dword [eax + 0x14]
jmp 0x47bdb2
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0x164]
test edx, edx
je 0x47bdb2
mov eax, dword [edx + 0x14]
test eax, eax
je 0x47bdcb
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.004786bc
jmp 0x47be04
mov dl, 1
mov eax, dword [0x41f698]
call fcn.004215dc
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.0042204c
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0xbc]
mov eax, dword [esi + 0x10]
call fcn.0042118c
mov edx, esp
mov eax, esi
call fcn.00421ce0
mov eax, esi
call fcn.00403180
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x47e3d0
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.004457b8
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x279], 0
xor edx, edx
mov eax, ebx
call fcn.0043eef0
pop ebx
ret
Function at 0x4886c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x488831
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x9c], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x488816
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.00408dac
mov dl, 1
mov eax, dword [0x461e34]
call fcn.00461e8c
mov edx, dword [ebp - 4]
mov dword [edx + 0x94], eax
mov dl, 1
mov eax, dword [0x41600c]
call fcn.00403150
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x98]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.00461f08
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x488813
mov dl, 1
mov eax, dword [0x460814]
call fcn.0046087c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
mov edx, 0x488848
call fcn.004623b8
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004041fc
xor eax, eax
push ebp
push 0x48880c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00460b7c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00488850
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488813
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.00403180
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00403180
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00403180
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488838
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00403f14
ret
Function at 0x489fd4
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
push edi
mov edi, edx
mov ebx, eax
mov eax, edi
call fcn.00403ef0
mov eax, dword [ebp + 8]
cmp byte [eax - 1], 0
je 0x48a059
test bl, bl
je 0x48a014
push 0
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 8]
push eax
call sub.user32.dll_MapVirtualKeyA
mov esi, eax
shl esi, 0x10
or esi, 0x1000000
jmp 0x48a028
push 0
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 8]
push eax
call sub.user32.dll_MapVirtualKeyA
mov esi, eax
shl esi, 0x10
test esi, esi
je 0x48a103
push pe_nt_image_headers32
lea eax, [ebp - 0x104]
push eax
push esi
call sub.user32.dll_GetKeyNameTextA
mov eax, edi
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00404160
jmp 0x48a103
test bl, bl
je 0x48a07f
mov eax, dword [0x491ce8]
push eax
push 0
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 8]
push eax
call sub.user32.dll_MapVirtualKeyExA
mov esi, eax
shl esi, 0x10
or esi, 0x1000000
jmp 0x48a099
mov eax, dword [0x491ce8]
push eax
push 0
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 8]
push eax
call sub.user32.dll_MapVirtualKeyExA
mov esi, eax
shl esi, 0x10
test esi, esi
je 0x48a103
push 0
call sub.user32.dll_GetKeyboardLayout
mov ebx, eax
cmp ebx, dword [0x491ce8]
je 0x48a0bb
push 0
mov eax, dword [0x491ce8]
push eax
call sub.user32.dll_ActivateKeyboardLayout
push pe_nt_image_headers32
lea eax, [ebp - 0x104]
push eax
push esi
call sub.user32.dll_GetKeyNameTextA
mov eax, edi
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00404160
cmp ebx, dword [0x491ce8]
je 0x48a103
cmp byte [0x491cec], 0
je 0x48a0fb
mov eax, dword [0x491ce8]
push eax
call sub.user32.dll_UnloadKeyboardLayout
push 0
push ebx
call sub.user32.dll_ActivateKeyboardLayout
mov eax, dword [edi]
call fcn.004041b0
dec eax
jg 0x48a136
lea ecx, [ebp - 4]
lea edx, [ebp - 2]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.00489ab8
mov ax, word [ebp - 4]
call fcn.00489aec
test al, al
je 0x48a136
mov edx, edi
mov ax, word [ebp - 4]
call fcn.00489b00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48bcc8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebp, ecx
mov ebx, edx
mov dword [esp], eax
mov eax, ebp
mov edx, dword [esp]
call fcn.00403f44
mov esi, ebx
mov eax, dword [ebp]
call fcn.004041b0
test ax, ax
jbe 0x48bd33
mov word [esp + 4], ax
mov bx, 1
mov eax, ebp
call fcn.00404408
movzx edi, bx
mov edx, dword [ebp]
mov dl, byte [edx + edi - 1]
movzx ecx, si
shr ecx, 8
xor dl, cl
mov byte [eax + edi - 1], dl
mov eax, dword [esp]
movzx eax, byte [eax + edi - 1]
add si, ax
imul ax, si, 0xce6d
add ax, 0x58bf
mov esi, eax
inc ebx
dec word [esp + 4]
jne 0x48bcf8
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x48c254
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, eax
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
jmp 0x48c27d
mov eax, dword [0x490510]
mov eax, dword [eax]
call fcn.0045e85c
push 1
call sub.kernel32.dll_Sleep_1
cmp dword [0x491eb8], 0
je 0x48c288
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp esi, eax
ja 0x48c261
pop esi
pop ebx
ret
Function at 0x10040fb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push 0x10013b0
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1004153
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 8]
push esi
push esi
push 0x10013ec
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1004146
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x1004155
xor eax, eax
pop esi
leave
ret 4

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ed0
nop
mov ecx, 0x78f237f6
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x52d30f6
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x4032fc
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x503008], 0x8088405
inc edx
mov dword [ebx + 0x503008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x40c168
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x40c211
test eax, edx
je 0x40c214
push 0
push 0
cmp word [eax - 0xa], 2
je 0x40c191
push edx
mov edx, eax
mov eax, esp
call fcn.0040665c
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x40c1a7
push eax
lea eax, [esp + 8]
call fcn.0040665c
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x40c1b6
movzx eax, word [eax]
sub eax, ecx
jmp 0x40c1dd
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x40c1f7
add ecx, 4
js 0x40c1ce
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x40c1f4
push eax
mov eax, ecx
mov edx, 2
call fcn.004052a0
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x40c1db
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x40c1dd
xor eax, eax
ret
test eax, eax
je 0x40c224
test edx, edx
jne 0x40c178
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x41345b
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.0040565c
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call fcn.0040977c
mov edi, eax
cmp edi, 0x104
jbe 0x41347e
mov eax, edi
add eax, eax
call fcn.00403018
mov esi, eax
jmp 0x413480
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call fcn.0040977c
push edi
push esi
call fcn.00409b84
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x4134b9
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x4134a3
mov eax, esp
cmp esi, eax
je 0x4134c6
mov eax, esi
call fcn.00403034
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x413500
cmp bl, 0
je 0x4134fc
cmp bl, 0x41
jl 0x4134f7
cmp bl, 0x5a
jg 0x4134f7
or bl, 0x20
xor al, bl
inc esi
jmp 0x4134db
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x413440

Function at 0x42fbbc
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x42fbc2
ret
Function at 0x481b94
Capabilities:
Hash data using sha1

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
xor edx, edx
mov dword [eax + 0x14], edx
xor edx, edx
mov dword [eax + 0x18], edx
ret
Function at 0x4ab76c
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x50c43c
mov eax, esi
mov edx, 8
test al, 1
je 0x4ab788
shr eax, 1
xor eax, 0xedb88320
jmp 0x4ab78a
shr eax, 1
dec edx
jne 0x4ab77b
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4ab774
pop esi
ret

Function at 0x4ab7b7
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x50c438], 0
jne 0x4ab7c3
call fcn.004ab76c
push 1
push 0x50c438
call fcn.00409530
mov eax, edi
test esi, esi
je 0x4ab7ee
mov edx, ebx
and edx, 0xff
movzx ecx, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x50c43c]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x4ab7c9
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x4ac358
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
ret
Function at 0x401100
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [esp + 0x10]
mov eax, 4
mov dword [esp + 4], eax
mov dword [esp], eax
lea eax, [esp]
push eax
lea eax, [esp + 8]
push edx
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [ecx]
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
neg eax
sbb eax, eax
inc eax
add esp, 8
ret 8

Function at 0x401480
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x41421b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x81c
push ebx
push esi
mov esi, ecx
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push 0x423b84
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [esp + 0x21c]
call fcn.0040ccd0
xor ebx, ebx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], bx
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x14]
mov dword [esp + 0x834], ebx
push eax
mov dword [esp + 0x14], ebx
call fcn.0040d150
mov edi, dword [sym.imp.MSVCRT.dll_wcscat]
lea ecx, [esp + 0x18]
push str.SDSMan.exe
push ecx
call edi
lea edx, [esp + 0x20]
push ebx
push edx
call dword [sym.imp.MSVCRT.dll__waccess]
add esp, 0x18
test eax, eax
jne 0x401580
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
call fcn.0040cfd0
add esp, 8
cmp eax, 1
jne 0x401562
mov eax, dword [esp + 0xc]
cmp eax, 1
ja 0x401562
push eax
push str.GetFileSDSManVersion:___d_
push 0x41a040
call fcn.0040c930
add esp, 0xc
mov dword [esi + 0x620], ebx
push str.CExecuteEnvironMent::CheckDSIntallState:_DSV2.0_Less_than_Insatlled
push 0x41a040
call fcn.0040c930
add esp, 8
jmp 0x4015ff
push str.CExecuteEnvironMent::CheckDSIntallState:_DSV2.0_More_than_Installed
push 0x41a040
mov dword [esi + 0x620], 2
call fcn.0040c930
add esp, 8
jmp 0x4015ff
lea edx, [esp + 0x10]
push 0x104
push edx
call fcn.0040d130
lea eax, [esp + 0x18]
push str.SoftCampDSSOMDSSOMMan.exe
push eax
call edi
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4015cb
push str.CExecuteEnvironMent::CheckDSIntallState:_SOM_OneTimeInstalled
push 0x41a040
call fcn.0040c930
add esp, 8
mov dword [esi + 0x620], 3
jmp 0x4015ff
push str.DSSOMMANAGER
push ebx
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x4015f9
push str.CExecuteEnvironMent::CheckDSIntallState:_DSSOMMANAGER_Run
push 0x41a040
call fcn.0040c930
add esp, 8
mov dword [esi + 0x620], 1
jmp 0x4015ff
mov dword [esi + 0x620], ebx
lea ecx, [esp + 0x218]
mov dword [esp + 0x830], 0xffffffff
call fcn.0040cd60
mov ecx, dword [esp + 0x828]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x828
ret
Function at 0x401660
Capabilities:
Delete file

Disassembly:
sub esp, 0xa08
push ebp
push esi
push edi
xor esi, esi
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x216]
mov word [esp + 0x214], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
push 0x104
push eax
call fcn.0040d130
add esp, 8
cmp word [esp + 0xc], si
je 0x40173c
mov edi, dword [sym.imp.MSVCRT.dll__wfopen]
mov ebp, dword [sym.imp.MSVCRT.dll_fclose]
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_swprintf]
push esi
lea ecx, [esp + 0x14]
push str.DXTP
push ecx
lea edx, [esp + 0x224]
push str._s_s_03d.tsp
push edx
call ebx
lea eax, [esp + 0x22c]
push 0x41a460
push eax
call edi
add esp, 0x1c
test eax, eax
je 0x401705
push eax
call ebp
add esp, 4
inc esi
cmp esi, 0x64
jl 0x4016c9
lea ecx, [esp + 0x218]
push 0x41a458
push ecx
call edi
add esp, 8
test eax, eax
pop ebx
je 0x40173c
push eax
call ebp
add esp, 4
lea edx, [esp + 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0xa08
ret
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0xa08
ret
Function at 0x401750
Capabilities:
Compare security identifiers

Disassembly:
mov eax, 0x1014
call fcn.004140b0
push ebx
push edi
xor ebx, ebx
mov ecx, 0x3ff
xor eax, eax
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], bl
mov dword [esp + 0x14], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x14]
mov byte [esp + 8], bl
push eax
push 8
mov byte [esp + 0x11], bl
mov byte [esp + 0x12], bl
mov byte [esp + 0x13], bl
mov byte [esp + 0x14], bl
mov byte [esp + 0x15], 5
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x401871
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push 0x1000
push edx
push 2
push eax
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x4017dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CExecuteEnvironMent::QueryIfUserIsAdmin:_GetTokenInformation_Fail___d_
jmp 0x40187d
lea ecx, [esp + 0x10]
lea edx, [esp + 8]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
push edx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x40180d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CExecuteEnvironMent::QueryIfUserIsAdmin:_AllocateAndInitializeSid_Fail___d_
jmp 0x40187d
mov eax, dword [esp + 0x1c]
push ebp
push esi
xor ebp, ebp
xor esi, esi
cmp eax, ebx
jbe 0x401846
mov ebx, dword [sym.imp.ADVAPI32.dll_EqualSid]
lea edi, [esp + 0x28]
mov eax, dword [edi]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call ebx
test eax, eax
jne 0x401841
mov eax, dword [esp + 0x24]
inc esi
add edi, 8
cmp esi, eax
jb 0x401825
jmp 0x401846
mov ebp, 1
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push ebp
push str.CExecuteEnvironMent::QueryIfUserIsAdmin:_EqualSid___d_
push 0x41a040
call fcn.0040c930
add esp, 0xc
mov eax, ebp
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x1014
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CExecuteEnvironMent::QueryIfUserIsAdmin:_OpenProcessToken_Fail___d_
push 0x41a040
call fcn.0040c930
add esp, 0xc
xor eax, eax
pop edi
pop ebx
add esp, 0x1014
ret