joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429bb0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563515
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x5d26e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x140], ebx
mov dword [ebp - 4], ebx
push ebx
push 2
mov dword [ebp - 0x138], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [ebp - 0x138]
push eax
push esi
call sub.KERNEL32.dll_Process32First
cmp eax, 1
jne 0x429cde
lea ecx, [ebp - 0x138]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
cmp eax, 1
jne 0x429cde
jmp 0x429c30
push str..exe
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x144]
push eax
call fcn.00426e70
mov byte [ebp - 4], 1
or ebx, 1
mov dword [ebp - 0x140], ebx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x114]
push ecx
call fcn.004d48bd
add esp, 0x14
test eax, eax
jne 0x429c7d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov byte [ebp - 0x139], 1
cmp dword [ebp - 0x130], eax
jne 0x429c84
mov byte [ebp - 0x139], 0
mov dword [ebp - 4], 0
test bl, 1
je 0x429cbf
and ebx, 0xfffffffe
mov dword [ebp - 0x140], ebx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x144]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x429cbf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0x139], 0
jne 0x429d13
lea ecx, [ebp - 0x138]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
cmp eax, 1
je 0x429c30
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004022b0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004cdc91
mov esp, ebp
pop ebp
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004022b0
mov al, 1
jmp 0x429cf6
Function at 0x42acd0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563658
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x5d26e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x450], 0
je 0x42ad54
push 1
push 0x58a919
call fcn.0042a5b0
test al, al
je 0x42ad54
cmp word [esi + 0x12], 0
jne 0x42ad54
lea eax, [ebp - 0x20]
push eax
push 0x14
lea ecx, [esi + 0x14]
push ecx
call fcn.00469d00
mov ebx, dword [ebp - 0x20]
shr ebx, 8
xor bl, 0x15
push 0
mov ecx, esi
mov word [esi + 0x12], ax
and bl, 0x3f
call fcn.00428070
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x18]
call fcn.00404e40
mov dword [ebp - 4], 0
push 7
push str.LiteRet
lea ecx, [ebp - 0x18]
call fcn.00405fd0
lea edx, [ebp - 0x10]
push edx
push 0x20019
push 0
push str.SoftwareDataEnvDesSolLtdManager
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x1c], 4
test eax, eax
jne 0x42adb8
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x28]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x42ae12
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x10]
push eax
push 0
push 0xf003f
push 0
push str.REG_DWORD
push 0
push str.SoftwareDataEnvDesSolLtdManager
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push 0
call fcn.004d0877
push eax
call fcn.004d08c8
add esp, 8
call fcn.004d08da
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push edx
push 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, byte [ebp - 0x14]
xor bl, 0x15
and bl, 0x3f
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004022b0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42e2a0
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563a08
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5d26e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ebx, [esi + 0x28]
push ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [esi + 8]
cmp eax, 1
je 0x42e33f
cmp eax, 2
je 0x42e33f
cmp dword [esi + 0x20], edi
je 0x42e306
mov eax, dword [esi + 0x10]
push eax
call fcn.00410fe0
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 4
push eax
call edx
mov dword [esi + 0x20], edi
mov eax, dword [esi + 0x10]
push 0x58a919
push eax
call fcn.00411000
add esp, 8
cmp dword [esi + 8], 4
mov dword [esi + 0x10], edi
jne 0x42e36d
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x42e38b
mov eax, dword [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x42e36d
cmp dword [esi + 0x20], edi
je 0x42e35e
mov ecx, dword [esi + 0xc]
push ecx
call fcn.0040e9b0
mov eax, dword [esi + 0x20]
mov edx, dword [eax]
add esp, 4
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esi + 0x20], edi
mov ecx, dword [esi + 0xc]
push ecx
call fcn.0040ef20
add esp, 4
mov dword [esi + 0xc], edi
mov eax, dword [esi + 0x1c]
cmp eax, edi
je 0x42e38b
mov eax, dword [eax]
push eax
call fcn.004f9090
mov eax, dword [esi + 0x1c]
push eax
call fcn.004f9090
add esp, 8
mov dword [esi + 0x1c], edi
mov dword [ebp - 4], 0xffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42efb0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563bc3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5d26e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push edi
lea ecx, [esi + 0xc]
mov dword [esi], vtable.ZipStream.0
mov dword [esi + 4], ebx
mov dword [esi + 8], eax
call fcn.0041ba40
mov dword [ebp - 4], ebx
push 8
lea ecx, [ebp + 0xc]
push ecx
mov ecx, edi
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov byte [esi + 0x18], 1
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x30], 0x10000
call fcn.0042d5b0
mov byte [ebp - 4], 1
mov eax, dword [eax]
push str.database
push eax
call fcn.004d182a
add esp, 8
cmp eax, ebx
sete byte [ebp + 0xb]
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
call fcn.004022b0
cmp byte [ebp + 0xb], bl
je 0x42f04d
mov dword [esi + 0x30], 0x400000
mov edx, dword [esi + 0x30]
push edx
call fcn.004cf255
mov dword [esi + 0x1c], eax
add esp, 4
or eax, 0xffffffff
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x34], bl
mov dword [ebp - 4], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42f2e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563c8b
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x5d26e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, ecx
lea ebx, [esi + 0x28]
push ebx
mov dword [ebp - 0x21c], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0x14]
push edi
mov dword [esi + 8], eax
call fcn.004207a0
mov eax, dword [esi + 8]
mov dword [esi + 0x1c], 0
cmp eax, 1
je 0x42f3f2
cmp eax, 2
je 0x42f3f7
cmp eax, 3
jne 0x42f384
lea ecx, [ebp - 0x23c]
push ecx
call fcn.0042e120
mov edi, dword [edi]
lea edx, [ebp - 0x23c]
push edx
push 0
push 0
push edi
call fcn.00410320
add esp, 0x14
mov dword [esi + 0x10], eax
jmp 0x42f429
cmp eax, 4
jne 0x42f430
lea eax, [ebp - 0x114]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x218]
push ecx
push 0
push 0x57c95c
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [ebp - 0x218]
lea edi, [esi + 0x18]
push eax
mov ecx, edi
call fcn.00408150
lea ecx, [ebp - 0x23c]
push ecx
call fcn.0042e120
mov edi, dword [edi]
lea edx, [ebp - 0x23c]
push edx
push 0
push 0
push edi
call fcn.00410320
add esp, 0x14
mov dword [esi + 0x10], eax
jmp 0x42f429
cmp eax, 2
jne 0x42f405
lea eax, [ebp - 0x23c]
push eax
call fcn.0042e180
jmp 0x42f411
lea ecx, [ebp - 0x23c]
push ecx
call fcn.0042e120
mov edi, dword [edi]
add esp, 4
lea edx, [ebp - 0x23c]
push edx
push edi
call fcn.0040eed0
add esp, 8
mov dword [esi + 0xc], eax
test eax, eax
jne 0x42f442
mov dword [esi + 8], eax
mov dword [ebp - 4], 0xffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
jmp 0x42f452
mov dword [ebp - 4], 0xffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004cdc91
mov esp, ebp
pop ebp
ret 8
Function at 0x430df0
Capabilities:
Move file
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564018
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5d26e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ebx, [esi + 0x28]
push ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [esi + 0x20], edi
je 0x430e4b
mov eax, dword [esi + 0x10]
push eax
call fcn.00410fe0
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 4
push eax
call edx
mov dword [esi + 0x20], edi
mov eax, dword [esi + 0x10]
push 0x58a919
push eax
call fcn.00411000
add esp, 8
cmp dword [esi + 8], 4
mov dword [ebp - 0x14], eax
mov dword [esi + 0x10], edi
jne 0x430f3a
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
lea edi, [esi + 0x14]
push 3
lea ebx, [esi + 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x430f35
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x14]
push ecx
push edi
push ebx
lea edx, [ebp - 0x1c]
push str.Failed_to_copy_file_from__s_to__s:__d
push edx
mov dword [ebp - 0x14], eax
call fcn.00430cd0
add esp, 0x14
mov byte [ebp - 4], 1
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004022b0
push str..sav
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.00426e70
add esp, 0xc
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebx]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
xor edx, edx
cmp byte [ebp + 8], dl
lea eax, [ebp - 0x10]
setne dl
mov ecx, esi
mov dword [esi + 8], 0
inc edx
push edx
push eax
call fcn.0042f2e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004022b0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ebp - 0x18]
xor edi, edi
mov dword [esi + 8], edi
cmp dword [esi + 0x1c], edi
je 0x430f7b
xor edx, edx
cmp byte [ebp + 8], dl
mov ecx, esi
setne dl
inc edx
push edx
call fcn.0042f470
test al, al
jne 0x430f92
mov dword [ebp - 4], 0xffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
cmp byte [ebp + 8], al
lea ecx, [esi + 0x14]
setne al
inc eax
push eax
push ecx
mov ecx, esi
call fcn.0042f2e0
jmp 0x430f53
mov dword [ebp - 4], 0xffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x43e2d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564a88
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x5d26e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x28]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 0x2c]
mov dword [eax + 4], edx
mov edx, dword [esi + 0x30]
mov dword [eax + 8], ecx
push str.GUID
lea ecx, [ebp + 8]
mov dword [eax + 0xc], edx
call fcn.0042d410
fld dword [esi + 0x58]
push ecx
fstp dword [esp]
push str.Sensible
lea ecx, [ebp + 8]
call fcn.0042d0a0
fld dword [esi + 0x5c]
push ecx
fstp dword [esp]
push str.Latent
lea ecx, [ebp + 8]
call fcn.0042d0a0
fld dword [esi + 0x60]
push ecx
fstp dword [esp]
push str.RadiantProportion
lea ecx, [ebp + 8]
call fcn.0042d0a0
fld dword [esi + 0x7c]
push ecx
fstp dword [esp]
push 0x57ebc0
lea ecx, [ebp + 8]
call fcn.0042d0a0
fld dword [esi + 0x84]
push ecx
fstp dword [esp]
push str.LastFactor
lea ecx, [ebp + 8]
call fcn.0042d0a0
fld dword [esi + 0x80]
push ecx
fstp dword [esp]
push str.LastPower
lea ecx, [ebp + 8]
call fcn.0042d0a0
mov eax, dword [esi + 0x44]
push eax
push 0x57eba4
lea ecx, [ebp + 8]
call fcn.0042d0a0
mov ecx, dword [esi + 0x4c]
push ecx
push 0x57eba0
lea ecx, [ebp + 8]
call fcn.0042d0a0
mov edx, dword [esi + 0x48]
push edx
push 0x57eb9c
lea ecx, [ebp + 8]
call fcn.0042d0a0
mov eax, dword [esi + 0x50]
push eax
push 0x57eb98
lea ecx, [ebp + 8]
call fcn.0042d0a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0042d270
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x447230
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56618d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5d26e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
lea ecx, [esi + 0x418]
mov dword [esi], vtable.CTasKeys.0
call fcn.00404e40
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [esi + 0x41c]
call fcn.00404e40
mov byte [ebp - 4], 1
lea ecx, [esi + 0x420]
call fcn.00404e40
mov byte [ebp - 4], 2
lea ecx, [esi + 0x424]
call fcn.00404e40
mov byte [ebp - 4], 3
lea ecx, [esi + 0x428]
call fcn.00404e40
mov byte [ebp - 4], 4
lea ecx, [esi + 0x444]
call fcn.00404e40
mov byte [ebp - 4], 5
lea edi, [esi + 0x460]
mov eax, edi
mov dword [eax], ebx
mov dword [ebp - 0x18], eax
mov dword [eax + 4], ebx
mov byte [ebp - 4], 7
mov eax, 0xeaaa
push 0x138
mov dword [esi + 0x458], ebx
mov word [esi + 0x10], ax
mov dword [esi + 0x430], ebx
mov dword [esi + 0x434], ebx
mov dword [esi + 0x438], ebx
mov dword [esi + 0x43c], ebx
mov byte [esi + 0x42d], bl
mov byte [esi + 0x42c], bl
mov byte [esi + 0x42e], bl
mov byte [esi + 0x42f], bl
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov byte [esi + 0x448], bl
mov byte [esi + 0x454], bl
mov byte [esi + 0x45c], bl
call fcn.004947e1
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x44734a
mov ecx, eax
call fcn.004202c0
jmp 0x44734c
xor eax, eax
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x24]
call fcn.004470d0
mov byte [ebp - 4], 9
push eax
mov ecx, edi
call fcn.00446a40
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24]
call fcn.00429070
lea ecx, [ebp - 0x10]
push ecx
push 0x20019
push ebx
push str.SOFTWAREDataEnvDesSolLtdManager
push reloc.WSOCK32.dll_bind
mov byte [esi + 0x468], bl
mov byte [esi + 0x469], bl
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x4473c1
lea edx, [ebp - 0x18]
push edx
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x20]
push ecx
push ebx
push str.LicenseOption
push edx
mov dword [ebp - 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], ebx
sete al
mov byte [esi + 0x46a], al
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44a090
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push esi
mov esi, ecx
call fcn.0049ef0d
mov eax, dword [eax + 4]
mov byte [eax + 0xb0], 0
mov ecx, dword [esi + 0x98]
mov eax, 1
push 0
mov byte [ecx + 0x178], al
mov edx, dword [esi + 0x98]
push 0
push 0
mov ecx, esi
mov dword [edx + 0x17c], eax
call fcn.0049d545
pop esi
ret
push esi
push edi
mov esi, ecx
call fcn.0049ef0d
mov edi, dword [eax + 4]
call fcn.004a10cf
test eax, eax
je 0x448610
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
jmp 0x448612
xor eax, eax
mov byte [edi + 0xb0], 0
mov ecx, dword [esi + 0x98]
mov byte [ecx + 0x178], 0
cmp byte [edi + 0xb0], 0
jne 0x44864d
mov ecx, eax
call fcn.004a30c3
mov ecx, eax
call fcn.00452430
mov edx, dword [esi + 0x98]
mov dword [edx + 0x17c], 3
push 0
push 0
push 0
mov ecx, esi
call fcn.0049d545
pop edi
pop esi
ret
mov eax, dword [ecx + 0x98]
mov eax, dword [eax + 0x17c]
cmp eax, 3
ja case.default.0x44a0a1
jmp dword [eax*4 + 0x44a0c0]
jmp fcn.00449f40
jmp 0x4485b0
jmp 0x4485f0
jmp fcn.00448cc0
ret
Function at 0x45dec0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x567d88
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x5d26e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
push ecx
push 0x20019
push 0
push str.SoftwareEDSLTasManagerUnits
push getpeername
mov dword [ebp - 0x10], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45df35
lea edx, [ebp - 0x14]
push edx
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
push ecx
push 0
push edx
push eax
mov dword [ebp - 0x14], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004022b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x45df70
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563088
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x5d26e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp + 0xc]
push edx
push 0
push 0xf003f
push 0
push str.REG_DWORD
push 0
push str.SoftwareEDSLTasManagerUnits
push getpeername
mov dword [ebp - 0x10], eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004022b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x45ea10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x567e69
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5d26e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 2
lea eax, [ebp - 0x20]
push eax
push 0x20019
push 0
push str.SoftwareEDSLTasManagerUnits
push getpeername
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45eabc
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x18]
push edx
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x2c]
push eax
push 0
push ecx
push edx
mov dword [ebp - 0x28], 5
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x45eae9
push 5
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 0x10]
call fcn.0042d5b0
mov byte [ebp - 4], 3
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
lea ebx, [ebx]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x45eab0
jmp 0x45eadd
push 5
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp + 0x10]
call fcn.0042d5b0
mov byte [ebp - 4], 4
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x45ead3
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.004022b0
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.004087e0
mov dword [ebp - 0x24], 1
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.004022b0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.004022b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004cdc91
mov esp, ebp
pop ebp
ret
Function at 0x45ec80
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x567ef1
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5d26e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push ecx
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov ecx, esp
mov dword [ebp - 0x38], esp
push 0x58a919
mov dword [ebp - 0x30], esi
call fcn.004087e0
mov edi, 1
mov dword [ebp - 4], edi
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push str.Currency
call fcn.004087e0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], bl
call fcn.0045ea10
add esp, 0xc
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x28]
cmp dword [ecx - 0xc], ebx
jle 0x45ed0d
lea edx, [ebp - 0x28]
push edx
mov ecx, esi
call fcn.0041ba40
jmp 0x45ed36
push 0x14
lea eax, [ebp - 0x24]
push eax
push 0x14
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jle 0x45ed2a
lea ecx, [ebp - 0x24]
push ecx
jmp 0x45ed2f
push 0x58a919
mov ecx, esi
call fcn.004087e0
mov dword [ebp - 0x2c], edi
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.004022b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004cdc91
mov esp, ebp
pop ebp
ret