joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a2240
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3ac
mov eax, dword [0x75aa5c]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x3a8], ecx
cmp dword [ebp + 8], 0
je 0x4a2265
cmp dword [ebp + 0x10], 0
jne 0x4a226d
or eax, 0xffffffff
jmp 0x4a245b
lea ecx, [ebp - 0x3a0]
call fcn.004016b0
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x4a22ee
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x4a2298
mov edx, dword [ebp + 8]
mov eax, dword [edx]
sub eax, 4
mov dword [ebp - 0x3ac], eax
jmp 0x4a22a2
mov dword [ebp - 0x3ac], 0
mov ecx, dword [ebp - 0x3ac]
mov dword [ebp - 0x3a4], ecx
cmp dword [ebp - 0x3a4], 0
je 0x4a22e3
mov ecx, dword [ebp - 0x3a4]
call fcn.00401980
push eax
lea ecx, [ebp - 0x3a0]
call fcn.00401830
lea edx, [ebp - 0x3a0]
push edx
mov ecx, dword [ebp - 0x3a8]
add ecx, 0x54
call fcn.00469b40
mov eax, dword [ebp + 8]
add eax, 4
mov dword [ebp + 8], eax
jmp 0x4a2278
mov ecx, dword [ebp - 0x3a8]
add ecx, 0x54
call fcn.00469ae0
test eax, eax
jne 0x4a231a
push 0x6fab94
push 0x6fabb0
call fcn.005b18aa
add esp, 8
or eax, 0xffffffff
jmp 0x4a245b
call fcn.00489a70
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4a2342
push str.CFavoriteMgr::Initialize
push str._s___Failed_to_get_encryption_key._n
call fcn.005b18aa
add esp, 8
or eax, 0xffffffff
jmp 0x4a245b
push 0x20
mov ecx, dword [ebp - 0x3a8]
push ecx
push 0x4d
mov ecx, dword [ebp - 8]
call fcn.00489b00
mov ecx, dword [ebp - 0x3a8]
add ecx, 0x54
call fcn.00469ae0
push eax
mov ecx, dword [ebp - 0x3a8]
add ecx, 0xd8
call fcn.004a4190
mov ecx, dword [ebp - 0x3a8]
add ecx, 0x54
call fcn.00469ae0
cmp eax, 2
jb 0x4a23a3
push 1
mov ecx, dword [ebp - 0x3a8]
add ecx, 0x54
call fcn.00469b00
mov edx, dword [ebp - 0x3a8]
mov dword [edx + 0x6c], eax
jmp 0x4a23bc
push 0
mov ecx, dword [ebp - 0x3a8]
add ecx, 0x54
call fcn.00469b00
mov ecx, dword [ebp - 0x3a8]
mov dword [ecx + 0x6c], eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x3a8]
mov ecx, dword [eax + 0xd4]
call fcn.0049e430
mov ecx, dword [ebp - 0x3a8]
mov edx, dword [ebp + 0x10]
mov dword [ecx + 0x50], edx
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x3a8]
mov dword [ecx + 0xf0], eax
mov edx, dword [ebp - 0x3a8]
cmp dword [edx + 0xf0], 0
jne 0x4a240b
or eax, 0xffffffff
jmp 0x4a245b
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 0x3a8]
push ecx
push 0x4a3f40
push 0
push 0
call fcn.005aa391
add esp, 0x18
mov edx, dword [ebp - 0x3a8]
mov dword [edx + 0xec], eax
mov eax, dword [ebp - 0x3a8]
cmp dword [eax + 0xec], 0
jne 0x4a2459
mov ecx, dword [ebp - 0x3a8]
mov dword [ecx + 0xe8], 1
or eax, 0xffffffff
jmp 0x4a245b
xor eax, eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.005a6f18
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4aa4b0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ced24
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x75aa5c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp + 8]
call fcn.00405590
mov ecx, eax
call fcn.004872f0
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
call fcn.0040b300
mov edx, dword [eax]
push edx
lea ecx, [ebp - 0x10]
call fcn.00405520
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00405530
lea eax, [ebp - 0x28]
push eax
push 0x6fb0d0
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00405540
mov ecx, eax
call fcn.00488060
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
call fcn.0040b2e0
mov edx, dword [eax]
push edx
lea ecx, [ebp - 0x14]
call fcn.00405550
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00405560
lea ecx, [ebp - 0x14]
call fcn.004055a0
test eax, eax
je 0x4aa5b6
lea ecx, [ebp - 0x14]
call fcn.00405590
mov ecx, eax
call fcn.00487630
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4aa5b6
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00405460
mov byte [ebp - 0x29], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00405560
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00405530
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00405560
mov al, byte [ebp - 0x29]
jmp 0x4aa5e4
mov byte [ebp - 0x2a], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00405560
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00405530
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00405560
mov al, byte [ebp - 0x2a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x4d9cd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 3
mov dword [ebp - 0x10], 0x104
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
mov ecx, dword [ebp - 0x14]
push ecx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d9d0f
or eax, 0xffffffff
jmp 0x4d9d57
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
add eax, 0x808
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0x6fb9f8
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d9d3f
or eax, 0xffffffff
jmp 0x4d9d57
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0xa08], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4d9d60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], 0
push 0x6fba04
mov eax, dword [ebp - 0x14]
add eax, 0x400
push eax
lea ecx, [ebp - 8]
push ecx
call fcn.005b1600
add esp, 0xc
cmp dword [ebp - 8], 0
jne 0x4d9dda
push 0x6fba0c
mov edx, dword [ebp - 0x14]
add edx, 0x600
push edx
lea eax, [ebp - 8]
push eax
call fcn.005b1600
add esp, 0xc
cmp dword [ebp - 8], 0
jne 0x4d9dda
push 0x6fba14
mov ecx, dword [ebp - 0x14]
add ecx, 0x200
push ecx
lea edx, [ebp - 8]
push edx
call fcn.005b1600
add esp, 0xc
cmp dword [ebp - 8], 0
jne 0x4d9dda
or eax, 0xffffffff
jmp 0x4d9e68
push 2
push 0
mov eax, dword [ebp - 8]
push eax
call fcn.005ab543
add esp, 0xc
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.005ab44b
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x48
jge 0x4d9e13
mov edx, dword [ebp - 8]
push edx
call fcn.005ab232
add esp, 4
or eax, 0xffffffff
jmp 0x4d9e68
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call fcn.005ab543
add esp, 0xc
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
push 1
mov eax, dword [ebp - 0x14]
add eax, 0x808
push eax
call fcn.005b218b
add esp, 0x10
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0xc]
je 0x4d9e5a
mov edx, dword [ebp - 8]
push edx
call fcn.005ab232
add esp, 4
or eax, 0xffffffff
jmp 0x4d9e68
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov dword [eax + 0xa08], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4d9e70
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
lea eax, [ebp - 0xc]
push eax
push 0x20006
push 0
mov ecx, dword [ebp - 0x14]
push ecx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d9ea1
or eax, 0xffffffff
jmp 0x4d9ee8
mov dword [ebp - 4], 3
mov dword [ebp - 0x10], 0x104
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0xa08]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x808
push ecx
mov edx, dword [ebp - 4]
push edx
push 0
push str.Upid
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d9ee6
or eax, 0xffffffff
jmp 0x4d9ee8
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4d9ef0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
push 0x6fba28
mov eax, dword [ebp - 0xc]
add eax, 0x400
push eax
lea ecx, [ebp - 4]
push ecx
call fcn.005b1600
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0x4d9f67
push 0x6fba30
mov edx, dword [ebp - 0xc]
add edx, 0x600
push edx
lea eax, [ebp - 4]
push eax
call fcn.005b1600
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0x4d9f67
push 0x6fba38
mov ecx, dword [ebp - 0xc]
add ecx, 0x200
push ecx
lea edx, [ebp - 4]
push edx
call fcn.005b1600
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0x4d9f67
or eax, 0xffffffff
jmp 0x4d9fac
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xa08]
push edx
push 1
mov eax, dword [ebp - 0xc]
add eax, 0x808
push eax
call fcn.005ab8a9
add esp, 0x10
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.005ab232
add esp, 4
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
cmp eax, dword [edx + 0xa08]
je 0x4d9faa
or eax, 0xffffffff
jmp 0x4d9fac
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4da260
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x75aa5c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x21c], ecx
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.005a7100
add esp, 0xc
mov dword [ebp - 0x218], 0
lea edx, [ebp - 0x218]
push edx
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x218]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push 0x6fba68
push 0x104
lea edx, [ebp - 0x210]
push edx
call fcn.005b30a3
add esp, 0xc
call fcn.004d88c0
add eax, 0x9c
mov ecx, eax
call fcn.00405490
push eax
push 0x104
lea eax, [ebp - 0x210]
push eax
call fcn.005b30a3
add esp, 0xc
push 0x6fba6c
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call fcn.005b30a3
add esp, 0xc
call fcn.004d88c0
add eax, 0xb8
mov ecx, eax
call fcn.00405490
push eax
push 0x104
lea edx, [ebp - 0x210]
push edx
call fcn.005b30a3
add esp, 0xc
push 0
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
je 0x4da37a
cmp dword [ebp - 0x214], 0xb7
je 0x4da37a
cmp dword [ebp - 0x214], 0x50
jne 0x4da396
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x21c]
add ecx, 0x78
call fcn.00405460
mov eax, 1
jmp 0x4da398
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005a6f18
mov esp, ebp
pop ebp
ret
Function at 0x4da880
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x765d2c
call fcn.00427a10
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 8]
push edx
mov ecx, 0x765d2c
call fcn.00427a10
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.005a7f00
add esp, 0xc
lea edx, [ebp - 8]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push 1
mov ecx, dword [ebp - 8]
push ecx
call fcn.004dadc0
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4da922
or eax, 0xffffffff
jmp 0x4da98f
mov ecx, dword [ebp - 0x14]
call fcn.004daea0
test eax, eax
je 0x4da933
or eax, 0xffffffff
jmp 0x4da98f
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x28]
call fcn.004da9a0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0
je 0x4da986
push 1
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20]
mov edx, dword [eax]
call edx
mov dword [ebp - 0x2c], eax
jmp 0x4da98d
mov dword [ebp - 0x2c], 0
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x4e4fb0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 0x44], ecx
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x4e4fec
push 0x26
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jl 0x4e4fe4
push 0x28
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x4e4fec
or eax, 0xffffffff
jmp 0x4e50f1
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 4
call fcn.0041e830
mov ecx, dword [ebp + 0x10]
and ecx, 0xffff
movzx edx, cx
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0x10]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x24], 0
mov edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4e50ef
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x44]
mov ecx, dword [edx + 0x5c]
call fcn.004eb790
test eax, eax
je 0x4e50ef
mov ecx, dword [ebp - 0x44]
call fcn.004e5220
mov ecx, dword [ebp - 0x44]
call fcn.004e5b50
test eax, eax
je 0x4e50ef
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x34], 0xbd2
mov ecx, dword [ebp - 0x44]
add ecx, 4
call fcn.00460c10
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], 0
mov edx, dword [ebp - 0x44]
mov ecx, dword [edx + 0x5c]
call fcn.004eb840
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x5c]
call fcn.004eb770
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x44]
add ecx, 4
call fcn.00460c10
push eax
push 0x4e
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [ebp - 0x44]
add ecx, 4
call fcn.004275a0
mov ecx, eax
call fcn.00427030
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4f4b60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
call fcn.004f5040
cmp dword [ebp + 0xc], 0
je 0x4f4c89
mov dword [ebp - 8], 0
push 0x6fd3b8
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 8]
push ecx
call fcn.005b1600
add esp, 0xc
cmp dword [ebp - 8], 0
je 0x4f4c80
push 2
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.005ab543
add esp, 0xc
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
push eax
call fcn.005ab44b
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x10], eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call fcn.005ab543
add esp, 0xc
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x18]
push edx
push 1
mov eax, dword [ebp - 0x10]
push eax
call fcn.005b218b
add esp, 0x10
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x18]
jae 0x4f4c34
mov edx, dword [ebp - 8]
push edx
call fcn.005ab232
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor eax, eax
jmp 0x4f4ccc
mov ecx, dword [ebp - 8]
push ecx
call fcn.005ab232
add esp, 4
mov dword [ebp - 0x1c], 0
lea edx, [ebp - 0x1c]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.004f4ce0
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ecx + 8]
call eax
jmp 0x4f4c87
mov dword [ebp - 4], 0
jmp 0x4f4cc9
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004f50e0
add esp, 8
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x24]
cmp dword [edx + 8], 0
jne 0x4f4cb4
mov dword [ebp - 4], 0
jmp 0x4f4cc9
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 8]
call fcn.004daea0
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x505f10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
mov edx, dword [ebp - 0xc]
cmp dword [edx + 4], 0
je 0x505f3a
cmp dword [ebp + 8], 0
jne 0x505f3f
or eax, 0xffffffff
jmp 0x505f9e
push 0x6ff0f4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x505f63
or eax, 0xffffffff
jmp 0x505f9e
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x5093a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6d398b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x75aa5c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.0050bec0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
call fcn.0050bf00
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.0050ca30
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.0050bf20
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.0050ca60
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.0050bf40
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.CWebContainer.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], vtable.CWebContainer.4.0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc], vtable.CWebContainer.3.0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x10], vtable.CWebContainer.2.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1c], vtable.CWebContainer.1.0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x24], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x28], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x34], 0x70
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x38], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x3c], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x148
call fcn.0050cae0
mov ecx, dword [ebp - 0x10]
add ecx, 0x14c
call fcn.0050cc30
mov ecx, dword [ebp - 0x10]
add ecx, 0x150
call fcn.0050cce0
mov ecx, dword [ebp - 0x10]
add ecx, 0x154
call fcn.0050be40
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x140], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x144], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x30], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x2c], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x158], 0
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
Function at 0x50dc00
Capabilities:
Set registry value
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6d3bf9
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x75aa5c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x765564], 0
jne 0x50dcde
lea ecx, [ebp - 0x2c]
call fcn.00405380
mov dword [ebp - 4], 0
call fcn.004d88c0
add eax, 0xb8
mov ecx, eax
call fcn.00405490
push eax
call fcn.004d88c0
add eax, 0x9c
mov ecx, eax
call fcn.00405490
push eax
push 0x6fff44
lea eax, [ebp - 0x2c]
push eax
call fcn.0042f540
add esp, 0x10
mov ecx, dword [ebp + 0xc]
call fcn.004054a0
shl eax, 1
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00405490
push eax
push 1
push str.Language
lea ecx, [ebp - 0x2c]
call fcn.00405490
push eax
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
je 0x50dcca
mov dword [ebp - 0x54], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00405410
mov eax, dword [ebp - 0x54]
jmp 0x50ddb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00405410
jmp 0x50ddae
push 0x6fff78
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x50]
push edx
call fcn.0040b210
add esp, 0xc
mov dword [ebp - 4], 1
mov dword [ebp - 0x34], 0
push 0x6fff84
lea ecx, [ebp - 0x50]
call fcn.00405490
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.005b1600
add esp, 0xc
cmp dword [ebp - 0x34], 0
jne 0x50dd3c
mov dword [ebp - 0x58], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00405410
mov eax, dword [ebp - 0x58]
jmp 0x50ddb0
mov ecx, dword [ebp - 0x34]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.004054a0
push eax
push 2
mov ecx, dword [ebp + 0xc]
call fcn.00405490
push eax
call fcn.005ab8a9
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp + 0xc]
call fcn.004054a0
cmp dword [ebp - 0x30], eax
je 0x50dd93
mov edx, dword [ebp - 0x34]
push edx
call fcn.005ab232
add esp, 4
mov dword [ebp - 0x5c], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00405410
mov eax, dword [ebp - 0x5c]
jmp 0x50ddb0
mov eax, dword [ebp - 0x34]
push eax
call fcn.005ab232
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00405410
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005a6f18
mov esp, ebp
pop ebp
ret
Function at 0x50e7f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.00511d50
mov ecx, dword [ebp - 4]
add ecx, 0x5458
call fcn.00546b40
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x525c]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x525c]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x14]
call eax
push 2
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x1dd0]
call fcn.0053a6c0
push 0xa
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x34]
call edx
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1dd4], 0xffffffff
jne 0x50e866
mov ecx, dword [ebp - 4]
call fcn.00514130
test eax, eax
je 0x50e875
push 1
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x44]
call eax
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x5340], 0
je 0x50e8a0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5340]
cmp dword [eax + 4], 0
je 0x50e8a0
push 0
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x5340]
call fcn.0053b730
push 0xd
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x34]
call edx
push eax
call dword [sym.imp.USER32.dll_KillTimer]
push 0x17
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x34]
call eax
push eax
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 5
push 0x140b
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x34]
call eax
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esp, ebp
pop ebp
ret