joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a237
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x43a250
or eax, 0xffffffff
jmp 0x43a2b1
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x43a2ad
push 0x3d
push esi
call fcn.0043a40c
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x43a2ad
cmp esi, eax
je 0x43a2ad
xor ecx, ecx
cmp byte [eax + 1], bl
mov eax, dword [0x5469bc]
sete cl
cmp eax, dword [0x5469c0]
mov dword [ebp - 8], ecx
jne 0x43a293
mov edi, eax
call fcn.0043a1d6
mov dword [0x5469bc], eax
cmp eax, ebx
jne 0x43a2ec
cmp dword [ebp + 0xc], ebx
je 0x43a2b5
cmp dword [0x5469c4], ebx
je 0x43a2b5
call fcn.00439a39
test eax, eax
je 0x43a2ec
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 8], ebx
je 0x43a2be
xor eax, eax
jmp 0x43a2b0
push 4
call fcn.00428a42
cmp eax, ebx
pop ecx
mov dword [0x5469bc], eax
je 0x43a2ad
mov dword [eax], ebx
cmp dword [0x5469c4], ebx
jne 0x43a2ec
push 4
call fcn.00428a42
cmp eax, ebx
pop ecx
mov dword [0x5469c4], eax
je 0x43a2ad
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 4]
push dword [ebp - 4]
mov esi, dword [0x5469bc]
call fcn.0043a189
mov edi, eax
cmp edi, ebx
pop ecx
jl 0x43a34d
cmp dword [esi], ebx
je 0x43a34d
lea esi, [esi + edi*4]
push dword [esi]
call fcn.00428a54
cmp dword [ebp - 8], ebx
pop ecx
jne 0x43a330
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x43a38e
mov eax, dword [esi + 4]
mov dword [esi], eax
inc edi
add esi, 4
cmp dword [esi], ebx
jne 0x43a327
mov eax, edi
shl eax, 2
push eax
push dword [0x5469bc]
call fcn.00428ac5
cmp eax, ebx
pop ecx
pop ecx
je 0x43a38e
jmp 0x43a389
cmp dword [ebp - 8], ebx
jne 0x43a3f9
cmp edi, ebx
jge 0x43a35c
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x5469bc]
call fcn.00428ac5
cmp eax, ebx
pop ecx
pop ecx
je 0x43a2ad
mov edx, dword [ebp - 4]
lea ecx, [eax + edi*4]
mov dword [ecx], edx
mov dword [ecx + 4], ebx
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
mov dword [0x5469bc], eax
cmp dword [ebp + 0xc], ebx
je 0x43a3e3
push dword [ebp - 4]
call fcn.00429210
inc eax
inc eax
push eax
call fcn.00428a42
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x43a3e3
push dword [ebp - 4]
push esi
call fcn.00429600
mov eax, esi
sub eax, dword [ebp - 4]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 8]
mov byte [eax], bl
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x43a3dc
or dword [ebp - 0x10], 0xffffffff
push esi
call fcn.00428a54
pop ecx
cmp dword [ebp - 8], ebx
je 0x43a3f1
push dword [ebp - 4]
call fcn.00428a54
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x43a2b0
push dword [ebp - 4]
call fcn.00428a54
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], ebx
jmp 0x43a2ba
Function at 0x401e60
Capabilities:
Create process on windows
Get common file path
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c0
mov eax, dword [0x4b555c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c0], ecx
push 0x3ee
mov ecx, dword [ebp - 0x2c0]
call fcn.0044a9de
mov dword [ebp - 0x2b4], eax
cmp dword [ebp - 0x2b4], 0
jne 0x401e9d
jmp 0x4020a8
mov ecx, dword [ebp - 0x2b4]
call fcn.00403710
mov dword [ebp - 0x2b8], eax
cmp dword [ebp - 0x2b8], 0
jne 0x401ebc
jmp 0x4020a8
mov eax, dword [ebp - 0x2b8]
push eax
mov ecx, dword [ebp - 0x2b4]
call fcn.004431cb
mov dword [ebp - 0x2bc], eax
mov ecx, dword [ebp - 0x2bc]
and ecx, 0x100000
je 0x401f2c
mov edx, dword [ebp - 0x2b8]
push edx
mov ecx, dword [ebp - 0x2b4]
call fcn.00403740
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
push eax
mov ecx, dword [ebp - 0x2b4]
call fcn.004431cb
and eax, 0xf
mov dword [ebp - 0x2a8], eax
mov ecx, dword [ebp - 0x2bc]
and ecx, 0xf0000
shr ecx, 0x10
mov dword [ebp - 0x2b0], ecx
jmp 0x401f31
jmp 0x4020a8
mov ecx, dword [ebp - 0x2c0]
call fcn.0044a668
push 0x80
push 0
lea edx, [ebp - 0x198]
push edx
call fcn.0046fb70
add esp, 0xc
lea eax, [ebp - 0x2a0]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x110]
push ecx
push 0
push str.Cert
lea edx, [ebp - 0x2a0]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push str..cer
lea eax, [ebp - 0x110]
push eax
call fcn.0046fa80
add esp, 8
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x2a4], eax
cmp dword [ebp - 0x2a4], 0xffffffff
jne 0x401fee
push 0x48dbec
push 0x48dc04
call dword [0x4b7598]
add esp, 8
push eax
lea edx, [ebp - 0x198]
push edx
call fcn.0046e29b
add esp, 8
jmp 0x402071
push 0
lea eax, [ebp - 0x2ac]
push eax
mov ecx, dword [0x4b6aa4]
push ecx
mov edx, dword [0x4b6aa0]
push edx
mov eax, dword [ebp - 0x2a4]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40203d
push str.IDS_CREATE_TMPFILE_FAIL
push 0x48dc2c
call dword [0x4b7598]
add esp, 8
push eax
lea ecx, [ebp - 0x198]
push ecx
call fcn.0046e29b
add esp, 8
jmp 0x402071
mov edx, dword [ebp - 0x2a4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 5
push 0
push 0
lea eax, [ebp - 0x110]
push eax
push 0x48dc3c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [ebp - 0x2c0]
call fcn.0044a67d
jmp 0x4020a8
lea ecx, [ebp - 0x198]
push ecx
call fcn.0046f9e0
add esp, 4
test eax, eax
je 0x40209d
push 0x10
push 0x4b6c30
lea edx, [ebp - 0x198]
push edx
mov ecx, dword [ebp - 0x2c0]
call fcn.00445bd0
mov ecx, dword [ebp - 0x2c0]
call fcn.0044a67d
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046df66
mov esp, ebp
pop ebp
ret
Function at 0x40b350
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x48f8e0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40b38e
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x40b3d1
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0x48f910
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x40b3c5
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x40b3d1
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x40b3e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x48f91c
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40b41e
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x40b461
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0x48f944
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x40b455
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x40b461
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x40caa0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0x81
push 0x81
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0046fb70
add esp, 0xc
lea ecx, [ebp - 0x10]
push ecx
push 0x20019
push 0
push str.SOFTWAREHaiTaiFangYuanControl
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40caef
jmp 0x40cb32
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
push str.DEFAULT_ADM_PIN
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40cb1b
cmp dword [ebp - 0x14], 1
je 0x40cb26
mov dword [ebp - 4], 0x88000060
jmp 0x40cb32
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40cb42
cmp dword [ebp - 0x10], 0
je 0x40cb42
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x410c90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0x40
lea eax, [ebp - 0x10]
push eax
call fcn.00410c40
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x410cc4
mov dword [ebp - 4], 0x88000060
jmp 0x410d0c
mov dword [ebp - 0x14], 4
push 4
lea ecx, [ebp + 8]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 0
push str.PIN_MODE
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x410cf5
cmp dword [ebp - 0x14], 4
je 0x410d00
mov dword [ebp - 4], 0x88000060
jmp 0x410d0c
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x410d1c
cmp dword [ebp - 0x10], 0
je 0x410d1c
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x4177f0
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x417829
cmp dword [0x4b7128], 0
jne 0x417827
push 0
mov eax, dword [ebp + 8]
push eax
push 0x417620
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x4b7128], eax
cmp dword [0x4b7128], 0
jne 0x417827
xor eax, eax
jmp 0x41784e
jmp 0x417849
cmp dword [0x4b7128], 0
je 0x41783f
mov ecx, dword [0x4b7128]
push ecx
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov dword [0x4b7128], 0
mov eax, 1
pop ebp
ret 8

Function at 0x41a750
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4880a3
mov eax, dword fs:[0]
push eax
sub esp, 0xa34
mov eax, dword [0x4b555c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov al, byte [0x4934e1]
mov byte [ebp - 0xa24], al
push 0x200
push 0
lea ecx, [ebp - 0xa23]
push ecx
call fcn.0046fb70
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.00403910
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dl, byte [0x4934e2]
mov byte [ebp - 0x41c], dl
push 0x3ff
push 0
lea eax, [ebp - 0x41b]
push eax
call fcn.0046fb70
add esp, 0xc
mov cl, byte [0x4934e3]
mov byte [ebp - 0x81c], cl
push 0x3ff
push 0
lea edx, [ebp - 0x81b]
push edx
call fcn.0046fb70
add esp, 0xc
mov dword [ebp - 0x14], 0
push 0x104
lea eax, [ebp - 0xa24]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0xa24]
push ecx
lea ecx, [ebp - 0xa28]
call fcn.00403930
mov dword [ebp - 0xa34], eax
mov edx, dword [ebp - 0xa34]
mov dword [ebp - 0xa38], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xa38]
push eax
lea ecx, [ebp - 0x18]
call fcn.004039d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa28]
call fcn.004039b0
push 0x5c
lea ecx, [ebp - 0x18]
call fcn.00417110
push eax
lea ecx, [ebp - 0xa2c]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00417160
mov dword [ebp - 0xa3c], eax
mov edx, dword [ebp - 0xa3c]
mov dword [ebp - 0xa40], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xa40]
push eax
lea ecx, [ebp - 0x18]
call fcn.004039d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa2c]
call fcn.004039b0
push 0x4936ac
lea ecx, [ebp - 0x18]
call fcn.00403a30
lea ecx, [ebp - 0x18]
call fcn.00403e30
push eax
push 0
push 0x4936b8
push 0x4936c4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x4b70f0], eax
mov ecx, dword [0x4b70f0]
mov dword [ebp - 0xa30], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004039b0
mov eax, dword [ebp - 0xa30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0046df66
mov esp, ebp
pop ebp
ret
Function at 0x41a960
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4880e9
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x4b555c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov al, byte [0x4934f9]
mov byte [ebp - 0x224], al
push 0x200
push 0
lea ecx, [ebp - 0x223]
push ecx
call fcn.0046fb70
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.00403910
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
push edx
call fcn.0041a910
add esp, 4
test eax, eax
jne 0x41a9ef
mov dword [ebp - 0x228], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004039b0
mov eax, dword [ebp - 0x228]
jmp 0x41aaed
push 0x104
lea eax, [ebp - 0x224]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x22c]
call fcn.00403930
mov dword [ebp - 0x238], eax
mov edx, dword [ebp - 0x238]
mov dword [ebp - 0x23c], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x10]
call fcn.004039d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x22c]
call fcn.004039b0
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.00417110
push eax
lea ecx, [ebp - 0x230]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00417160
mov dword [ebp - 0x240], eax
mov edx, dword [ebp - 0x240]
mov dword [ebp - 0x244], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x244]
push eax
lea ecx, [ebp - 0x10]
call fcn.004039d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.004039b0
push 0x4936cc
lea ecx, [ebp - 0x10]
call fcn.00403a30
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x10]
call fcn.00403e30
push eax
push 0
push 0x4936d8
push 0x4936e0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x14], eax
xor ecx, ecx
cmp dword [ebp - 0x14], 0
setg cl
mov dword [ebp - 0x234], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004039b0
mov eax, dword [ebp - 0x234]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0046df66
mov esp, ebp
pop ebp
ret
Function at 0x41d9d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x540
mov eax, dword [0x4b555c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x540], 0xffff
mov dword [ebp - 0x414], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
lea eax, [ebp - 0x540]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Process32First
lea edx, [ebp - 0x51c]
push edx
call fcn.0047159a
add esp, 4
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x51c]
push ecx
call fcn.00470990
add esp, 8
test eax, eax
jne 0x41da76
mov edx, dword [ebp - 0x538]
mov dword [ebp - 0x414], edx
mov eax, dword [ebp - 0x414]
push eax
push 0
push 0x10
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41da76
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
lea edx, [ebp - 0x540]
push edx
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x41da21
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0xc]
mov dword [ecx], edx
mov al, byte [0x49356e]
mov byte [ebp - 0x410], al
push 0x3ff
push 0
lea ecx, [ebp - 0x40f]
push ecx
call fcn.0046fb70
add esp, 0xc
push 0x10
lea edx, [ebp - 0x410]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
call fcn.0046ff44
add esp, 0xc
mov edx, dword [ebp + 0xc]
mov eax, dword [0x4b7130]
cmp eax, dword [edx]
jae 0x41dae1
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [0x4b7130], edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046df66
mov esp, ebp
pop ebp
ret 8
Function at 0x41f3d0
Capabilities:
Check os version
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2ac
mov eax, dword [0x4b555c]
xor eax, ebp
mov dword [ebp - 8], eax
push 0x9c
push 0
lea eax, [ebp - 0x2a8]
push eax
call fcn.0046fb70
add esp, 0xc
mov dword [ebp - 0x2a8], 0x9c
lea ecx, [ebp - 0x2a8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41f43b
mov dword [ebp - 0x2a8], 0x94
lea edx, [ebp - 0x2a8]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x41f43b
xor eax, eax
jmp 0x41f524
mov dword [ebp - 0x208], 0x1fc
mov dword [ebp - 0x1fc], 2
mov eax, dword [0x4b6e34]
mov dword [ebp - 0x204], eax
mov dword [ebp - 0x200], 0x91
mov dword [ebp - 0x1f8], 0x464
cmp dword [ebp - 0x2a4], 5
jb 0x41f499
cmp dword [ebp - 0x2a0], 1
jb 0x41f499
push 0x80
call fcn.00404eb0
mov ecx, eax
call fcn.00420b70
mov dword [ebp - 0x1f4], eax
jmp 0x41f4b0
push 0x80
call fcn.00404eb0
mov ecx, eax
call fcn.00420b70
mov dword [ebp - 0x1f4], eax
mov dword [ebp - 0x1fc], 7
push 0x4b6c30
lea ecx, [ebp - 0x1f0]
push ecx
call fcn.0046fa70
add esp, 8
lea edx, [ebp - 0x208]
push edx
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov dword [0x4b6e38], 0
push 0
call fcn.0041ee90
add esp, 4
call fcn.00404eb0
mov dword [ebp - 0x2ac], eax
push 0
mov eax, dword [ebp - 0x2ac]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2ac]
mov eax, dword [edx + 0x74]
call eax
mov ecx, eax
call fcn.00404f10
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0046df66
mov esp, ebp
pop ebp
ret

Function at 0x41f540
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a8
mov eax, dword [0x4b555c]
xor eax, ebp
mov dword [ebp - 8], eax
push 0x9c
push 0
lea eax, [ebp - 0x2a8]
push eax
call fcn.0046fb70
add esp, 0xc
mov dword [ebp - 0x2a8], 0x9c
lea ecx, [ebp - 0x2a8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41f5ab
mov dword [ebp - 0x2a8], 0x94
lea edx, [ebp - 0x2a8]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x41f5ab
xor eax, eax
jmp 0x41f65c
mov dword [ebp - 0x208], 0x1fc
mov dword [ebp - 0x1fc], 2
mov eax, dword [0x4b6e34]
mov dword [ebp - 0x204], eax
mov dword [ebp - 0x200], 0x91
mov dword [ebp - 0x1f8], 0x464
cmp dword [ebp - 0x2a4], 5
jb 0x41f609
cmp dword [ebp - 0x2a0], 1
jb 0x41f609
push 0x80
call fcn.00404eb0
mov ecx, eax
call fcn.00420b70
mov dword [ebp - 0x1f4], eax
jmp 0x41f620
push 0x80
call fcn.00404eb0
mov ecx, eax
call fcn.00420b70
mov dword [ebp - 0x1f4], eax
mov dword [ebp - 0x1fc], 7
push 0x4b6c30
lea ecx, [ebp - 0x1f0]
push ecx
call fcn.0046fa70
add esp, 8
lea edx, [ebp - 0x208]
push edx
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov dword [0x4b6e38], 1
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0046df66
mov esp, ebp
pop ebp
ret
Function at 0x424890
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x4b555c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x130], ecx
lea ecx, [ebp - 0x14]
call fcn.004245e0
mov eax, dword [ebp - 0x130]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x130]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00424820
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4248fb
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x124], edx
lea ecx, [ebp - 0x14]
call fcn.00424610
mov eax, dword [ebp - 0x124]
jmp 0x42498c
mov dword [ebp - 4], 0x100
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x120]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x424961
lea ecx, [ebp - 0x120]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00424890
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x424958
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x128], edx
lea ecx, [ebp - 0x14]
call fcn.00424610
mov eax, dword [ebp - 0x128]
jmp 0x42498c
mov dword [ebp - 4], 0x100
jmp 0x424902
lea ecx, [ebp - 0x14]
call fcn.00424750
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x130]
call fcn.00424690
mov dword [ebp - 0x12c], eax
lea ecx, [ebp - 0x14]
call fcn.00424610
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0046df66
mov esp, ebp
pop ebp
ret 4
Function at 0x4250a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
xor eax, eax
jne 0x4250a9
xor ecx, ecx
jne 0x4250a9
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jne 0x4250ca
mov eax, 0xd
jmp 0x4250f6
xor eax, eax
jne 0x4250b1
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x425100
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x425109
xor ecx, ecx
jne 0x425109
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x42512a
mov eax, 0xd
jmp 0x42517f
xor eax, eax
jne 0x425111
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
cmp dword [ebp - 0xc], 1
jne 0x42513b
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 7
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret 8
Function at 0x429f00
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x8c], 0
jne 0x429f1c
xor eax, eax
jmp 0x42a021
mov ecx, dword [ebp - 0x10]
call fcn.0042b3c0
test eax, eax
je 0x429f76
lea ecx, [ebp - 4]
push ecx
push 4
mov edx, dword [ebp - 0x10]
push edx
push 0x42a870
push 0
push 0
call fcn.00471f7e
add esp, 0x18
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xa8], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0xa8], 0
jne 0x429f61
xor eax, eax
jmp 0x42a021
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xa8]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x42a01f
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0xb0], 0
je 0x42a01f
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xb0]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xb0]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 0x18]
call eax
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xb0]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xb0]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x1c]
call ecx
push 0
mov edx, dword [ebp - 0xc]
neg edx
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
push 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x68]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x64]
push edx
push 0
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x90]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xb0]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xb0]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x20]
call ecx
test eax, eax
jne 0x42a01f
push 0
mov ecx, dword [ebp - 0x10]
call fcn.00419430
mov eax, 1
jmp 0x42a021
xor eax, eax
mov esp, ebp
pop ebp
ret