joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4377d0
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44c
mov eax, dword [0x4f7458]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x44c], ecx
mov eax, dword [0x4cf824]
mov dword [ebp - 0x208], eax
mov ecx, dword [0x4cf828]
mov dword [ebp - 0x204], ecx
push 0x1f8
push 0
lea edx, [ebp - 0x200]
push edx
call fcn.0048ac80
add esp, 0xc
push 0x100
lea eax, [ebp - 0x448]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.Regsvr32.exe
push 0x100
lea ecx, [ebp - 0x448]
push ecx
call fcn.0048cdd9
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x437862
mov edx, dword [ebp + 8]
push edx
push str._s__u___s_
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp 0x43787b
mov ecx, dword [ebp + 8]
push ecx
push str._s___s_
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x244], 0
push 0x38
push 0
lea eax, [ebp - 0x240]
push eax
call fcn.0048ac80
add esp, 0xc
mov dword [ebp - 0x244], 0x3c
mov dword [ebp - 0x240], 0x40
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0x4ca668
lea ecx, [ebp - 0x448]
mov dword [ebp - 0x234], ecx
lea edx, [ebp - 0x208]
mov dword [ebp - 0x230], edx
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 1
mov dword [ebp - 0x224], 0
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call dword [sym.imp.KERNEL32.dll_GetLastError]
neg eax
sbb eax, eax
add eax, 1
jne 0x43792d
xor eax, eax
jmp 0x437932
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048abfc
mov esp, ebp
pop ebp
ret 8
Function at 0x437e10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1b76
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x4f7458]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2a4], ecx
mov dword [ebp - 0x22c], 0
lea ecx, [ebp - 0x220]
call fcn.004023d0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0xff
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x21c]
push ecx
push 0
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.0048bb5c
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x10], 0
jne 0x437fbf
lea edx, [ebp - 0x21c]
test edx, edx
jne 0x437eb3
mov dword [ebp - 0x23c], 0
jmp 0x437ec8
lea eax, [ebp - 0x21c]
push eax
call fcn.0048bb5c
add esp, 4
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp - 0x23c]
push ecx
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x220]
call fcn.00411b20
lea ecx, [ebp - 0x220]
call fcn.0043bc30
push 0
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x220]
call fcn.0040f610
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0xffffffff
je 0x437f5c
mov ecx, dword [ebp - 0x224]
push ecx
lea edx, [ebp - 0x228]
push edx
lea ecx, [ebp - 0x220]
call fcn.0040f7f0
mov dword [ebp - 0x2a8], eax
mov eax, dword [ebp - 0x2a8]
mov dword [ebp - 0x258], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x258]
push ecx
lea ecx, [ebp - 0x220]
call fcn.004118e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.00402470
xor edx, edx
jl 0x437f78
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x260], ecx
cmp dword [ebp - 0x260], 0
jge 0x437f82
push 0x80070057
call fcn.00402430
xor edx, edx
shl edx, 1
mov eax, dword [ebp - 0x220]
mov cx, word [eax + edx]
mov word [ebp - 0x262], cx
movzx edx, word [ebp - 0x262]
cmp edx, 0x22
jne 0x437fb2
push 1
push 0
lea ecx, [ebp - 0x220]
call fcn.0043b970
push 0x22
lea ecx, [ebp - 0x220]
call fcn.0043bd90
mov eax, dword [ebp - 0x220]
sub eax, 0x10
mov dword [ebp - 0x298], eax
mov ecx, dword [ebp - 0x298]
push ecx
call fcn.00411c60
add esp, 4
mov dword [ebp - 0x29c], eax
mov edx, dword [ebp - 0x29c]
add edx, 0x10
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp - 0x22c]
or ecx, 1
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.00402470
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0048abfc
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43f5a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0xc], 1
jl 0x43f5b8
cmp dword [ebp + 0xc], 8
jg 0x43f5b8
mov byte [ebp - 5], 1
jmp 0x43f5bc
mov byte [ebp - 5], 0
push str.bad_pack_level
movzx eax, byte [ebp - 5]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0043d0c0
add esp, 0xc
mov edx, dword [ebp + 8]
mov dword [edx + 0x6af78], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x6af70], 0
jne 0x43f605
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af78], 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x6af70], 0x10000
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af6c], 0
push 0x1fffc
push 0
mov ecx, dword [ebp + 8]
add ecx, 0x4af70
push ecx
call fcn.0048ac80
add esp, 0xc
mov edx, dword [ebp + 0xc]
movzx eax, word [edx*8 + 0x4d0c22]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af98], eax
mov edx, dword [ebp + 0xc]
movzx eax, word [edx*8 + 0x4d0c20]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af9c], eax
mov edx, dword [ebp + 0xc]
movzx eax, word [edx*8 + 0x4d0c24]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6afa0], eax
mov edx, dword [ebp + 0xc]
movzx eax, word [edx*8 + 0x4d0c26]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af94], eax
cmp dword [ebp + 0xc], 2
jg 0x43f692
mov edx, dword [ebp + 0x10]
movzx eax, word [edx]
or eax, 4
mov ecx, dword [ebp + 0x10]
mov word [ecx], ax
jmp 0x43f6a7
cmp dword [ebp + 0xc], 8
jl 0x43f6a7
mov edx, dword [ebp + 0x10]
movzx eax, word [edx]
or eax, 2
mov ecx, dword [ebp + 0x10]
mov word [ecx], ax
mov edx, dword [ebp + 8]
mov dword [edx + 0x6af84], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af74], 0
mov dword [ebp - 4], 0x8000
mov ecx, dword [ebp - 4]
shl ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
add eax, 0x1af70
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
call eax
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af90], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x6af90], 0
je 0x43f70d
mov eax, dword [ebp + 8]
cmp dword [eax + 0x6af90], 0xffffffff
jne 0x43f729
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af8c], 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x6af90], 0
jmp 0x43f7a1
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af8c], 0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x6af90], 0x106
jae 0x43f751
mov edx, dword [ebp + 8]
push edx
call fcn.0043fb30
add esp, 4
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af7c], 0
mov dword [ebp - 4], 0
jmp 0x43f770
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 2
jae 0x43f7a1
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x6af7c]
shl eax, 5
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x1af70]
xor eax, edx
and eax, 0x7fff
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af7c], eax
jmp 0x43f767
mov esp, ebp
pop ebp
ret
Function at 0x441520
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x441530
xor eax, eax
jmp 0x4416cd
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x44168e
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4d0c70]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4d0c70]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x4d0c70]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4d0c70]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4d0c70]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x4d0c70]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4d0c70]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4d0c70]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x441539
cmp dword [ebp + 0x10], 0
je 0x4416c7
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x4d0c70]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x441694
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x441f00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0
je 0x44204a
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x1c]
add edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
cmp edx, dword [eax + 0x20]
jb 0x442017
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x20]
shl edx, 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp + 0xc]
cmp edx, ecx
jbe 0x441f4d
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x20]
shl eax, 1
mov dword [ebp - 0x18], eax
jmp 0x441f59
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x1c]
add edx, dword [ebp + 0xc]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x441f86
mov eax, 0x300
jmp 0x442084
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 4]
push edx
push 0
push 0
push 0xf001f
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x441fc8
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 8], 0
mov eax, 0x300
jmp 0x442084
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x20]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.0048ec60
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov dword [edx + 0x20], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov dword [ecx + 0x18], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x18]
mov eax, dword [ebp - 0x14]
add edx, dword [eax + 0x1c]
push edx
call fcn.0048ec60
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x1c]
add edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp + 0xc]
jmp 0x442084
mov ecx, dword [ebp - 0x14]
cmp dword [ecx], 0
je 0x442078
mov dword [ebp - 0x10], 0
push 0
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x10]
jmp 0x442084
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0xc], 0x1000000
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x442690
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x64], 0
je 0x442737
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x6c]
cmp eax, dword [edx + 0x68]
jb 0x4426bb
xor eax, eax
jmp 0x4427a7
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x68]
sub eax, dword [edx + 0x6c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jbe 0x4426d8
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x64]
mov eax, dword [ebp - 0x10]
add edx, dword [eax + 0x6c]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.0048ec60
add esp, 0xc
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x6c]
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x6c], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x54]
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x54], eax
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x58]
push edx
call fcn.00441520
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x58], eax
mov eax, dword [ebp - 4]
jmp 0x4427a7
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x5c], 0
je 0x44279b
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x5c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x442768
xor eax, eax
jmp 0x4427a7
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x54]
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x54], eax
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x58]
push edx
call fcn.00441520
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x58], eax
mov eax, dword [ebp - 0xc]
jmp 0x4427a7
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc], 0x1000000
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x445190
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x168
mov eax, dword [0x4f7458]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x114], 0
push 0x104
push 0
lea eax, [ebp - 0x110]
push eax
call fcn.0048ac80
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x110]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x110]
push ecx
call fcn.0048f420
add esp, 8
lea edx, [ebp - 0x110]
push edx
mov ecx, dword [ebp + 8]
call fcn.00411370
mov eax, dword [ebp - 0x114]
or eax, 1
mov dword [ebp - 0x114], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048abfc
mov esp, ebp
pop ebp
ret
Function at 0x44eb37
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 0x44eb5b
cmp dword [edi + 0x54], 0
jne 0x44eb5b
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.004585c4
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.0044eaf8
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 0x44f22e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x44f276
call fcn.004585c4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x44f276
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x44f2b9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x44f2a2
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x44f2a2
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x44f2b6
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x45679d
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 0x4567e4
call fcn.004585c4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4567e4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x456800
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00456315
mov esi, eax
test edi, edi
je 0x4567fe
test ebx, ebx
je 0x4567fe
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x457338
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4c3646
call fcn.00490ff5
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x45735d
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4573a3
lea ecx, [ebp - 0x10]
call fcn.004023d0
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.004485b8
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.00403de0
mov eax, esi
call fcn.004910cd
ret 8

Function at 0x463b77
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
mov eax, 0x4c45d9
call fcn.00490ff5
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00411290
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x463bd9
call fcn.004579ed
cmp eax, 1
jne 0x463bd9
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push 0x4d20d0
push eax
call fcn.0040fa50
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.004118e0
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00403de0
mov dword [ebp + 8], VariantInit
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.00403de0
mov eax, esi
call fcn.004910cd
ret 0x10

Function at 0x463c02
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0x4c4604
call fcn.00490ff5
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00411290
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x463c64
call fcn.004579ed
cmp eax, 1
jne 0x463c64
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push 0x4d20d0
push eax
call fcn.0040fa50
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.004118e0
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00403de0
mov dword [ebp + 8], VariantInit
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00403de0
mov eax, esi
call fcn.004910cd
ret 0x14

Function at 0x463c90
Capabilities:
Delete registry key

Disassembly:
push 0
mov eax, 0x4c462f
call fcn.00490ff5
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00411290
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x463cf2
call fcn.004579ed
cmp eax, 1
jne 0x463cf2
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push 0x4d20d0
push eax
call fcn.0040fa50
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.004118e0
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00403de0
mov dword [ebp + 8], VariantInit
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00403de0
mov eax, esi
call fcn.004910cd
ret 8
Function at 0x48abfc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4f7458]
jne 0x48ac06
repz ret
jmp fcn.00497a8d

Function at 0x4ab2b0
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00496097
and dword [ebp - 4], 0
cmp dword [0x4fb694], 0
mov ebx, eax
jne 0x4ab361
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4ab412
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4ab412
push eax
call fcn.00496025
mov dword [esp], 0x4dafcc
push edi
mov dword [0x4fb694], eax
call esi
push eax
call fcn.00496025
mov dword [esp], 0x4dafb8
push edi
mov dword [0x4fb698], eax
call esi
push eax
call fcn.00496025
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4fb69c], eax
call esi
push eax
call fcn.00496025
pop ecx
mov dword [0x4fb6a4], eax
test eax, eax
je 0x4ab361
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00496025
pop ecx
mov dword [0x4fb6a0], eax
mov eax, dword [0x4fb6a0]
cmp eax, ebx
je 0x4ab3b9
cmp dword [0x4fb6a4], ebx
je 0x4ab3b9
push eax
call fcn.004960a0
push dword [0x4fb6a4]
mov esi, eax
call fcn.004960a0
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4ab3b9
test edi, edi
je 0x4ab3b9
call esi
test eax, eax
je 0x4ab3b0
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4ab3b0
test byte [ebp - 0xc], 1
jne 0x4ab3b9
or dword [ebp + 0x10], 0x200000
jmp 0x4ab3f2
mov eax, dword [0x4fb698]
cmp eax, ebx
je 0x4ab3f2
push eax
call fcn.004960a0
pop ecx
test eax, eax
je 0x4ab3f2
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4ab3f2
mov eax, dword [0x4fb69c]
cmp eax, ebx
je 0x4ab3f2
push eax
call fcn.004960a0
pop ecx
test eax, eax
je 0x4ab3f2
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4fb694]
call fcn.004960a0
pop ecx
test eax, eax
je 0x4ab412
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4ab414
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret