joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003450
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x10017020]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.100043c0
add esp, 0xc
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x10018248]
jne 0x100035cb
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov al, byte [ebp - 0xf2]
and al, 0x80
je 0x10003573
test byte [ebp - 0xf7], 0x80
je 0x10003573
cmp dword [0x100182e8], 0
jne 0x1000355b
mov eax, dword [0x10018250]
cmp eax, 1
jne 0x1000350b
mov dword [0x10018250], 0
call fcn.100035f0
cmp dword [0x1001824c], 1
jne 0x10003551
push dword [0x1001700c]
push dword [0x10017008]
call fcn.10003de0
mov dword [0x100182e8], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100043a3
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x1000355b
cmp dword [0x1001824c], 1
mov dword [0x10018250], 1
jne 0x10003547
push eax
push eax
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsA]
call fcn.10003630
mov dword [0x100182e8], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100043a3
mov esp, ebp
pop ebp
ret
mov dword [0x10018268], 1
mov dword [0x10018264], 1
mov dword [0x100182e8], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100043a3
mov esp, ebp
pop ebp
ret
test al, al
je 0x100035c1
test byte [ebp - 0x62], 0x80
je 0x100035c1
test byte [ebp - 0xaa], 0x80
je 0x100035c1
cmp dword [0x100182e8], 0
jne 0x100035a9
xor eax, eax
mov dword [0x10018264], 1
cmp dword [section..data], eax
sete al
mov dword [section..data], eax
mov dword [0x100182e8], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100043a3
mov esp, ebp
pop ebp
ret
mov dword [0x100182e8], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100043a3
mov esp, ebp
pop ebp
ret
Function at 0x4014b6
Capabilities:
Hash data with md5

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
pop ebp
ret 4

Function at 0x4167d7
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp dword [esi + 0x14], 8
jb 0x4167ee
mov eax, dword [esi]
jmp 0x4167f0
mov eax, esi
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
push str.Deleting_payload_file_from_disk.
push 0x32
push 0x132
push 0x6c48c6
mov dword [ebp - 0xc], vtable.Mso::Logging::StructuredObject_wchar_t_const___1_.0
mov dword [ebp - 8], 0x56f5ec
call fcn.0040d3ad
cmp dword [esi + 0x14], 8
jb 0x416823
mov esi, dword [esi]
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x24]
pop edi
pop esi
test al, al
jne 0x416847
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x416847
cmp eax, 0x20
je 0x416847
push eax
call fcn.00416ee9
mov esp, ebp
pop ebp
ret 4

