joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409800
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ee7b9
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x52e1e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
je 0x40988c
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0x51c2a8
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], 0x51c2a0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x14], 0x51c298
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x1c], 0x51c050
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x24], 0x51c048
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x2c], 0x51c040
mov ecx, dword [ebp - 0x10]
add ecx, 0x40
call fcn.004097e0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
or eax, 1
mov dword [ebp - 0x14], eax
push 0
mov ecx, dword [ebp - 0x10]
call fcn.004099e0
mov dword [ebp - 4], 1
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.00409a10
mov byte [ebp - 4], 2
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.00409a40
mov byte [ebp - 4], 3
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00409a70
mov byte [ebp - 4], 4
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.00409aa0
mov byte [ebp - 4], 5
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call fcn.00409ad0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
mov dword [ecx], vtable.CCefBrowserView.6.0
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], vtable.CCefBrowserView.5.0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x10], vtable.CCefBrowserView.4.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], vtable.CCefBrowserView.3.0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x20], vtable.CCefBrowserView.2.0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x28], vtable.CCefBrowserView.1.0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + eax + 4], vtable.CCefBrowserView.0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 4]
sub ecx, 0x3c
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov dword [eax + edx], ecx
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x30], 0
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.00402a60
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.00403140
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x40b730
Capabilities:
Query environment variable
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eec83
mov eax, dword fs:[0]
push eax
mov eax, 0x2020
call fcn.004b7d50
mov eax, dword [0x52e1e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x2010], ax
push 0x1ffe
push 0
lea ecx, [ebp - 0x200e]
push ecx
call fcn.004c9a10
add esp, 0xc
push 0x1000
lea edx, [ebp - 0x2010]
push edx
push str.path
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x2028]
call fcn.00409160
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2010]
push ecx
push 0x51390c
lea ecx, [ebp - 0x2028]
call fcn.0040a690
mov ecx, eax
call fcn.0040a690
lea ecx, [ebp - 0x2028]
call fcn.0040de90
push eax
push 0x513910
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov byte [ebp - 0x2029], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2028]
call fcn.004091f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004091f0
mov al, byte [ebp - 0x2029]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b7060
mov esp, ebp
pop ebp
ret
Function at 0x40e930
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x52e1e0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x214]
push eax
push 1
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jne 0x40e9b0
mov dword [ebp - 0x210], 0x104
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push 0
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7060
mov esp, ebp
pop ebp
ret
Function at 0x40e9d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ef3a6
mov eax, dword fs:[0]
push eax
sub esp, 0x458
mov eax, dword [0x52e1e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
je 0x40ea14
mov eax, 2
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, word [edx + ecx]
test eax, eax
jne 0x40ea1c
or eax, 0xffffffff
jmp 0x40ec45
mov dword [ebp - 0x44c], str.open
cmp dword [ebp + 0x10], 0
je 0x40ea36
mov dword [ebp - 0x44c], 0x51532c
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x44c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0x20
ja 0x40ec3f
lea ecx, [ebp - 0x420]
push ecx
push str..htm
push accept
call fcn.0040e930
add esp, 0xc
test eax, eax
jne 0x40ec3f
push str._shellopencommand
lea edx, [ebp - 0x420]
push edx
call fcn.0040f020
add esp, 8
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x420]
push ecx
push accept
call fcn.0040e930
add esp, 0xc
test eax, eax
jne 0x40ec3f
push str.__1_
lea edx, [ebp - 0x420]
push edx
call fcn.0040fff0
add esp, 8
mov dword [ebp - 0x43c], eax
cmp dword [ebp - 0x43c], 0
jne 0x40eb78
push 0x515374
lea eax, [ebp - 0x420]
push eax
call fcn.0040fff0
add esp, 8
mov dword [ebp - 0x43c], eax
cmp dword [ebp - 0x43c], 0
jne 0x40eb6b
lea ecx, [ebp - 0x420]
mov dword [ebp - 0x440], ecx
mov edx, dword [ebp - 0x440]
add edx, 2
mov dword [ebp - 0x450], edx
mov eax, dword [ebp - 0x440]
mov cx, word [eax]
mov word [ebp - 0x442], cx
add dword [ebp - 0x440], 2
cmp word [ebp - 0x442], 0
jne 0x40eb21
mov edx, dword [ebp - 0x440]
sub edx, dword [ebp - 0x450]
sar edx, 1
mov dword [ebp - 0x454], edx
mov eax, dword [ebp - 0x454]
lea ecx, [ebp + eax*2 - 0x422]
mov dword [ebp - 0x43c], ecx
jmp 0x40eb76
xor edx, edx
mov eax, dword [ebp - 0x43c]
mov word [eax], dx
jmp 0x40eb83
xor ecx, ecx
mov edx, dword [ebp - 0x43c]
mov word [edx], cx
push 0x51537c
push 0x206
lea eax, [ebp - 0x420]
push eax
call fcn.004cc040
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 0x206
lea edx, [ebp - 0x420]
push edx
call fcn.004cc040
add esp, 0xc
lea ecx, [ebp - 0x438]
call fcn.00407e80
mov dword [ebp - 4], 0
lea eax, [ebp - 0x438]
mov dword [ebp - 0x45c], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x460], esp
lea edx, [ebp - 0x420]
push edx
call fcn.0040a6c0
mov dword [ebp - 0x458], eax
mov eax, dword [ebp - 0x458]
mov dword [ebp - 0x464], eax
mov byte [ebp - 4], 1
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x45c]
call fcn.00455d20
add esp, 0x18
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x438]
call fcn.00407d10
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov dword [ebp - 0x448], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.00407fd0
mov eax, dword [ebp - 0x448]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b7060
mov esp, ebp
pop ebp
ret
Function at 0x40ed60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ef445
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x52e1e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x250], 0
lea ecx, [ebp - 0x24c]
call fcn.004094b0
mov dword [ebp - 4], 1
push 0
push 0x1a
lea eax, [ebp - 0x21c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x268]
push edx
call fcn.0040ec60
add esp, 8
lea ecx, [ebp - 0x268]
call fcn.004091f0
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.0040a6c0
mov byte [ebp - 4], 2
push 0x515384
lea ecx, [ebp - 0x234]
call fcn.0040ef00
lea ecx, [ebp - 0x234]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00407740
mov edx, dword [ebp - 0x250]
or edx, 1
mov dword [ebp - 0x250], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
call fcn.004091f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24c]
call fcn.004091f0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b7060
mov esp, ebp
pop ebp
ret

Function at 0x40ee60
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0xc], eax
push 0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 8], eax
push 1
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
je 0x40eed7
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov esp, ebp
pop ebp
ret

Function at 0x4110a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0x4110e0
push 0
push 0
call fcn.004cf766
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
jne 0x4110d3
xor eax, eax
jmp 0x4110d8
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x411110
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x52e1e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x230], 0
push 0x228
push 0
lea eax, [ebp - 0x22c]
push eax
call fcn.004c9a10
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0
jne 0x411160
xor eax, eax
jmp 0x4111ca
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x230], 0x22c
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov eax, dword [ebp - 0x228]
cmp eax, dword [ebp + 8]
jne 0x41119f
mov dword [ebp - 0x238], 1
jmp 0x4111b7
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x411188
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7060
mov esp, ebp
pop ebp
ret

Function at 0x4111e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
call fcn.00411000
add esp, 4
mov dword [ebp - 8], eax
mov ecx, 1
test ecx, ecx
je 0x411229
mov edx, dword [ebp - 8]
push edx
call fcn.00411110
add esp, 4
test eax, eax
jne 0x41121c
jmp 0x411229
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x411201
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4115d0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ef72a
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x52e1e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x42c], 0
lea ecx, [ebp - 0x428]
call fcn.00456390
mov dword [ebp - 4], 1
push 0
push 0x1a
lea eax, [ebp - 0x410]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x410]
push ecx
lea ecx, [ebp - 0x428]
call fcn.00456470
push 0x5154e0
lea ecx, [ebp - 0x428]
call fcn.00456490
push 0
lea ecx, [ebp - 0x428]
call fcn.004564b0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, 2
imul eax, edx, 0
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + eax]
cmp edx, 0x5c
je 0x411698
mov eax, 2
imul ecx, eax, 0
mov edx, dword [ebp + 0xc]
movzx eax, word [edx + ecx]
cmp eax, 0x2f
je 0x411698
push 0x515500
lea ecx, [ebp - 0x428]
call fcn.00456490
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x428]
call fcn.00456490
lea edx, [ebp - 0x428]
push edx
mov ecx, dword [ebp + 8]
call fcn.00456400
mov eax, dword [ebp - 0x42c]
or eax, 1
mov dword [ebp - 0x42c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x428]
call fcn.00456460
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b7060
mov esp, ebp
pop ebp
ret
Function at 0x411c90
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ef8dc
mov eax, dword fs:[0]
push eax
sub esp, 0x4ac
mov eax, dword [0x52e1e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x478], ecx
mov dword [ebp - 0x474], 0
push 0x5136a6
lea ecx, [ebp - 0x428]
call fcn.00407b70
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x478]
call fcn.004078f0
movzx eax, al
test eax, eax
je 0x411d27
push 0x5136a7
mov ecx, dword [ebp + 8]
call fcn.00407b70
mov ecx, dword [ebp - 0x474]
or ecx, 1
mov dword [ebp - 0x474], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x428]
call fcn.00407fd0
mov eax, dword [ebp + 8]
jmp 0x411ed4
xor edx, edx
mov word [ebp - 0x410], dx
push 0x3fe
push 0
lea eax, [ebp - 0x40e]
push eax
call fcn.004c9a10
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x470]
call fcn.00407b70
mov byte [ebp - 4], 2
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x490], esp
lea edx, [ebp - 0x470]
push edx
call fcn.004101b0
mov dword [ebp - 0x47c], eax
mov eax, dword [ebp - 0x47c]
mov dword [ebp - 0x494], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x458]
push ecx
mov byte [ebp - 4], 2
call fcn.0040e6f0
add esp, 0x1c
mov dword [ebp - 0x498], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x478]
call fcn.0040de90
push eax
push 0x200
lea edx, [ebp - 0x410]
push edx
push 0x515584
lea ecx, [ebp - 0x458]
call fcn.0040de90
push eax
push str.cookie
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x480], eax
cmp dword [ebp - 0x480], 0
je 0x411e86
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x440]
call fcn.0040a6c0
mov byte [ebp - 4], 5
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x49c], esp
lea edx, [ebp - 0x440]
push edx
call fcn.00409160
mov dword [ebp - 0x484], eax
mov eax, dword [ebp - 0x484]
mov dword [ebp - 0x4a0], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4b8]
push ecx
mov byte [ebp - 4], 5
call fcn.0040e630
add esp, 0x1c
mov dword [ebp - 0x488], eax
mov edx, dword [ebp - 0x488]
mov dword [ebp - 0x48c], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x48c]
push eax
lea ecx, [ebp - 0x428]
call fcn.00411940
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4b8]
call fcn.00407fd0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x440]
call fcn.004091f0
lea ecx, [ebp - 0x428]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00410120
mov edx, dword [ebp - 0x474]
or edx, 1
mov dword [ebp - 0x474], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x458]
call fcn.004091f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x470]
call fcn.00407fd0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x428]
call fcn.00407fd0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b7060
mov esp, ebp
pop ebp
ret 8
Function at 0x4122f0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ef72a
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x52e1e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x42c], 0
lea ecx, [ebp - 0x428]
call fcn.00456390
mov dword [ebp - 4], 1
push 0
push 0x1a
lea eax, [ebp - 0x410]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x410]
push ecx
lea ecx, [ebp - 0x428]
call fcn.00456470
push str.DriveTheLifeUI
lea ecx, [ebp - 0x428]
call fcn.00456490
push 0
lea ecx, [ebp - 0x428]
call fcn.004564b0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, 2
imul eax, edx, 0
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + eax]
cmp edx, 0x5c
je 0x4123b8
mov eax, 2
imul ecx, eax, 0
mov edx, dword [ebp + 0xc]
movzx eax, word [edx + ecx]
cmp eax, 0x2f
je 0x4123b8
push 0x5155dc
lea ecx, [ebp - 0x428]
call fcn.00456490
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x428]
call fcn.00456490
lea edx, [ebp - 0x428]
push edx
mov ecx, dword [ebp + 8]
call fcn.00456400
mov eax, dword [ebp - 0x42c]
or eax, 1
mov dword [ebp - 0x42c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x428]
call fcn.00456460
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b7060
mov esp, ebp
pop ebp
ret

Function at 0x412af0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4efb08
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x52e1e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x10
lea ecx, [ebp - 0x20]
call fcn.004017d0
lea ecx, [ebp - 0x20]
call fcn.00412980
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00412ca0
movzx eax, byte [ebp - 0x14]
test eax, eax
je 0x412b94
mov dword [ebp - 0x5c], 0x3c
push 0x38
push 0
lea ecx, [ebp - 0x58]
push ecx
call fcn.004c9a10
add esp, 0xc
mov dword [ebp - 0x4c], str.ipconfig.exe
mov dword [ebp - 0x48], str._registerdns
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x58], 0x40
lea edx, [ebp - 0x5c]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0x60], 0x2710
push 0x2710
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004129e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b7060
mov esp, ebp
pop ebp
ret
Function at 0x43dda0
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f39e0
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x10
mov eax, dword [0x52e1e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x43de0c
mov ecx, dword [ebp - 0x18]
and ecx, 2
jne 0x43de05
mov edx, dword [ebp - 0x18]
and edx, 1
jne 0x43de05
mov eax, dword [ebp - 0x18]
and eax, 4
je 0x43de0c
mov dword [ebp - 0x20], 1
jmp 0x43de1b
mov dword [ebp - 4], 0xffffffff
jmp 0x43de2b
cmp dword [ebp - 0x20], 0
je 0x43de37
mov byte [ebp - 0x19], 1
jmp 0x43de3b
mov byte [ebp - 0x19], 0
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b7060
mov esp, ebp
pop ebp
ret

Function at 0x43de60
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
push 0
push 1
mov ecx, dword [ebp - 4]
add ecx, 0x14
call fcn.0040de90
push eax
call dword [sym.imp.WININET.dll_InternetCheckConnectionW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x43de8c
mov al, 1
jmp 0x43de9e
call fcn.0043dda0
movzx eax, al
test eax, eax
je 0x43de9c
mov al, 1
jmp 0x43de9e
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x44b2e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x52e1e0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x58]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 8]
push ecx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x44b335
lea edx, [ebp - 0x58]
push edx
push 0x20019
push 0
mov eax, dword [ebp + 8]
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x44b335
xor eax, eax
xor edx, edx
jmp 0x44b3ca
mov dword [ebp - 0x48], 0x40
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x4c]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x58]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x44b36c
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
xor edx, edx
jmp 0x44b3ca
xorps xmm0, xmm0
movlpd qword [ebp - 0x54], xmm0
cmp dword [ebp - 0x4c], 3
jne 0x44b398
cmp dword [ebp - 0x48], 0
je 0x44b398
mov ecx, dword [ebp - 0x48]
push ecx
lea edx, [ebp - 0x44]
push edx
push 8
lea eax, [ebp - 0x54]
push eax
call fcn.00414b60
add esp, 0x10
jmp 0x44b3ba
cmp dword [ebp - 0x4c], 4
jne 0x44b3ba
cmp dword [ebp - 0x48], 0
je 0x44b3ba
mov ecx, dword [ebp - 0x48]
push ecx
lea edx, [ebp - 0x44]
push edx
push 8
lea eax, [ebp - 0x54]
push eax
call fcn.00414b60
add esp, 0x10
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7060
mov esp, ebp
pop ebp
ret

Function at 0x44bb30
Capabilities:
Check mutex on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
push eax
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov edx, dword [ebp - 8]
cmp dword [edx], 0
jne 0x44bb88
mov eax, dword [ebp + 8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xb7
je 0x44bb82
cmp dword [ebp - 0xc], 5
jne 0x44bb86
xor al, al
jmp 0x44bbe7
jmp 0x44bbe5
movzx edx, byte [ebp + 0x14]
test edx, edx
jne 0x44bbe1
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x44bbe1
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_IsHungAppWindow]
test eax, eax
jne 0x44bbe1
push 0
push 0xf120
push 0x112
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 5
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
xor al, al
jmp 0x44bbe7
mov al, 1
mov esp, ebp
pop ebp
ret 0x10