joyce8/EMBER2024-capa huggingface dataset:
Function at 0x121fd20
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 0x121fd58
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 0x121fd60
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 0x121fd94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x121fd94
push eax
push esi
call fcn.0122220b
add esp, 8
pop esi
ret 0x10

Function at 0x121fda0
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 0x121fe22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x121fe15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x1238320
push ecx
mov dword [esp + 0x1c], 4
call fcn.01221dff
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 0x121fdda
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 0x121fe30
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 0x121fec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x121feb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x1238320
push ecx
mov dword [esp + 0x1c], 4
call fcn.01221dff
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 0x121feab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x121fe6a
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 0x1220000
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 0x1220131
push esi
call fcn.01223145
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.01212080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x1220131
push 0
push ebp
call fcn.012123a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.01212260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x122008b
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.012122f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x1220121
push 0x1238918
push edi
call fcn.012213f0
push eax
push ebx
push esi
call fcn.0121ff60
push 0x12388f8
push edi
call fcn.012213f0
push eax
push ebx
push esi
call fcn.0121ff60
push 0x12388d8
push edi
call fcn.012213f0
push eax
push ebx
push esi
call fcn.0121ff60
push 0x12388c0
push edi
call fcn.012213f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.0121ff60
push 0x12388a0
push edi
call fcn.012213f0
push eax
push ebx
push esi
call fcn.0121ff60
push 0x1238888
push edi
call fcn.012213f0
push eax
push ebx
push esi
call fcn.0121ff60
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 0x12211b0
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.01221140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.01221140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.01221140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.01221140
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 0x1221bfa
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 0x1221c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x123387c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1221c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x1221c52
xor eax, eax
pop esi
leave
ret 4

Function at 0x42e000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e072
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x11e23362
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e0d2
nop
mov ebx, 0x42cd70
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x526d55f7
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219

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

Disassembly:
pushal
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..rsrc
mov ebx, 0x40c7d0
nop
mov ecx, 0x302627d6
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x133a569c
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4014e0
Capabilities:
Check os version

Disassembly:
sub esp, 0x98
mov eax, dword [0x629d58]
xor eax, esp
mov dword [esp + 0x94], eax
push esi
mov esi, dword [esp + 0xa4]
lea eax, [esp + 4]
push eax
mov dword [esp + 8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x401580
cmp dword [esp + 0x14], 2
jne 0x401580
cmp dword [esp + 8], 5
push esi
jae 0x401551
mov ecx, dword [esp + 0xa4]
push ecx
call fcn.004029b0
xor ecx, ecx
add esp, 8
test al, al
sete cl
pop esi
mov eax, ecx
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.004fbd5c
add esp, 0x98
ret
mov edx, dword [esp + 0xa4]
push edx
call fcn.00402c20
xor ecx, ecx
add esp, 8
test al, al
sete cl
pop esi
mov eax, ecx
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.004fbd5c
add esp, 0x98
ret
mov ecx, dword [esp + 0x98]
pop esi
xor ecx, esp
mov eax, 1
call fcn.004fbd5c
add esp, 0x98
ret

Function at 0x4015a0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [0x629d58]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
mov esi, dword [esp + 0x110]
push 0x104
lea eax, [esp + 8]
push eax
mov byte [esp + 0xd], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp byte [esp + 5], 0x3a
je 0x4015f3
mov eax, 1
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004fbd5c
add esp, 0x108
ret
mov ecx, dword [esp + 4]
push esi
push ecx
call fcn.004014e0
mov ecx, dword [esp + 0x110]
add esp, 8
pop esi
xor ecx, esp
call fcn.004fbd5c
add esp, 0x108
ret

Function at 0x4018b0
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 0xc], 0
ja 0x4018c0
mov ecx, dword [esp + 8]
cmp ecx, 0xffffffff
jb 0x4018c6
mov eax, 0x1d
ret
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [eax]
push ebp
mov ebp, dword [eax + 0x20]
push esi
push edi
mov edi, dword [eax + 0x1c]
mov eax, edi
mul ecx
mov esi, eax
push 0
lea eax, [esp + 0x1c]
push eax
push esi
push ebx
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, esi
je 0x401907
mov esi, 0xd
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
xor esi, esi
push esi
lea ecx, [esp + 0x18]
push ecx
push edi
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x401922
cmp dword [esp + 0x14], edi
je 0x401927
mov esi, 8
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
Function at 0x4029b0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x582d8b
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x629d58]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push esi
push edi
mov eax, dword [0x629d58]
xor eax, esp
push eax
lea eax, [esp + 0x134]
mov dword fs:[0], eax
movsx eax, byte [esp + 0x144]
mov edi, dword [esp + 0x148]
push eax
lea ecx, [esp + 0x24]
push 0x5ac0d4
push ecx
xor ebx, ebx
call fcn.004fc8e3
add esp, 0xc
push 0x104
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
je 0x402aad
lea ecx, [esp + 0x2c]
push ecx
call fcn.004fc886
mov edx, dword [0x62465c]
add esp, 4
push edx
lea ecx, [esp + 0x14]
call fcn.0056aed0
lea ecx, [esp + 0x10]
mov dword [esp + 0x13c], ebx
call fcn.0056ae50
push eax
lea eax, [esp + 0x30]
push eax
call fcn.004fc540
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x402a99
lea ecx, [esp + 0x10]
call fcn.0056ae50
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x402a78
sub eax, edx
push edi
add esi, eax
push 0x5ac0d0
push esi
call fcn.004fc634
add esp, 0xc
cmp eax, 1
jne 0x402a99
mov bl, al
lea ecx, [esp + 0x10]
mov dword [esp + 0x13c], 0xffffffff
call fcn.0051d5c0
mov al, bl
mov ecx, dword [esp + 0x134]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.004fbd5c
add esp, 0x130
ret

Function at 0x402ae0
Capabilities:
Get disk information via ioctl

Disassembly:
sub esp, 0x20
mov eax, dword [0x629d58]
xor eax, esp
mov dword [esp + 0x1c], eax
movsx eax, byte [esp + 0x24]
push ebx
push esi
push eax
lea ecx, [esp + 0x10]
push str.._c:
push ecx
xor bl, bl
call fcn.004fc8e3
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push SysReAllocStringLen
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x402b5c
push 0
lea eax, [esp + 0xc]
push eax
push 0xc
lea ecx, [esp + 0x24]
push ecx
push 0
push 0
push 0x2d1080
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x402b55
mov edx, dword [esp + 0x1c]
mov dword [edi], edx
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x24]
pop esi
mov al, bl
pop ebx
xor ecx, esp
call fcn.004fbd5c
add esp, 0x20
ret
Function at 0x4034e0
Capabilities:
Get storage device properties

Disassembly:
push 0xffffffffffffffff
push 0x582e4b
mov eax, dword fs:[0]
push eax
mov eax, 0x2834
call fcn.004fcb90
mov eax, dword [0x629d58]
xor eax, esp
mov dword [esp + 0x2830], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x629d58]
xor eax, esp
push eax
lea eax, [esp + 0x2848]
mov dword fs:[0], eax
mov eax, dword [0x624664]
mov esi, dword [esp + 0x285c]
push eax
lea ecx, [esp + 0x1c]
call fcn.0056aed0
mov ecx, dword [esp + 0x2858]
push ecx
xor ebx, ebx
mov ecx, eax
mov dword [esp + 0x2854], ebx
call fcn.0056ae50
push eax
lea edx, [esp + 0x3c]
push edx
call fcn.004fc8e3
add esp, 0xc
lea ecx, [esp + 0x18]
mov dword [esp + 0x2850], 0xffffffff
call fcn.0051d5c0
push ebx
push ebx
push 3
push ebx
push 3
push ebx
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4036ef
xor eax, eax
push 0x2710
lea ecx, [esp + 0x138]
push ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
push ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.004fc2f0
mov ebp, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
add esp, 0xc
push ebx
lea edx, [esp + 0x18]
push edx
push 0x2710
lea eax, [esp + 0x140]
push eax
push 0xc
lea ecx, [esp + 0x3c]
push ecx
push 0x2d1400
push edi
call ebp
test eax, eax
je 0x403694
mov eax, dword [esp + 0x140]
cmp eax, ebx
je 0x403614
cmp eax, dword [esp + 0x14]
ja 0x403614
lea edx, [esp + eax + 0x134]
push 0x63
push edx
lea eax, [esi + 4]
push eax
call fcn.004fca60
add esp, 0xc
mov eax, dword [esp + 0x144]
cmp eax, ebx
je 0x40363b
cmp eax, dword [esp + 0x14]
ja 0x40363b
push 0x63
lea ecx, [esp + eax + 0x138]
push ecx
lea edx, [esi + 0x68]
push edx
call fcn.004fca60
add esp, 0xc
mov eax, dword [esp + 0x148]
cmp eax, ebx
je 0x403665
cmp eax, dword [esp + 0x14]
ja 0x403665
push 0x63
lea eax, [esp + eax + 0x138]
push eax
lea ecx, [esi + 0x130]
push ecx
call fcn.004fca60
add esp, 0xc
mov eax, dword [esp + 0x14c]
cmp eax, ebx
je 0x403694
cmp eax, 0xffffffff
je 0x403694
cmp eax, dword [esp + 0x14]
ja 0x403694
lea edx, [esp + eax + 0x134]
push 0x63
push edx
lea eax, [esi + 0xcc]
push eax
call fcn.004fca60
add esp, 0xc
push 0x2710
lea ecx, [esp + 0x138]
push ebx
push ecx
call fcn.004fc2f0
add esp, 0xc
push ebx
lea edx, [esp + 0x18]
push edx
push 0x2710
lea eax, [esp + 0x140]
push eax
push ebx
push ebx
push 0x2d0c10
push edi
call ebp
test eax, eax
je 0x4036e4
push 0x63
lea ecx, [esp + 0x148]
push ecx
add esi, 0xcc
push esi
call fcn.004fca60
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4036f4
mov eax, 0xb
mov ecx, dword [esp + 0x2848]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2830]
xor ecx, esp
call fcn.004fbd5c
add esp, 0x2840
ret
Function at 0x403720
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x582e88
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x629d58]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x629d58]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov bl, byte [esp + 0x4c]
mov edi, dword [esp + 0x54]
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x28], bl
mov word [esp + 0x29], 0x5c3a
mov byte [esp + 0x2b], 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
je 0x403784
mov eax, 0x15
jmp 0x40384f
mov ecx, dword [0x624668]
push ecx
lea ecx, [esp + 0x18]
call fcn.0056aed0
movsx edx, bl
push edx
mov ecx, eax
mov dword [esp + 0x48], 0
call fcn.0056ae50
push eax
lea eax, [esp + 0x34]
push eax
call fcn.004fc8e3
add esp, 0xc
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0xffffffff
call fcn.0051d5c0
push 0x1a0
push 0
push edi
call fcn.004fc2f0
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
lea ecx, [esp + 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x403848
mov ebx, dword [esp + 0x50]
push edi
push ebx
push ebp
call fcn.00403050
mov esi, eax
add esp, 0xc
test esi, esi
je 0x40383f
push edi
push ebp
call fcn.00402cc0
mov esi, eax
add esp, 8
test esi, esi
je 0x40383f
cmp byte [esp + 0x58], 0
je 0x40383f
push edi
push ebx
call fcn.00403350
mov esi, eax
add esp, 8
test esi, esi
je 0x40383f
push edi
push ebx
call fcn.004034e0
add esp, 8
mov esi, eax
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40384d
mov esi, 0xb
mov eax, esi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004fbd5c
add esp, 0x34
ret

Function at 0x403fa0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x403f30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
setne al
ret
Function at 0x403fc0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x168
mov eax, dword [0x629d58]
xor eax, esp
mov dword [esp + 0x164], eax
cmp dword [0x63bdc8], 0
je 0x404113
push str.FNPLicensingService
push str.FlexNet_Publisher
push str.Macrovision
push str.SOFTWARE_s_s_s
lea eax, [esp + 0x74]
push pe_nt_image_headers32
push eax
mov dword [esp + 0x18], 0
call fcn.004fcf21
add esp, 0x18
lea ecx, [esp]
push 0
push ecx
call fcn.0054e980
push eax
push 0xf003f
push 0
push 0
push 0
lea edx, [esp + 0x80]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x404054
xor al, al
mov ecx, dword [esp + 0x164]
xor ecx, esp
call fcn.004fbd5c
add esp, 0x168
ret
push esi
push edi
push 0x60
lea eax, [esp + 0x10]
push 0
push eax
call fcn.004fc2f0
push 0
call fcn.004fcfcd
push eax
call fcn.004fd01b
add esp, 0x14
call fcn.004fd02d
mov esi, eax
shl esi, 0x10
call fcn.004fd02d
add esi, eax
add dword [esp + 0x174], esi
mov dword [esp + 0xc], esi
mov edi, 4
jmp 0x4040a0
lea ecx, [esp + 0x174]
push ecx
call fcn.00403f00
mov eax, dword [esp + 0x178]
mov dword [esp + edi + 0x10], eax
lea edx, [eax + eax]
sub edx, esi
add edi, 4
add esp, 4
mov dword [esp + 0x174], edx
cmp edi, 0x60
jb 0x4040a0
mov ecx, dword [esp + 8]
push 0x60
lea eax, [esp + 0x10]
push eax
push 3
push 0
push 0x5ac14c
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 8]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop edi
sete al
pop esi
mov ecx, dword [esp + 0x164]
xor ecx, esp
call fcn.004fbd5c
add esp, 0x168
ret
mov ecx, dword [esp + 0x164]
xor ecx, esp
mov al, 1
call fcn.004fbd5c
add esp, 0x168
ret

Function at 0x4041e0
Capabilities:
Access the windows event log

Disassembly:
push ecx
push esi
push str.FlexNet_Licensing_Service
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
mov eax, dword [esp + 0xc]
mov dword [esp + 4], eax
test esi, esi
je 0x40421e
push 0
lea ecx, [esp + 8]
push ecx
push 0
push 1
push 0
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
pop ecx
ret
Function at 0x404350
Capabilities:
Access the windows event log

Disassembly:
sub esp, 0x208
mov eax, dword [0x629d58]
xor eax, esp
mov dword [esp + 0x204], eax
push ebx
mov ebx, dword [esp + 0x218]
push esi
mov esi, dword [esp + 0x214]
push edi
mov edi, dword [esp + 0x21c]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push 0xf003f
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
je 0x4043ec
push esi
push edi
lea eax, [esp + 0x18]
push str.Failed_to_open_keyname__s___error__lu
push eax
call fcn.004fc8e3
add esp, 0x10
push str.FlexNet_Licensing_Service
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov edi, eax
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], ecx
test edi, edi
je 0x4043ea
push 0
lea edx, [esp + 0x10]
push edx
push 0
push 1
push 0
push 0
push 0
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push edi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov eax, esi
mov ecx, dword [esp + 0x210]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004fbd5c
add esp, 0x208
ret

Function at 0x404410
Capabilities:
Access the windows event log
Delete registry key

Disassembly:
sub esp, 0x208
mov eax, dword [0x629d58]
xor eax, esp
mov dword [esp + 0x204], eax
push esi
mov esi, dword [esp + 0x210]
push edi
mov edi, dword [esp + 0x218]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
test esi, esi
je 0x40449c
push esi
push edi
lea eax, [esp + 0x14]
push str.Failed_to_delete_keyname__s___error__lu
push eax
call fcn.004fc8e3
add esp, 0x10
push str.FlexNet_Licensing_Service
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov edi, eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], ecx
test edi, edi
je 0x40449a
push 0
lea edx, [esp + 0xc]
push edx
push 0
push 1
push 0
push 0
push 0
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push edi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov eax, esi
mov ecx, dword [esp + 0x20c]
pop edi
pop esi
xor ecx, esp
call fcn.004fbd5c
add esp, 0x208
ret