Function at 0x41f573
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
xor edx, edx
mov ecx, 0x811c9dc5
cmp dword [ebp + 0xc], edx
jbe 0x41f599
push esi
mov esi, dword [ebp + 8]
movzx eax, byte [edx + esi]
xor eax, ecx
imul ecx, eax, 0x1000193
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x41f586
pop esi
mov eax, ecx
pop ebp
ret 8
Function at 0x44752f
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
mov bl, 1
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x447692
mov edx, 0x10000000
cmp eax, 0x7c
je 0x447692
cmp eax, 0x29
jne 0x447569
cmp dword [esi + 0x10], 0
jne 0x447692
test dword [esi + 0x50], edx
je 0x447697
cmp eax, 0x2e
jne 0x447584
push 5
lea ecx, [esi + 0x24]
call fcn.00448fc3
mov ecx, esi
call fcn.00449004
jmp 0x44767a
cmp eax, 0x5c
jne 0x4475e1
mov ecx, esi
call fcn.00449004
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x4475b7
cmp word [esi + 0x48], 0x62
jne 0x4475b7
push 4
lea ecx, [esi + 0x24]
call fcn.00448fc3
mov ecx, esi
call fcn.00449004
jmp 0x447681
test eax, eax
je 0x4475d5
cmp word [esi + 0x48], 0x42
jne 0x4475d5
push 4
lea ecx, [esi + 0x24]
call fcn.00448fc3
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x4475ab
mov ecx, esi
call fcn.0044769f
jmp 0x44767a
cmp eax, 0x5b
jne 0x447605
mov ecx, esi
call fcn.00449004
mov ecx, esi
call fcn.00447a72
cmp dword [esi + 0x4c], 0x5d
je 0x447578
push 4
jmp 0x447699
cmp eax, 0x28
jne 0x447622
mov ecx, esi
call fcn.00449004
mov ecx, esi
call fcn.004497b7
cmp dword [esi + 0x4c], 0x29
mov bl, al
je 0x44766f
jmp 0x447697
cmp eax, 0x5e
jne 0x44762e
push 2
jmp 0x4475a3
cmp eax, 0x24
jne 0x44763a
push 3
jmp 0x4475a3
cmp eax, 0x2a
je 0x44768e
cmp eax, 0x2b
je 0x44768e
cmp eax, 0x3f
je 0x44768e
cmp eax, 0x7b
je 0x44768e
cmp eax, 0x7d
jne 0x447658
test dword [esi + 0x50], edx
je 0x44768a
cmp eax, 0x5d
jne 0x447662
test dword [esi + 0x50], edx
je 0x4475fe
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00446f94
mov ecx, esi
call fcn.00449004
test bl, bl
je 0x447681
mov ecx, esi
call fcn.0044902f
mov cl, 1
mov bl, cl
jmp 0x447537
push 6
jmp 0x447699
push 0xa
jmp 0x447699
pop esi
mov al, cl
pop ebx
ret
push 5
call fcn.004c9ce7
int3
Function at 0x45fcdf
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 8]
push ebx
xor ebx, ebx
mov edx, ebx
test ecx, ecx
je 0x45fe6a
cmp dword [ebp + 0x10], edx
je 0x45fe6a
cmp dword [ebp + 0x18], edx
je 0x45fe6a
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
test eax, eax
je 0x45fe4e
dec eax
mov dword [ebp + 0xc], eax
mov al, byte [ecx]
mov byte [ebp + edx - 4], al
inc edx
inc ecx
mov dword [ebp + 8], ecx
cmp edx, 3
jne 0x45fd98
cmp edi, 4
jb 0x45fe57
movzx eax, byte [ebp - 4]
movzx ecx, byte [ebp - 3]
movzx edx, byte [ebp - 2]
shr eax, 2
shr ecx, 4
mov al, byte [eax*2 + 0x58a8b0]
mov byte [esi], al
mov al, byte [ebp - 4]
shl al, 4
or ecx, eax
and ecx, 0x3f
mov al, byte [ecx*2 + 0x58a8b0]
mov cl, byte [ebp - 3]
mov byte [esi + 1], al
mov eax, edx
shl cl, 2
and edx, 0x3f
shr eax, 6
or ecx, eax
and ecx, 0x3f
mov al, byte [ecx*2 + 0x58a8b0]
mov ecx, dword [ebp + 8]
mov byte [esi + 2], al
mov al, byte [edx*2 + 0x58a8b0]
mov edx, ebx
mov byte [esi + 3], al
add esi, 4
sub edi, 4
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x45fd19
test edx, edx
jle 0x45fe4c
cmp edi, 4
jb 0x45fe4a
movzx ecx, byte [ebp - 3]
cmp edx, 1
push 0x3d
cmovle ecx, eax
and dword [ebp + 8], ebx
movzx eax, byte [ebp - 2]
cmp edx, 2
mov dword [ebp - 8], ecx
cmovle eax, dword [ebp + 8]
mov dword [ebp + 8], eax
movzx eax, byte [ebp - 4]
shr eax, 2
movzx ecx, cl
shr ecx, 4
mov al, byte [eax*2 + 0x58a8b0]
mov byte [esi], al
mov al, byte [ebp - 4]
shl al, 4
or ecx, eax
and ecx, 0x3f
mov al, byte [ecx*2 + 0x58a8b0]
mov byte [esi + 1], al
pop eax
cmp edx, 1
jle 0x45fe25
mov eax, dword [ebp + 8]
movzx ecx, al
mov al, byte [ebp - 8]
shr ecx, 6
shl al, 2
or ecx, eax
and ecx, 0x3f
push 0x3d
pop eax
mov cl, byte [ecx*2 + 0x58a8b0]
jmp 0x45fe27
mov cl, al
mov byte [esi + 2], cl
cmp edx, 2
jle 0x45fe3f
mov eax, dword [ebp + 8]
movzx eax, al
and eax, 0x3f
mov al, byte [eax*2 + 0x58a8b0]
mov byte [esi + 3], al
mov edx, ebx
add esi, 4
sub edi, 4
test edx, edx
jne 0x45fe57
cmp edi, 1
jb 0x45fe57
mov byte [esi], bl
jmp 0x45fe5c
mov ebx, 0x800700ea
mov eax, dword [ebp + 0x18]
sub esi, dword [ebp + 0x10]
pop edi
mov dword [eax], esi
mov eax, ebx
pop esi
jmp 0x45fe6f
mov eax, 0x80070057
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x462e53
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x40
push 0
push esi
call fcn.004d19ad
add esp, 0xc
mov dword [esi], 0x40
push esi
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
jne 0x462e82
push 0x3617ce
call fcn.00503c15
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x462ec4
Capabilities:
Inspect section memory permissions

Disassembly:
call fcn.00462e89
dec eax
cmp eax, 9
ja case.default.0x462ecf
jmp dword [eax*4 + 0x462f16]
mov eax, 0x10000000
jmp 0x462f13
mov eax, 0x20000000
jmp 0x462f13
mov eax, 0x30000000
jmp 0x462f13
mov eax, 0x40000000
jmp 0x462f13
mov eax, SysReAllocString
jmp 0x462f13
xor edx, edx
xor eax, eax
inc edx
ret
push 2
xor eax, eax
pop edx
ret
push 4
jmp 0x462f01
push 8
jmp 0x462f01
push 0x10
jmp 0x462f01
xor eax, eax
xor edx, edx
ret
Function at 0x4641ee
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x55b913
call fcn.004cd142
mov esi, dword [ebp + 8]
test esi, esi
jne 0x464208
xor eax, eax
jmp 0x464351
and dword [ebp - 0x1c], 0
xor ecx, ecx
mov dword [ebp - 0x14], ecx
xor ebx, ebx
or edi, 0xffffffff
test ebx, ebx
jne 0x46422b
cmp dword [0x60a118], ebx
je 0x464315
push 2
pop edi
jmp 0x464244
cmp ebx, 1
jne 0x464315
push esi
call fcn.00464554
test al, al
je 0x464312
xor edi, edi
and dword [ebp - 0x10], 0
lea ecx, [ebp + 0xb]
mov dword [ebp - 0x20], edi
call fcn.00463899
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], eax
push eax
movzx eax, word [esi + 0x10]
shr eax, 1
and eax, 0x10
or eax, edi
jmp 0x4642e0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x464275
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0
push dword [esi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x14], 2
mov edi, eax
jae 0x4642a1
cmp dword [ebp - 0x1c], 1
je 0x46429e
cmp dword [ebp - 0x1c], 2
jne 0x4642a1
push 2
pop edi
push edi
call fcn.0046457e
push dword [ebp - 0x10]
test eax, eax
je 0x4642fd
mov eax, dword [esi + 0xc]
xor edi, edi
mov ecx, 0x60a408
movzx eax, word [eax + 6]
and eax, 0xf
imul eax, eax, 0xc
mov dword [eax + 0x600980], edi
call fcn.0046444b
movzx eax, word [esi + 0x10]
shr eax, 1
and eax, 0x10
mov dword [ebp - 0x10], edi
or eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], edi
push edi
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [esi + 0xc]
call fcn.004638db
mov edi, eax
test edi, edi
je 0x464269
jmp 0x464306
call fcn.00465014
test edi, edi
je 0x464321
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xb]
call fcn.004638ba
mov ecx, dword [ebp - 0x14]
inc ebx
cmp ebx, 2
jl 0x464213
jmp 0x46432c
lea ecx, [ebp + 0xb]
call fcn.004638ba
mov ecx, dword [ebp - 0x14]
test edi, edi
jne 0x464347
cmp dword [ebp - 0x1c], 2
je 0x46433f
mov al, byte [esi + 0x10]
and al, 0xf
cmp al, 2
jne 0x46434f
push ecx
call fcn.00465f24
jmp 0x46434d
push esi
call fcn.0046619d
mov ecx, eax
mov eax, ecx
call fcn.004cd113
ret 4
Function at 0x464727
Capabilities:
Query or enumerate registry value

Disassembly:
push 8
mov eax, 0x55b936
call fcn.004cd142
mov esi, dword [ebp + 8]
test esi, esi
jne 0x464741
xor al, al
jmp 0x464812
mov bl, byte [ebp + 0xc]
test bl, bl
je 0x464752
xor ecx, ecx
cmp dword [0x60a118], ecx
jmp 0x46475c
push esi
call fcn.00464554
xor ecx, ecx
test al, al
sete cl
test ecx, ecx
jne 0x46473a
xor edi, edi
lea ecx, [ebp + 0xf]
mov dword [ebp + 8], edi
mov dword [ebp - 0x10], edi
call fcn.00463899
xor ecx, ecx
mov dword [ebp - 4], edi
push 2
test bl, bl
pop eax
cmovne ecx, eax
movzx eax, word [esi + 0x10]
shr eax, 1
and eax, 0x10
mov dword [ebp - 0x14], ecx
or eax, ecx
jmp 0x4647e6
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp + 8]
test eax, eax
jne 0x46479c
mov eax, dword [ebx]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push dword [esi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
push edi
call fcn.0046457e
push ebx
test eax, eax
je 0x464800
mov eax, dword [esi + 0xc]
xor edi, edi
mov ecx, 0x60a408
movzx eax, word [eax + 6]
and eax, 0xf
imul eax, eax, 0xc
mov dword [eax + 0x600980], edi
call fcn.0046444b
movzx eax, word [esi + 0x10]
shr eax, 1
and eax, 0x10
mov dword [ebp + 8], edi
or eax, dword [ebp - 0x14]
push edi
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
push dword [esi + 0xc]
call fcn.004638db
mov edi, eax
test edi, edi
je 0x464790
jmp 0x464805
call fcn.00465014
lea ecx, [ebp + 0xf]
call fcn.004638ba
test edi, edi
sete al
call fcn.004cd113
ret 8

Function at 0x46499a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x18]
push ebx
push esi
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test eax, eax
jne 0x4649b2
mov eax, dword [edi]
mov ebx, dword [ebp + 0x14]
lea ecx, [ebp + 0x18]
push ecx
push ebx
lea ecx, [ebp + 0xc]
push ecx
push 0xffff
push dword [ebp + 0x10]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov edx, dword [ebp + 0x18]
mov esi, eax
mov ecx, dword [ebp + 0xc]
push 2
pop eax
cmp edx, eax
jae 0x4649e9
cmp ecx, 1
je 0x4649e7
cmp ecx, eax
jne 0x4649e9
mov esi, eax
push esi
call fcn.0046457e
test eax, eax
je 0x464a00
push edi
mov ecx, 0x60a408
call fcn.0046444b
jmp 0x464a33
test esi, esi
jne 0x464a2d
cmp ecx, 2
je 0x464a0e
cmp ecx, 1
jne 0x464a1a
shr edx, 1
xor eax, eax
mov word [ebx + edx*2 - 2], ax
mov ecx, dword [ebp + 0xc]
movzx eax, byte [ebp + 0x1c]
push eax
push ecx
call fcn.0046481a
test eax, eax
push 2
pop eax
cmove esi, eax
push edi
call fcn.00465014
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0x18
Function at 0x464a3c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
or esi, 0xffffffff
test edi, edi
jne 0x464a62
cmp dword [0x60a118], edi
je 0x464b53
push 2
pop esi
jmp 0x464a7b
cmp edi, 1
jne 0x464b53
push ebx
call fcn.00464554
test al, al
je 0x464b53
xor esi, esi
lea ecx, [ebp + 0xb]
mov dword [ebp - 0xc], esi
call fcn.00463899
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
push eax
movzx eax, word [ebx + 0x10]
shr eax, 1
and eax, 0x10
or eax, esi
jmp 0x464b02
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
test eax, eax
jne 0x464ab0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
push ecx
push 0
push dword [ebp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
push esi
call fcn.0046457e
push dword [ebp - 4]
test eax, eax
je 0x464b1b
mov eax, dword [ebx + 0xc]
xor esi, esi
mov ecx, 0x60a408
movzx eax, word [eax + 6]
and eax, 0xf
imul eax, eax, 0xc
mov dword [eax + 0x600980], esi
call fcn.0046444b
movzx eax, word [ebx + 0x10]
shr eax, 1
and eax, 0x10
mov dword [ebp - 4], esi
or eax, dword [ebp - 0xc]
push esi
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebx + 0xc]
call fcn.004638db
mov esi, eax
test esi, esi
je 0x464a9c
jmp 0x464b4b
call fcn.00465014
test esi, esi
jne 0x464b4b
movzx ecx, word [ebx + 0x10]
mov eax, ecx
and eax, 0xf
cmp dword [ebp - 0x10], eax
je 0x464b68
cmp dword [ebp - 0x10], 3
jne 0x464b48
mov eax, dword [ebp + 0x14]
cmp dword [eax], 4
jne 0x464b48
and cl, 0xf
cmp cl, 4
je 0x464b68
push 2
pop esi
lea ecx, [ebp + 0xb]
call fcn.004638ba
inc edi
cmp edi, 2
jl 0x464a4a
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebp + 0x1c]
lea ecx, [ebp + 0xb]
mov dword [eax], 1
call fcn.004638ba
xor eax, eax
jmp 0x464b5f
Function at 0x4651ff
Capabilities:
Delete registry key

Disassembly:
push 4
mov eax, 0x55b9a1
call fcn.004cd142
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
test byte [eax + 6], 0xf
je 0x465221
mov eax, 0xa0
jmp 0x4652d2
xor ebx, ebx
lea ecx, [ebp + 0xb]
mov dword [ebp - 0x10], ebx
call fcn.00463899
movzx eax, word [esi + 0x10]
shr eax, 1
push ebx
and eax, 0x10
mov dword [ebp - 4], ebx
push eax
push ebx
jmp 0x46529d
mov eax, dword [esi + 0xc]
mov ebx, dword [ebp - 0x10]
push dword [eax]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
push edi
call fcn.0046457e
push ebx
test eax, eax
je 0x4652b4
mov eax, dword [esi + 0xc]
xor edi, edi
mov ecx, 0x60a408
movzx eax, word [eax + 6]
and eax, 0xf
imul eax, eax, 0xc
mov dword [eax + 0x600980], edi
call fcn.0046444b
lea ecx, [ebp + 0xb]
mov dword [ebp - 0x10], edi
call fcn.004638ba
lea ecx, [ebp + 0xb]
call fcn.00463899
movzx eax, word [esi + 0x10]
shr eax, 1
push edi
and eax, 0x10
mov dword [ebp - 4], edi
push eax
push edi
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esi + 0xc]
push dword [eax + 8]
call fcn.004638db
mov edi, eax
test edi, edi
je 0x46523f
jmp 0x4652c8
call fcn.00465014
push 0
push dword [esi + 0xc]
mov ecx, 0x60a408
call fcn.004643fa
lea ecx, [ebp + 0xb]
call fcn.004638ba
mov eax, edi
call fcn.004cd113
ret 4

Function at 0x4652da
Capabilities:
Delete registry value

Disassembly:
push 0xc
mov eax, 0x55b9c4
call fcn.004cd142
xor edi, edi
lea ecx, [ebp - 0xd]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
call fcn.00463899
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], edi
push edi
jmp 0x465366
cmp dword [ebx], 0
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
jne 0x465314
test eax, eax
jne 0x465310
mov eax, dword [edi]
push 0
jmp 0x46531c
test eax, eax
jne 0x46531a
mov eax, dword [edi]
push dword [ebx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
push esi
call fcn.0046457e
push edi
test eax, eax
je 0x46538c
mov eax, dword [ebx + 0xc]
xor esi, esi
mov ecx, 0x60a408
movzx eax, word [eax + 6]
and eax, 0xf
imul eax, eax, 0xc
mov dword [eax + 0x600980], esi
call fcn.0046444b
lea ecx, [ebp - 0xd]
mov dword [ebp - 0x14], esi
call fcn.004638ba
lea ecx, [ebp - 0xd]
call fcn.00463899
mov dword [ebp - 4], esi
push esi
movzx eax, word [ebx + 0x10]
shr eax, 1
and eax, 0x10
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 0xc]
call fcn.004638db
mov esi, eax
test esi, esi
je 0x4652ff
jmp 0x465391
call fcn.00465014
lea ecx, [ebp - 0xd]
call fcn.004638ba
mov eax, esi
call fcn.004cd113
ret 4
Function at 0x4658d8
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xc
mov eax, 0x55b9fa
call fcn.004cd1ad
push dword [ebp + 8]
and dword [ebp - 4], 0
call fcn.0046515d
test eax, eax
jne 0x4658f9
push 2
pop eax
jmp 0x46596b
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call fcn.00465acd
mov esi, eax
test esi, esi
je 0x465926
cmp dword [ebp - 0x14], 0
je 0x465922
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x46596b
push dword [ebp + 0x24]
mov esi, dword [ebp - 0x14]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, eax
test esi, esi
je 0x465952
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x46596b
call fcn.004cd113
ret 0x20

Function at 0x465973
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xc
mov eax, 0x55ba15
call fcn.004cd1ad
push dword [ebp + 8]
and dword [ebp - 4], 0
call fcn.0046515d
test eax, eax
jne 0x465994
push 2
pop eax
jmp 0x465a06
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call fcn.00465acd
mov esi, eax
test esi, esi
je 0x4659c1
cmp dword [ebp - 0x14], 0
je 0x4659bd
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x465a06
push dword [ebp + 0x24]
mov esi, dword [ebp - 0x14]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov edi, eax
test esi, esi
je 0x4659ed
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x465a06
call fcn.004cd113
ret 0x20

Function at 0x46675d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x10
push 1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4667a5
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x4667a5
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4667a5
cmp word [eax + 2], 0
je 0x4667a5
cmp dword [eax + 0x28], 0xfeef04bd
jne 0x4667a5
add eax, 0x30
jmp 0x4667aa
mov eax, 0x58ed38
pop esi
pop ebp
ret
Function at 0x46720c
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push esi
mov dword [esi], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edi, eax
test edi, edi
jne 0x46722e
push 0x323658
jmp 0x467249
cmp dword [esi + 4], 6
jae 0x46723e
push 0x323659
call fcn.00503c15
cmp dword [esi + 0x10], 2
je 0x46724e
push 0x32365a
call fcn.00503c15
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x469b54
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0xc], 0
push ebx
push esi
je 0x469b83
mov esi, dword [ebp + 8]
test esi, esi
je 0x469b6c
mov eax, dword [esi]
push esi
call dword [eax + 4]
xor ebx, ebx
push ebx
push ebx
push esi
push 0x469c28
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x469c1f
xor ebx, ebx
mov dword [ebp + 0xc], ebx
call fcn.0046c5bb
sub eax, ebx
je 0x469b9b
sub eax, 1
je 0x469bbd
sub eax, 1
je 0x469ba9
xor ecx, ecx
mov dword [0], 1
int 0x29
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x469bb9
mov dword [ebp + 0xc], ebx
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
xor eax, eax
jmp 0x469c22
push edi
call fcn.00468abc
mov ecx, dword [ebp + 8]
mov esi, eax
lea eax, [ebp + 0xc]
push eax
mov edi, dword [esi]
call fcn.004692ca
push eax
push 0x2820
push esi
call dword [edi + 0xc]
pop edi
test eax, eax
jns 0x469c06
call fcn.00468abc
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov ecx, dword [ebp + 0xc]
test eax, eax
jne 0x469bac
test ecx, ecx
je 0x469c01
mov dword [ebp + 0xc], ebx
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
xor eax, eax
inc eax
jmp 0x469c22
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x469c1f
mov dword [ebp + 0xc], ebx
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push 2
pop eax
pop esi
pop ebx
pop ebp
ret 8