joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f800
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40f815
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40f854
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x40f850
lea ebx, [ebx]
cmp esi, edx
jae 0x40f854
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x40f840
cmp esi, edx
jb 0x40f859
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret

Function at 0x411080
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x411095
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
jmp 0x4110a0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4110a0
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x411120
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test ebx, ebx
jne 0x411139
lea eax, [ebx + 0xd]
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push edi
xor esi, esi
mov edx, ebx
nop
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x411145
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
lea edx, [edx + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x411140
mov eax, dword [ebp - 4]
push esi
push ebx
push 7
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x412500
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549306
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x5aa1b0]
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 eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
push 0x60
push 0
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x4125ac
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x4125ac
call fcn.00412c20
mov esi, eax
jmp 0x4126a7
push dword [ebp - 0x420]
push dword [ebp - 0x41c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x4125cf
call fcn.00412c20
jmp 0x41269a
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x41c], ebx
test ebx, ebx
jne 0x4125ed
call fcn.00412c20
jmp 0x41269a
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x420], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x41260e
mov esi, 0x8007000e
jmp 0x41269c
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.00410930
jmp 0x412643
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
jne 0x41265a
mov esi, 0x8007000e
jmp 0x41269c
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x41267a
call fcn.00412c20
jmp 0x41269a
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.004123a0
mov esi, eax
test edi, edi
je 0x4126a7
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x4126c0
lea ecx, [ebp - 0x418]
call fcn.004108e0
mov eax, esi
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.0052f8d6
mov esp, ebp
pop ebp
ret 0x10

Function at 0x412d50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
movzx eax, ax
mov dword [ebp + 8], eax
pop ebp
jmp fcn.00419713
Function at 0x414810
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549638
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5aa1b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 4], 0
mov dword [ebp - 0x20], 0
push 0x58b9dc
jne 0x41486b
mov ecx, dword [ebp + 8]
call fcn.0040fd60
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x10]
call fcn.0040fd60
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
mov ebx, dword [ebp + 0xc]
push eax
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0
push eax
push 0
push ebx
push dword [edi + 4]
mov dword [ebp - 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x14]
mov dword [edi + 8], eax
test edx, edx
je 0x414957
mov eax, dword [ebp - 0x18]
cmp eax, 2
je 0x414909
cmp eax, 6
je 0x414909
cmp eax, 7
je 0x414909
cmp eax, 1
je 0x414909
cmp eax, 4
jne 0x414957
mov dword [ebp - 0x1c], eax
xor esi, esi
lea eax, [ebp - 0x1c]
mov dword [ebp + 0xc], esi
push eax
lea eax, [ebp + 0xc]
push eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
push esi
push ebx
push dword [edi + 4]
call eax
test eax, eax
mov dword [edi + 8], eax
lea eax, [ebp - 0x10]
cmove esi, dword [ebp + 0xc]
push esi
push 0x58b5dc
push eax
call fcn.0040f770
add esp, 0xc
jmp 0x414957
xor ecx, ecx
mov eax, edx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00414f21
mov esi, eax
add esp, 4
test esi, esi
je 0x414957
lea eax, [ebp - 0x14]
push eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
push 0
push 0
push ebx
push dword [edi + 4]
call eax
mov dword [edi + 8], eax
test eax, eax
jne 0x41494e
push esi
lea ecx, [ebp - 0x10]
call fcn.0040fd10
push esi
call fcn.00414f2a
add esp, 4
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.0040f680
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov esi, dword [ebp - 0x10]
or ecx, 0xffffffff
add esi, 0xfffffff0
mov dword [edi], eax
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x414992
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x414cd0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
cmp dword [edi + 4], 0
jne 0x414ce6
mov eax, 3
pop edi
pop ebp
ret 8
push esi
mov esi, dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
push esi
call fcn.0040fd60
mov eax, esi
lea edx, [eax + 2]
jmp 0x414d00
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x414d00
sub eax, edx
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push 0
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, dword [ebp + 0xc]
mov edi, eax
add esi, 0xfffffff0
or edx, 0xffffffff
lea ecx, [esi + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414d47
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
pop esi
mov eax, edi
pop edi
pop ebp
ret 8

Function at 0x41976f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.004178b2
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4197a6
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.004197c7
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41dcf6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x41dd3b
call fcn.004178b2
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41dd3b
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x41dd57
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0042c4fc
mov ebx, eax
test edi, edi
je 0x41dd55
test esi, esi
je 0x41dd55
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4428d4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.00422442
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x442910
call fcn.00442af3
mov dword [esi + 0xc], 1
jmp 0x442915
call fcn.00442af3
cmp dword [esi], 0
je 0x44295e
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x442938
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.00415a27
jmp 0x442949
push 0xff
mov ecx, esi
call fcn.0040fba0
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00415a4a
jmp 0x442982
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x442982
push dword [esi]
push dword [ebp - 4]
call fcn.00426b01
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x442a48
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.00442af3
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x442a90
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00415a27
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00415a4a
jmp 0x442a9b
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00426b01
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x477b1b
Capabilities:
Get file system object information

Disassembly:
push 0x4c8
mov eax, 0x54f36b
call fcn.005310db
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.0040f680
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x58b5d8
call fcn.0040ee50
cmp eax, 0xffffffff
jne 0x477bcf
push 0
push 0x5657a4
lea ecx, [ebp - 0x4d0]
call fcn.0040ee50
cmp eax, 0xffffffff
jne 0x477bcf
push 0
push 0x55a38c
lea ecx, [ebp - 0x4d0]
call fcn.0040ee50
cmp eax, 0xffffffff
jne 0x477bcf
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.0040f680
pop ecx
lea edi, [eax + 0x10]
mov dword [ebp - 0x4d4], edi
xor ecx, ecx
mov byte [ebp - 4], 1
push ecx
lea eax, [ebp - 0x218]
push eax
push 0x104
push ecx
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x477bab
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
lea ecx, [edi - 0x10]
mov ebx, eax
call fcn.0040fa40
jmp 0x477bfe
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.0040fcd0
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 0
call fcn.0040fa40
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x477bf5
mov ebx, dword [ebp - 0x4cc]
jmp 0x477bfe
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov ebx, eax
lea ecx, [esi - 0x10]
call fcn.0040fa40
mov eax, ebx
call fcn.0053108a
ret
Function at 0x542518
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5aa1b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00536c03
mov dword [ebp - 0x14], eax
cmp dword [0x5b5620], esi
jne 0x54260b
push 0x800
push esi
push 0x586d40
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x542598
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x5426eb
push esi
push esi
push 0x586d40
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x5426eb
push 0x586d58
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x5426eb
push eax
call ebx
push 0x586d64
push edi
mov dword [0x5b5620], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x586d74
push edi
mov dword [0x5b5624], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x5b5628], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5b5630], eax
test eax, eax
je 0x542608
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5b562c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x542630
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x542623
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x542645
push 4
pop eax
jmp 0x5426ed
cmp dword [ebp - 0x14], esi
je 0x542645
push dword [0x5b5620]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x54262a
mov eax, dword [0x5b562c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x5426a3
cmp dword [0x5b5630], edi
je 0x5426a3
push eax
call ebx
push dword [0x5b5630]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x5426a3
test eax, eax
je 0x5426a3
call ecx
test eax, eax
je 0x542698
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x542698
test byte [ebp - 8], 1
jne 0x5426a3
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x5426d3
mov eax, dword [0x5b5624]
cmp eax, edi
je 0x5426d0
push eax
call ebx
test eax, eax
je 0x5426d0
call eax
mov esi, eax
test esi, esi
je 0x5426d0
mov eax, dword [0x5b5628]
cmp eax, edi
je 0x5426d0
push eax
call ebx
test eax, eax
je 0x5426d0
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x5b5620]
call ebx
test eax, eax
je 0x5426eb
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x5426ed
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052f8d6
mov esp, ebp
pop ebp
ret
Function at 0x419cf5
Capabilities:
Authenticate hmac

Disassembly:
movzx eax, word [ecx + 0x32]
cmp eax, 0x46
jne 0x419d18
mov eax, dword [ecx]
and eax, 8
or eax, 0
jne 0x419e6e
mov dword [ecx + 0x1c], 7
jmp fcn.0041b30d
cmp eax, 0x4e
jne 0x419d43
mov eax, dword [ecx]
push 8
pop edx
and eax, edx
or eax, 0
jne 0x419e6e
mov dword [ecx + 0x1c], edx
call fcn.00423146
mov dword [eax], 0x16
call fcn.0043bc11
xor al, al
ret
cmp dword [ecx + 0x2c], 0
jne 0x419d30
cmp eax, 0x6a
jg 0x419e1f
je 0x419e16
cmp eax, 0x49
je 0x419db0
cmp eax, 0x4c
je 0x419da4
cmp eax, 0x54
je 0x419d98
push 0x68
pop edx
cmp eax, edx
jne 0x419e6e
mov eax, dword [ecx + 0x10]
cmp word [eax], dx
jne 0x419d8c
add eax, 2
mov dword [ecx + 0x2c], 1
mov dword [ecx + 0x10], eax
jmp 0x419e6e
mov dword [ecx + 0x2c], 2
jmp 0x419e6e
mov dword [ecx + 0x2c], 0xd
jmp 0x419e6e
mov dword [ecx + 0x2c], 8
jmp 0x419e6e
mov edx, dword [ecx + 0x10]
movzx eax, word [edx]
cmp eax, 0x33
jne 0x419dd4
cmp word [edx + 2], 0x32
jne 0x419dd4
lea eax, [edx + 4]
mov dword [ecx + 0x2c], 0xa
mov dword [ecx + 0x10], eax
jmp 0x419e6e
cmp eax, 0x36
jne 0x419def
cmp word [edx + 2], 0x34
jne 0x419def
lea eax, [edx + 4]
mov dword [ecx + 0x2c], 0xb
mov dword [ecx + 0x10], eax
jmp 0x419e6e
cmp eax, 0x64
je 0x419e0d
cmp eax, 0x69
je 0x419e0d
cmp eax, 0x6f
je 0x419e0d
cmp eax, 0x75
je 0x419e0d
cmp eax, 0x78
je 0x419e0d
cmp eax, 0x58
jne 0x419e6e
mov dword [ecx + 0x2c], 9
jmp 0x419e6e
mov dword [ecx + 0x2c], 5
jmp 0x419e6e
push 0x6c
pop edx
cmp eax, edx
je 0x419e50
cmp eax, 0x74
je 0x419e47
cmp eax, 0x77
je 0x419e3e
cmp eax, 0x7a
jne 0x419e6e
mov dword [ecx + 0x2c], 6
jmp 0x419e6e
mov dword [ecx + 0x2c], 0xc
jmp 0x419e6e
mov dword [ecx + 0x2c], 7
jmp 0x419e6e
mov eax, dword [ecx + 0x10]
cmp word [eax], dx
jne 0x419e67
add eax, 2
mov dword [ecx + 0x2c], 4
mov dword [ecx + 0x10], eax
jmp 0x419e6e
mov dword [ecx + 0x2c], 3
mov al, 1
ret
Function at 0x41b30d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x41b31c
pop dword [ebp - 0x4c]
mov eax, 0x48824ef0
add eax, 0xb7bf642c
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x1eeab3f3
sub dword [ebp - 0x5c], 0xd0986ea8
mov dword [ebp - 0x58], 0x52164c80
add dword [ebp - 0x58], 0xe01cffc5
mov dword [ebp - 0x54], 0x34ea22f1
sub dword [ebp - 0x54], 0xe89ddec3
mov dword [ebp - 0x50], 0x6d840189
add dword [ebp - 0x50], 0x927bfe77
lea eax, [ebp - 0x5c]
push eax
mov eax, 0x4fa3e9e2
add eax, 0xb0a1c682
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x50d65861
add dword [ebp - 0x5c], 0x239c10f5
mov dword [ebp - 0x58], 0x14271960
sub dword [ebp - 0x58], 0xd2bab7eb
mov dword [ebp - 0x54], 0xf91a535f
add dword [ebp - 0x54], 0x6a55190d
mov dword [ebp - 0x50], 0x9db8f35c
add dword [ebp - 0x50], 0x62470ca4
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0x1ffcacd8
sub eax, 0x1fb6fc58
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x4d620
push 0
call eax
mov ecx, 0x4837
xor edx, edx
add edx, eax
mov ebx, 0x476000
add ebx, dword [ebp - 0x4c]
mov edi, 0xbf97201b
add edi, 0x3f9eb92e
sub dword [ebp - 0x38], esi
mov esi, dword [ebx]
xor dword [ebp - 0xc], 0xa78c450c
xor esi, edi
mov dword [edx], esi
xor dword [ebp - 0x24], ebx
add edx, 4
add ebx, 4
loop 0x41b434
add eax, 0x113af
mov ebx, eax
add eax, 0x8baa67af
sub eax, 0x8baa67aa
mov ecx, 0x37fb5736
add ecx, 0xc844a8ca
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0xaab370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0xaab38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0xad4074
push ecx
mov edi, eax
call fcn.00abf198
mov esi, eax
add esp, 8
test esi, esi
jne 0xaab3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00abf02e
push esi
call fcn.00abefb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xaae850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0xaae8ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0xad9720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xaae8ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.00abf1e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0xaae8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xad9720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xaae92a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00ac0082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xaae957
mov word [eax], si
add eax, 2
push eax
call fcn.00ac0030
add esp, 4
jmp 0xaae959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0xaae8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xaae8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0xaaeff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret