joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40baad69
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0xc
cmp dword [eax], 1
je 0x40baad80
xor eax, eax
jmp 0x40baae91
push ebx
xor ebx, ebx
push ebx
call fcn.40bafa1a
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x40baad97
xor eax, eax
jmp 0x40baae90
cmp dword [ebp + 0x10], ebx
mov dword [ebp + 0x10], 0x40ba6330
jne 0x40baadaa
mov dword [ebp + 0x10], 0x40ba634c
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp + 8]
push ecx
push ebx
lea ecx, [ebp - 4]
push ecx
push ebx
push dword [ebp + 0x10]
mov dword [ebp - 0xc], ebx
push eax
call esi
test eax, eax
jne 0x40baae83
cmp dword [ebp - 4], 1
jne 0x40baae83
add dword [ebp + 8], 2
push edi
push dword [ebp + 8]
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
cmp edi, ebx
je 0x40baae82
lea eax, [ebp + 8]
push eax
push edi
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp - 8]
call esi
test eax, eax
jne 0x40baae68
cmp dword [ebp - 4], 1
jne 0x40baae68
mov eax, edi
cmp word [edi], bx
je 0x40baae2c
cmp word [eax], 0x2c
jne 0x40baae25
xor ecx, ecx
mov word [eax], cx
inc eax
inc eax
cmp word [eax], bx
jne 0x40baae1a
xor ecx, ecx
mov word [eax + 2], cx
mov esi, edi
cmp word [edi], bx
je 0x40baae68
mov eax, dword [ebp + 0xc]
add eax, 2
mov dword [ebp + 0x10], eax
push dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x40baae61
mov ax, word [esi]
inc esi
inc esi
test ax, ax
jne 0x40baae50
cmp word [esi], bx
je 0x40baae68
jmp 0x40baae42
mov dword [ebp - 0xc], 1
mov esi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
pop esi
pop ebx
leave
ret 0xc
Function at 0x40baae9a
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
cmp dword [eax], 1
jne 0x40baaf7a
push esi
xor esi, esi
push esi
call fcn.40bafa1a
mov dword [ebp - 8], eax
cmp eax, esi
je 0x40baaf79
push edi
lea ecx, [ebp + 8]
push ecx
push esi
lea ecx, [ebp - 4]
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, 0x40ba634c
push edi
push eax
call esi
test eax, eax
jne 0x40baaf6f
cmp dword [ebp - 4], 1
jne 0x40baaf6f
add dword [ebp + 8], 2
push ebx
push dword [ebp + 8]
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x40baaf6e
lea eax, [ebp + 8]
push eax
push ebx
lea eax, [ebp - 4]
push eax
push 0
push edi
push dword [ebp - 8]
call esi
test eax, eax
jne 0x40baaf54
cmp dword [ebp - 4], 1
jne 0x40baaf54
cmp word [ebx], 0
mov eax, ebx
je 0x40baaf40
cmp word [eax], 0x2c
jne 0x40baaf38
xor ecx, ecx
mov word [eax], cx
inc eax
inc eax
cmp word [eax], 0
jne 0x40baaf2d
push ebx
push 0x40ba6330
push dword [ebp - 8]
xor ecx, ecx
mov word [eax + 2], cx
call fcn.40baacee
mov esi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
push ebx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
leave
ret 4

Function at 0x40bab1cb
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push dword [eax + 0x10]
push dword [eax + 0xc]
mov eax, dword [eax + 8]
push 3
inc eax
push 0
inc eax
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
inc eax
pop ebp
ret 8
Function at 0x40bab6ae
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
mov ebx, dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push edi
xor edi, edi
sub eax, edi
je 0x40bab6cd
dec eax
jne 0x40bab6ed
mov eax, dword [esi + 0x94]
test byte [eax + 4], 0x80
je 0x40bab6ed
push 0x40bab848
call ebx
push 0x40bab81c
mov dword [esi + 0x58], eax
call ebx
mov dword [esi + 0x5c], eax
mov edx, dword [esi + 0x2c]
cmp edx, edi
je 0x40bab7f3
mov eax, dword [esi]
sub eax, edi
je 0x40bab701
dec eax
jne 0x40bab720
mov eax, dword [esi + 0x94]
mov ecx, dword [eax + 4]
mov eax, ecx
shr eax, 2
not eax
and eax, 1
je 0x40bab726
test cl, 0x10
jne 0x40bab726
xor edi, edi
inc edi
jmp 0x40bab726
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 8]
test eax, eax
je 0x40bab735
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40bab73f
push 0x40bab7fc
call ebx
mov dword [esi + 0x54], eax
test edi, edi
je 0x40bab7f3
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x38]
push eax
push dword [esi + 0xc]
call edi
lea eax, [ebp - 0x18]
push eax
push dword [esi + 0x24]
call edi
lea eax, [ebp - 0x28]
push eax
push dword [esi + 0x28]
call edi
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x38]
mov ebx, dword [sym.imp.USER32.dll_ScreenToClient]
sub eax, ecx
add eax, dword [ebp - 0x30]
cdq
sub eax, edx
mov edi, eax
sar edi, 1
lea eax, [edi + ecx]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push dword [esi + 0xc]
call ebx
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push 0
push eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x18]
add eax, edi
add eax, dword [ebp - 0x38]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push dword [esi + 0xc]
call ebx
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
push 0
push eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_MoveWindow]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40bac085
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
lea eax, [esi + 1]
push eax
call fcn.40bab475
mov edi, eax
test edi, edi
je 0x40bac210
push ebx
push dword [ebp + 0xc]
lea eax, [esi + 1]
push eax
lea ebx, [edi + 2]
push ebx
call fcn.40ba2f04
lea eax, [esi + esi + 4]
mov word [edi], ax
lea eax, [ebp - 4]
push eax
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push 0
push ebx
push dword [eax + 0x60]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40bac206
cmp dword [ebp - 8], 3
jne 0x40bac206
add dword [ebp - 4], 4
movzx eax, word [edi]
mov ecx, dword [ebp - 4]
lea eax, [eax + ecx + 0x10]
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
je 0x40bac206
lea ebx, [esi + 0x14]
mov dword [esi + 8], ebx
movzx eax, word [edi]
push eax
push edi
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 4]
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
test edi, edi
jne 0x40bac169
mov edi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x40bac20d
mov eax, dword [ebp - 4]
mov dword [edi], eax
sub dword [ebp - 4], 4
lea ecx, [ebp - 4]
push ecx
lea eax, [edi + 4]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [esi + 8]
inc eax
push 0
inc eax
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x60]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x40bac1c4
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalHandle]
push edi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
push eax
call edi
push esi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call ebx
push eax
call edi
jmp 0x40bac20d
movzx eax, word [ebx]
mov ecx, dword [edi]
add ecx, eax
mov dword [esi + 0x10], ecx
lea eax, [eax + esi + 0x14]
mov dword [esi + 0xc], eax
mov ecx, dword [edi]
sub ecx, 4
push ecx
lea ecx, [edi + 4]
push ecx
push eax
call sub.msvcrt.dll_memcpy
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalHandle]
add esp, 0xc
push edi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
jmp 0x40bac20f
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret 8
Function at 0x40bacc8b
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x40bb1020]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x10c], eax
mov eax, dword [eax + 0x60]
xor esi, esi
cmp eax, esi
je 0x40bacd4b
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
push esi
push esi
push esi
push esi
lea ecx, [ebp - 0x110]
push ecx
lea ecx, [ebp - 0x104]
push ecx
push esi
push eax
mov dword [ebp - 0x108], esi
mov dword [ebp - 0x110], 0x80
call edi
mov ebx, 0x103
jmp 0x40bacd45
cmp eax, esi
jne 0x40bacd12
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 0x10c]
call fcn.40bac085
cmp eax, esi
je 0x40bacd12
push eax
push dword [ebp - 0x10c]
call fcn.40bab11f
inc dword [ebp - 0x108]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 0x108]
mov eax, dword [ebp - 0x10c]
push dword [eax + 0x60]
mov dword [ebp - 0x110], 0x80
call edi
cmp eax, ebx
jne 0x40baccec
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.40ba1e8c
leave
ret 4
Function at 0x40baf06e
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x40bb1020]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push 0x40ba2c9c
mov dword [ebp - 0x54], ebx
call fcn.40ba306d
mov dword [ebp - 0x50], eax
test eax, eax
je 0x40baf1c2
and dword [ebp - 0x58], 0
push esi
push edi
lea eax, [ebp - 0x60]
push eax
push ebx
call fcn.40baeed7
mov esi, dword [ebp - 0x58]
mov edi, 0xc0000000
push edi
push 0
lea eax, [ebp - 0x48]
push eax
push ebx
call fcn.40ba2290
mov dword [ebp - 0x4c], 1
mov ebx, 0x40ba2cbc
test esi, esi
jne 0x40baf0da
cmp dword [ebp - 0x48], esi
je 0x40baf16d
push dword [ebp - 0x4c]
lea eax, [ebp - 0x44]
push ebx
push 0x20
push eax
call fcn.40ba2f77
add esp, 0x10
test esi, esi
je 0x40baf12e
cmp dword [esi], 0
je 0x40baf12e
cmp dword [ebp - 0x48], 0
je 0x40baf11a
push esi
call fcn.40baedcf
cmp dword [ebp - 0x48], eax
je 0x40baf11a
push dword [ebp - 0x48]
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x50]
call fcn.40baedf3
push dword [ebp - 0x48]
jmp 0x40baf14f
push dword [esi + 4]
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x50]
call fcn.40baacee
mov esi, dword [esi + 8]
jmp 0x40baf165
push dword [ebp - 0x48]
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x50]
call fcn.40baedf3
test esi, esi
je 0x40baf155
mov eax, dword [ebp - 0x48]
cmp eax, dword [esi + 4]
jne 0x40baf14e
mov esi, dword [esi + 8]
jmp 0x40baf155
push eax
push esi
call fcn.40baed94
push edi
push dword [ebp - 0x48]
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x54]
call fcn.40ba2290
inc dword [ebp - 0x4c]
jmp 0x40baf0cd
push dword [ebp - 0x4c]
lea eax, [ebp - 0x44]
push ebx
push 0x20
push eax
call fcn.40ba2f77
mov esi, dword [ebp - 0x50]
jmp 0x40baf19e
lea eax, [ebp - 0x44]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
inc dword [ebp - 0x4c]
push dword [ebp - 0x4c]
lea eax, [ebp - 0x44]
push ebx
push 0x20
push eax
call fcn.40ba2f77
add esp, 0x10
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.40baed38
test eax, eax
jne 0x40baf181
push esi
call fcn.40ba3023
push dword [ebp - 0x58]
call fcn.40baed5d
xor eax, eax
pop edi
inc eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.40ba1e8c
leave
ret 4
Function at 0x1001bdc
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
call fcn.01001beb
jmp fcn.01001b4b

Function at 0x41e400
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x19000]
push edi
or ebp, 0xffffffff
jmp 0x41e422
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41e429
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41e418
mov eax, 1
add ebx, ebx
jne 0x41e43b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41e430
jne 0x41e44c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41e430
xor ecx, ecx
sub eax, 3
jb 0x41e460
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41e4d2
mov ebp, eax
add ebx, ebx
jne 0x41e46b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41e478
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41e49c
inc ecx
add ebx, ebx
jne 0x41e488
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41e47d
jne 0x41e499
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41e47d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41e4bc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41e4ad
jmp 0x41e41e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41e4bc
add edi, ecx
jmp 0x41e41e
pop esi
mov edi, esi
mov ecx, 0x170
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41e4da
cmp byte [edi], 5
jne 0x41e4da
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41e4df
lea edi, [esi + 0x1c000]
mov eax, dword [edi]
or eax, eax
je 0x41e557
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x246ac]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x24710]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41e50c
mov ecx, edi
jns 0x41e53b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x24714]
or eax, eax
je 0x41e551
mov dword [ebx], eax
add ebx, 4
jmp 0x41e529
call dword [esi + 0x2471c]
mov ebp, dword [esi + 0x24718]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41e58b
sub esp, 0xffffff80
jmp 0x40b05f
Function at 0x8ac370
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 0x8ac38e
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 0x8d5074
push ecx
mov edi, eax
call fcn.008c0198
mov esi, eax
add esp, 8
test esi, esi
jne 0x8ac3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.008c002e
push esi
call fcn.008bffb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x8af850
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 0x8af8ae
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 0x8da720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x8af8ba
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.008c01e1
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 0x8af8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x8da720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x8af92a
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.008c1082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x8af957
mov word [eax], si
add eax, 2
push eax
call fcn.008c1030
add esp, 4
jmp 0x8af959
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 0x8af8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x8af8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x8afff0
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
Function at 0x8b0080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x8b00c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x8d5458
push ecx
call fcn.008c01e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.008c01e1
add esp, 0x10
jmp 0x8b00d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.008c020b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.008bfdff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.008b0050
mov eax, dword [0x8da728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0x8b013b
push esi
call fcn.008affb0
add esp, 4
mov dword [0x8da728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x8b014c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.008afff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0x8b3440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x8b34b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x8b348e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x8b3471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x8b347e
add edx, ecx
cmp ebx, edx
jb 0x8b348a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x8b3467
xor ecx, ecx
jmp 0x8b34a2
test eax, eax
jne 0x8b3492
xor ecx, ecx
jmp 0x8b34a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.008b33c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x8b38f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x8b3921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0x8b3946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x8b396e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], 0x5a4d
jne 0x8b3993
push ecx
push esi
call fcn.008b34c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret
Function at 0x8b4c00
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
xor ecx, ecx
mov cx, word [eax + 0x14]
xor esi, esi
mov si, word [eax + 6]
push edi
xor edi, edi
lea ecx, [ecx + eax + 0x18]
test esi, esi
jbe 0x8b4c4a
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0x8b4c2b
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0x8b4c38
add edx, eax
cmp ebx, edx
jb 0x8b4c46
inc edi
add ecx, 0x28
cmp edi, esi
jb 0x8b4c21
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0x8b4c50
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, dword [ecx + 0x14]
mov esi, dword [ecx + 0xc]
mov ecx, dword [esp + 0x18]
sub eax, esi
add eax, ebx
pop edi
pop esi
add eax, ecx
pop ebx
ret

Function at 0x8b4c70
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x8b4cb0
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x8b4c9b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x8b4ca8
add edx, ecx
cmp ebx, edx
jb 0x8b4cb2
inc edi
add eax, 0x28
cmp edi, esi
jb 0x8b4c91
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x8b4f60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
push 0
push 0
mov ebp, dword [esp + 0x228]
push 0
push 0
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [edi]
shl eax, 2
push eax
call fcn.008c1145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0x8b4ffb
push ebx
mov ebx, eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x28]
push ecx
push edx
push esi
push ebp
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x8b4fdd
lea eax, [esp + 0x18]
push eax
jmp 0x8b4fe2
push 0x8da720
call fcn.008c0fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0x8b4fb0
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0x8b4f40
push 4
push ecx
push eax
call fcn.008c143f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret