joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401c00
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4e1fe0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x51f4f4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x20], 1
xor bl, bl
mov edi, 0x2001f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x506588
push str.kernel32
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test esi, esi
je 0x401c69
cmp esi, 0xffffffff
je 0x401c69
test eax, eax
je 0x401c69
push 0
push esi
call eax
cmp dword [esp + 0x14], 1
jne 0x401c7c
cmp byte [esp + 0x6c], 0
jne 0x401c7c
mov edi, 0x2011f
mov eax, dword [esp + 0x2c]
mov esi, 8
cmp dword [esp + 0x40], esi
jae 0x401c8f
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x14]
push ecx
push edi
push 0
push eax
push SysFreeString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x401cc6
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x40], esi
jae 0x401cb5
lea eax, [esp + 0x2c]
lea edx, [esp + 0x14]
push edx
push eax
push SysFreeString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x5c], esi
jae 0x401cd4
lea eax, [esp + 0x48]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x60]
push ecx
push ebp
push edx
push 0
push eax
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x401cf3
mov bl, 1
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x40], esi
jb 0x401d11
mov edx, dword [esp + 0x2c]
push edx
call fcn.004129b1
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
cmp dword [esp + 0x5c], esi
jb 0x401d3b
mov ecx, dword [esp + 0x48]
push ecx
call fcn.004129b1
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x401f50
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e2218
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x51f4f4]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x51f4f4]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
xor ebx, ebx
mov dword [esp + 0xa0], ebx
push 0x40
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x34]
push ebx
push eax
mov dword [esp + 0x28], ebx
call fcn.00446dc0
mov eax, dword [esp + 0xb8]
mov ebp, 8
add esp, 0xc
mov dword [esp + 0x2c], 0x44
cmp dword [esp + 0xc0], ebp
jae 0x401fdc
lea eax, [esp + 0xac]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x30]
push edx
push ebx
push ebx
push 0x8000020
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4020b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push ebx
lea ecx, [esp + 0x20]
push ecx
push 0x400
push eax
push ebx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
mov eax, dword [esp + 0x18]
mov edi, 7
xor edx, edx
mov ecx, eax
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], dx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x402042
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x7c]
call fcn.00406860
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [esp + 0x90], ebp
jb 0x40207c
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.004129b1
add esp, 4
xor edx, edx
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], dx
cmp dword [esp + 0xc0], ebp
jb 0x4020aa
mov eax, dword [esp + 0xac]
push eax
call fcn.004129b1
add esp, 4
xor eax, eax
jmp 0x40213b
mov ecx, dword [esp + 0x1c]
cmp byte [esp + 0xc4], bl
je 0x40210d
push 0x1d4c0
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x1c]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
mov eax, dword [esp + 0x1c]
push eax
call edi
mov ecx, dword [esp + 0x20]
push ecx
call edi
cmp esi, ebx
jne 0x40211d
cmp dword [esp + 0xc0], ebp
jb 0x4020aa
mov edx, dword [esp + 0xac]
push edx
call fcn.004129b1
add esp, 4
xor eax, eax
jmp 0x40213b
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x20]
push edx
call esi
cmp dword [esp + 0xc0], ebp
jb 0x402136
mov eax, dword [esp + 0xac]
push eax
call fcn.004129b1
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.004451b5
add esp, 0x90
ret
Function at 0x402510
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x20
mov eax, dword [0x51f4f4]
xor eax, esp
mov dword [esp + 0x1c], eax
xor eax, eax
push esi
mov word [esp + 8], ax
push 0x19
mov eax, str.SOFTWAREHPEPM_Installer
lea esi, [esp + 8]
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
call fcn.00406860
cmp dword [esp + 0x1c], 8
mov eax, dword [esp + 8]
jae 0x402555
lea eax, [esp + 8]
push eax
push SysFreeString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
neg esi
sbb esi, esi
inc esi
cmp dword [esp + 0x1c], 8
jb 0x40257c
mov ecx, dword [esp + 8]
push ecx
call fcn.004129b1
add esp, 4
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004451b5
add esp, 0x20
ret

Function at 0x402590
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x4e2128
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x51f4f4]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
push edi
mov eax, dword [0x51f4f4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor eax, eax
mov word [esp + 0x14], ax
xor edi, edi
push 0x21
mov eax, str.SOFTWAREEPM_InstallerTraymenu0
lea esi, [esp + 0x14]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
call fcn.00406860
mov dword [esp + 0x38], edi
mov eax, dword [esp + 0x14]
mov ebx, 8
cmp dword [esp + 0x28], ebx
jae 0x4025fd
lea eax, [esp + 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push eax
push SysFreeString
call edi
push 0x1f
mov eax, str.SOFTWAREEPM_InstallerTraymenu
lea esi, [esp + 0x14]
call fcn.00406860
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x28], ebx
jae 0x402629
lea eax, [esp + 0x14]
push eax
push SysFreeString
call edi
push 0x16
mov eax, str.SOFTWAREEPM_Installer
lea esi, [esp + 0x14]
call fcn.00406860
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x28], ebx
jae 0x40264f
lea eax, [esp + 0x14]
push eax
push SysFreeString
call edi
mov esi, eax
neg esi
sbb esi, esi
inc esi
cmp dword [esp + 0x28], ebx
jb 0x402671
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004129b1
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004451b5
add esp, 0x2c
ret
Function at 0x403af0
Capabilities:
Check os version
Get common file path

Disassembly:
sub esp, 0x32c
mov eax, dword [0x51f4f4]
xor eax, esp
mov dword [esp + 0x328], eax
push ebx
push edi
push 0x11c
lea eax, [esp + 0x10]
push 0
push eax
mov dword [esi], 0
xor bl, bl
call fcn.00446dc0
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x10], 0x11c
call edi
test eax, eax
je 0x403baa
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x10], 0x114
call edi
test eax, eax
je 0x403baa
cmp dword [esp + 0x10], 6
jb 0x403bc3
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x403baa
push str.SHGetKnownFolderPath
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x403ba3
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0x4f0308
call eax
test eax, eax
jne 0x403ba3
mov eax, dword [esp + 8]
mov edx, esi
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x403b92
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov al, bl
pop ebx
mov ecx, dword [esp + 0x328]
xor ecx, esp
call fcn.004451b5
add esp, 0x32c
ret
lea edx, [esp + 0x128]
push edx
push 1
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x403baa
lea eax, [esp + 0x128]
mov edx, esi
mov ecx, eax
sub edx, ecx
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x403bf0
mov ecx, dword [esp + 0x330]
pop edi
pop ebx
xor ecx, esp
mov al, 1
call fcn.004451b5
add esp, 0x32c
ret
Function at 0x404510
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e25b8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x51f4f4]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x51f4f4]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x54], edi
mov ebx, 7
xor eax, eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], edi
mov word [esp + 0x30], ax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x54], 1
call fcn.0040a700
push edi
push 0x522428
or eax, 0xffffffff
lea esi, [esp + 0x34]
call fcn.00406610
push 1
mov eax, 0x50682c
mov ecx, esi
call fcn.004066d0
push edi
mov esi, eax
push 0x52247c
or eax, 0xffffffff
call fcn.00406610
xor ecx, ecx
push edi
mov eax, 0x506e28
lea esi, [esp + 0x14]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], edi
mov word [esp + 0x18], cx
call fcn.00406860
push 0x12
mov eax, str._typeNotifyBallon
mov ecx, esi
mov byte [esp + 0x58], 2
call fcn.004066d0
push 0xb
mov eax, str.__titleEPM
mov ecx, esi
call fcn.004066d0
push 6
mov eax, str.__msg
mov ecx, esi
call fcn.004066d0
push edi
lea edx, [esp + 0x60]
push edx
or eax, 0xffffffff
call fcn.00406610
push 1
mov eax, 0x5067fc
mov ecx, esi
call fcn.004066d0
mov ecx, dword [esp + 0x14]
mov esi, 8
cmp dword [esp + 0x28], esi
jae 0x404615
lea ecx, [esp + 0x14]
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x44], esi
jae 0x404623
lea eax, [esp + 0x30]
push 1
push edi
push ecx
push eax
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [esp + 0x28], esi
jb 0x404647
mov eax, dword [esp + 0x14]
push eax
call fcn.004129b1
add esp, 4
xor ecx, ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], edi
mov word [esp + 0x14], cx
cmp dword [esp + 0x44], esi
jb 0x404669
mov edx, dword [esp + 0x30]
push edx
call fcn.004129b1
add esp, 4
xor eax, eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], edi
mov word [esp + 0x30], ax
cmp dword [esp + 0x74], esi
jb 0x40468b
mov ecx, dword [esp + 0x60]
push ecx
call fcn.004129b1
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.004451b5
add esp, 0x48
ret
Function at 0x4059b0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x230
mov eax, dword [0x51f4f4]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push 0
push 2
mov dword [esp + 0xc], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4059f5
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.004451b5
add esp, 0x230
ret
lea eax, [esp + 4]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
lea eax, [esp + 0x28]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x405a07
push ebp
sub eax, edx
push edi
sar eax, 1
lea ecx, [esp + 0x30]
push ecx
mov edi, eax
mov eax, dword [esi + 0x14]
mov ecx, esi
call fcn.00406b90
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
test eax, eax
jne 0x405a3b
call ebp
cmp eax, dword [esp + 0x14]
jne 0x405ab3
lea edx, [esp + 0xc]
push edx
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x405a92
lea ebx, [ebx]
lea eax, [esp + 0x30]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x405a57
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x30]
push ecx
mov edi, eax
mov eax, dword [esi + 0x14]
mov ecx, esi
call fcn.00406b90
test eax, eax
jne 0x405a83
call ebp
cmp eax, dword [esp + 0x14]
jne 0x405ab3
lea edx, [esp + 0xc]
push edx
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x405a50
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.004451b5
add esp, 0x230
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x238]
mov eax, dword [esp + 0x14]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.004451b5
add esp, 0x230
ret

Function at 0x407a30
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4e2548
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x51f4f4]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x14], ax
mov eax, dword [esp + 0x3c]
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
call fcn.004067b0
mov eax, str.ScanFax2PC_
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x407a90
sub eax, edx
sar eax, 1
push eax
mov eax, str.ScanFax2PC_
lea ecx, [esp + 0x10]
call fcn.004066d0
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push 0xffffffffffffffff
mov word [esi + 4], cx
push edi
mov ecx, esi
call fcn.004067b0
cmp dword [esp + 0x24], 8
jb 0x407adc
mov edx, dword [esp + 0x10]
push edx
call fcn.004129b1
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret
Function at 0x4098a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4098b9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4098f4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4098f0
lea ebx, [ebx]
cmp esi, eax
jae 0x4098f4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4098e0
cmp esi, eax
jb 0x4098fa
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x40a530
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4e2418
mov eax, dword fs:[0]
push eax
sub esp, 0x408
mov eax, dword [0x51f4f4]
xor eax, esp
mov dword [esp + 0x404], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x51f4f4]
xor eax, esp
push eax
lea eax, [esp + 0x41c]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, ecx
mov esi, edx
mov dword [esp + 0x14], ebx
push 0x3fe
lea ecx, [esp + 0x1e]
xor eax, eax
push ebx
mov dword [esp + 0x42c], 2
push ecx
mov word [esp + 0x24], ax
call fcn.00446dc0
mov ebp, 8
add esp, 0xc
cmp dword [edi + 0x18], ebp
jb 0x40a5a9
mov edi, dword [edi + 4]
jmp 0x40a5ac
add edi, 4
mov edx, dword [esp + 0x468]
cmp dword [esp + 0x47c], ebp
jae 0x40a5c3
lea edx, [esp + 0x468]
mov ecx, dword [esp + 0x44c]
cmp dword [esp + 0x460], ebp
jae 0x40a5da
lea ecx, [esp + 0x44c]
mov eax, dword [esp + 0x430]
cmp dword [esp + 0x444], ebp
jae 0x40a5f1
lea eax, [esp + 0x430]
push edi
push 0x200
lea edi, [esp + 0x20]
push edi
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edi, 7
xor edx, edx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], edi
mov word [esi + 4], dx
test eax, eax
je 0x40a63c
lea eax, [esp + 0x18]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40a621
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x1c]
call fcn.00406860
jmp 0x40a64d
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x46c]
mov ecx, esi
call fcn.004067b0
cmp dword [esp + 0x444], ebp
jb 0x40a666
mov eax, dword [esp + 0x430]
push eax
call fcn.004129b1
add esp, 4
xor ecx, ecx
mov word [esp + 0x430], cx
mov dword [esp + 0x440], ebx
mov dword [esp + 0x444], edi
cmp dword [esp + 0x460], ebp
jb 0x40a697
mov edx, dword [esp + 0x44c]
push edx
call fcn.004129b1
add esp, 4
xor eax, eax
mov word [esp + 0x44c], ax
mov dword [esp + 0x45c], ebx
mov dword [esp + 0x460], edi
cmp dword [esp + 0x47c], ebp
jb 0x40a6c8
mov ecx, dword [esp + 0x468]
push ecx
call fcn.004129b1
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x41c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x404]
xor ecx, esp
call fcn.004451b5
add esp, 0x414
ret 0x54
Function at 0x40a7a0
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x51f4f4]
xor eax, esp
mov dword [esp + 0x11c], eax
push 0x11c
lea eax, [esp + 4]
push 0
push eax
call fcn.00446dc0
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x40a7e7
cmp dword [esp + 4], 6
mov al, 1
jae 0x40a7e9
xor al, al
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.004451b5
add esp, 0x120
ret
Function at 0x40cb20
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x804
mov eax, dword [0x51f4f4]
xor eax, esp
mov dword [esp + 0x800], eax
xor eax, eax
push 0x7fe
push eax
lea ecx, [esp + 0xa]
push ecx
mov word [esp + 0xc], ax
call fcn.00446dc0
mov eax, dword [esp + 0x814]
lea edx, [esp + 0x818]
push edx
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00445dbd
add esp, 0x18
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.004451b5
add esp, 0x804
ret
Function at 0x40f810
Capabilities:
Hide graphical window

Disassembly:
push edi
mov edi, eax
and byte [edi + 0xc], 9
mov al, byte [edi + 0xc]
test al, 1
je 0x40f84d
test al, 8
jne 0x40f84d
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
jne 0x40f839
cmp byte [esp + 8], 0
je 0x40f84d
or byte [edi + 0xc], 4
mov cl, byte [edi + 0xc]
test eax, 0x21000000
jne 0x40f84d
or cl, 2
mov byte [edi + 0xc], cl
test byte [edi + 0xc], 2
je 0x40f869
mov eax, dword [edi + 4]
push 8
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call fcn.0040ebb0
pop edi
ret 4
mov ecx, dword [edi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
ret 4

Function at 0x415dd1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x415df5
cmp dword [edi + 0x54], 0
jne 0x415df5
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00421e05
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00415d92
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41d10f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x41d156
call fcn.00421e05
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41d156
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41d172
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041cc87
mov esi, eax
test edi, edi
je 0x41d170
test ebx, ebx
je 0x41d170
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41dc9f
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4da800
call fcn.004468a0
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x41dcc4
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x41dd0a
lea ecx, [ebp - 0x10]
call fcn.0040be00
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00412f3f
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00409ca0
mov eax, esi
call fcn.00446978
ret 8
Function at 0x41eb90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
invalid
test dword [edi - 4], ecx
invalid
invalid

Function at 0x41ef99
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ecx], al
add byte [eax], al
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
mov byte [ebp - 0x6a2], 0x64
lea eax, [ebp - 0x6b8]
push eax
call fcn.0041e2af
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0041e264
add esp, 0xc
mov dword [ebp - 0x690], eax
mov byte [ebp - 0x6a0], 0x8b
or byte [ebp - 0x69f], 0xff
mov byte [ebp - 0x69e], 0x55
mov byte [ebp - 0x69d], 0x8b
mov byte [ebp - 0x69c], 0xec
lea eax, [ebp - 0x694]
push eax
push 5
lea eax, [ebp - 0x6a0]
push eax
push dword [ebp - 0x33c]
push 0xffffffffffffffff
call dword [ebp - 0x690]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x6bc], eax
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]

Function at 0x41fc24
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0041e264
add esp, 0xc
mov dword [ebp - 0x730], eax
and dword [ebp - 0x6fc], 0
push 1
pop eax
test eax, eax
je 0x420345
invalid
test eax, edx
std

Function at 0x425171
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
mov eax, 0x4dafc8
call fcn.004468a0
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.0040a0d0
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x4251d3
call fcn.00421208
cmp eax, 1
jne 0x4251d3
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0042493c
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0040bae0
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00409ca0
mov dword [ebp + 8], SysFreeString
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00409ca0
mov eax, esi
call fcn.00446978
ret 0x10