joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411a57
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push esi
push edi
push ecx
lea edi, [ebp - 0x38]
push 0xe
pop ecx
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
and dword [ebp - 8], 0
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.004112a7
mov dword [ebp - 0xc], eax
push 0x208
call fcn.00411d5f
pop ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x10], eax
push 0x208
push 0
push dword [ebp - 0x10]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
mov dword [ebp - 0x24], 0x104
and dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x30], 0xf003f
cmp dword [ebp + 0x14], 0
je 0x411ad3
mov eax, dword [ebp - 0x30]
or eax, 0x100
mov dword [ebp - 0x30], eax
push dword [ebp - 0x10]
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.004117eb
mov esi, esp
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp esi, esp
call fcn.00411cf8
mov dword [ebp - 0x24], eax
mov esi, esp
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push dword [ebp - 0x30]
push 0
push 0
push 0
push dword [ebp - 0x10]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp esi, esp
call fcn.00411cf8
mov dword [ebp - 0x20], eax
mov esi, esp
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.00411cf8
mov esi, esp
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x30]
push 0
push dword [ebp - 0x10]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp esi, esp
call fcn.00411cf8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x411b95
mov eax, dword [ebp - 0x24]
shl eax, 1
mov esi, esp
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
push dword [ebp + 0xc]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp esi, esp
call fcn.00411cf8
mov esi, esp
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.00411cf8
mov dword [ebp - 8], 1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
push dword [ebp - 0x38]
call fcn.00411d68
pop ecx
mov eax, dword [ebp - 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x411bcb]
call fcn.00411ca2
pop eax
pop edx
pop edi
pop esi
add esp, 0x38
cmp ebp, esp
call fcn.00411cf8
leave
ret 0x10

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x50e8d5
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push edi
push esi
add esp, 4
sub edi, 0xd6c2
pop edi
push edi
xor edi, 0x17b5d
sub edi, 0x1732f
add edi, 0xdb8a
pop edi
push ebx
push eax
add esp, 4
add ebx, 0xcf5a
sub ebx, 0x4d3e
pop ebx
lea edx, [ebp - 0x1628]
mov dword [ebp - 0xc38], edx
mov eax, dword [ebp - 0x4dc]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xc34], ecx
push dword [ebx]
shl byte [esi - 0x77], cl
xchg ebp, eax
add dh, bh
invalid
push dword [ebx]
shl byte [esi - 0x77], 0x45
int3
push edi
push edi
add esp, 4
or edi, 0x15511
pop edi
push ebx
sub ebx, 0xf52b
and ebx, 0x566e
or ebx, 0x8a61
add ebx, 0x1793e
pop ebx
push ecx
push esi
add esp, 4
sub ecx, 0x21c3
pop ecx
mov ecx, dword [ebp - 0xc34]
mov dx, word [ecx]
mov word [ebp - 0xf86], dx
mov eax, dword [ebp - 0xc34]
add eax, 2
mov dword [ebp - 0xc34], eax
mov cx, word [ebp - 0xf86]
mov word [ebp - 0x200], cx
mov edx, dword [ebp - 0xc38]
mov ax, word [edx]
mov word [ebp - 0xf88], ax
mov ecx, dword [ebp - 0xc38]
add ecx, 2
mov dword [ebp - 0xc38], ecx
mov dx, word [ebp - 0xf88]
mov word [ebp - 0x34], dx
push edx
add edx, 0x301f
and edx, 0x14e32
pop edx
push edx
sub edx, 0x8de6
call 0x50e8d5
add byte [esi + 0x4f], al
aaa
xor eax, dword [ecx + 0x3d]
push eax
add esp, 4
add edx, 0x14637
and edx, 0x4f4c
pop edx
movzx eax, word [ebp - 0x34]
test eax, eax
jne 0x50e902
movzx ecx, word [ebp - 0x200]
movzx edx, word [ebp - 0x34]
sub ecx, edx
mov dword [ebp - 0x14fc], ecx
jmp 0x50e95c
movzx eax, word [ebp - 0x200]
movzx ecx, word [ebp - 0x34]
cmp eax, ecx
je 0x50e82a
movzx edx, word [ebp - 0x200]
xor edx, 0x20
movzx eax, word [ebp - 0x34]
cmp edx, eax
je 0x50e82a
movzx ecx, word [ebp - 0x200]
movzx edx, word [ebp - 0x34]
cmp ecx, edx
jge 0x50e946
mov dword [ebp - 0x14f8], 0xffffffff
jmp 0x50e950
mov dword [ebp - 0x14f8], 1
mov eax, dword [ebp - 0x14f8]
mov dword [ebp - 0x14fc], eax
cmp dword [ebp - 0x14fc], 0
jne 0x50e9a5
push ecx
or ecx, 0xf005
or ecx, 0x13e0f
add dword [eax], eax
push edi
push edx
add esp, 4
jmp 0x50e9af
sub edi, 0x11230
pop edi
push edi
or edi, 0x10228
sub edi, 0x14146
call 0x50e9d3
add byte [ecx], bh
inc ebx
inc esi
xor eax, 0x43443242
dec ebp
inc ecx
add esp, 4
pop edi
mov edx, dword [ebp - 0x4dc]
mov eax, dword [edx]
mov dword [ebp - 0x4dc], eax
mov ecx, dword [ebp - 0x4dc]
cmp ecx, dword [ebp - 0xc3c]
je 0x50ea03
mov edx, dword [ebp - 0x4dc]
cmp dword [edx + 0x30], 0
add byte [edi], cl
test ebx, ecx
std
invalid
invalid
mov dword [ebp - 0x2e0], 0
Function at 0x50e9cc
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push edi
push esi
add esp, 4
sub edi, 0xd6c2
pop edi
push edi
xor edi, 0x17b5d
sub edi, 0x1732f
add edi, 0xdb8a
pop edi
push ebx
push eax
add esp, 4
add ebx, 0xcf5a
sub ebx, 0x4d3e
pop ebx
lea edx, [ebp - 0x1628]
mov dword [ebp - 0xc38], edx
mov eax, dword [ebp - 0x4dc]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xc34], ecx
push dword [ebx]
shl byte [esi - 0x77], cl
xchg ebp, eax
add dh, bh
invalid
push dword [ebx]
shl byte [esi - 0x77], 0x45
int3
push edi
push edi
add esp, 4
or edi, 0x15511
pop edi
push ebx
sub ebx, 0xf52b
and ebx, 0x566e
or ebx, 0x8a61
add ebx, 0x1793e
pop ebx
push ecx
push esi
add esp, 4
sub ecx, 0x21c3
pop ecx
mov ecx, dword [ebp - 0xc34]
mov dx, word [ecx]
mov word [ebp - 0xf86], dx
mov eax, dword [ebp - 0xc34]
add eax, 2
mov dword [ebp - 0xc34], eax
mov cx, word [ebp - 0xf86]
mov word [ebp - 0x200], cx
mov edx, dword [ebp - 0xc38]
mov ax, word [edx]
mov word [ebp - 0xf88], ax
mov ecx, dword [ebp - 0xc38]
add ecx, 2
mov dword [ebp - 0xc38], ecx
mov dx, word [ebp - 0xf88]
mov word [ebp - 0x34], dx
push edx
add edx, 0x301f
and edx, 0x14e32
pop edx
push edx
sub edx, 0x8de6
call 0x50e8d5
add byte [esi + 0x4f], al
aaa
xor eax, dword [ecx + 0x3d]
push eax
add esp, 4
add edx, 0x14637
and edx, 0x4f4c
pop edx
movzx eax, word [ebp - 0x34]
test eax, eax
jne 0x50e902
movzx ecx, word [ebp - 0x200]
movzx edx, word [ebp - 0x34]
sub ecx, edx
mov dword [ebp - 0x14fc], ecx
jmp 0x50e95c
movzx eax, word [ebp - 0x200]
movzx ecx, word [ebp - 0x34]
cmp eax, ecx
je 0x50e82a
movzx edx, word [ebp - 0x200]
xor edx, 0x20
movzx eax, word [ebp - 0x34]
cmp edx, eax
je 0x50e82a
movzx ecx, word [ebp - 0x200]
movzx edx, word [ebp - 0x34]
cmp ecx, edx
jge 0x50e946
mov dword [ebp - 0x14f8], 0xffffffff
jmp 0x50e950
mov dword [ebp - 0x14f8], 1
mov eax, dword [ebp - 0x14f8]
mov dword [ebp - 0x14fc], eax
cmp dword [ebp - 0x14fc], 0
jne 0x50e9a5
push ecx
or ecx, 0xf005
or ecx, 0x13e0f
add dword [eax], eax
push edi
push edx
add esp, 4
jmp 0x50e9af
sub edi, 0x11230
pop edi
push edi
or edi, 0x10228
sub edi, 0x14146
call 0x50e9d3
add byte [ecx], bh
inc ebx
inc esi
xor eax, 0x43443242
dec ebp
inc ecx
add esp, 4
pop edi
mov edx, dword [ebp - 0x4dc]
mov eax, dword [edx]
mov dword [ebp - 0x4dc], eax
mov ecx, dword [ebp - 0x4dc]
cmp ecx, dword [ebp - 0xc3c]
je 0x50ea03
mov edx, dword [ebp - 0x4dc]
cmp dword [edx + 0x30], 0
add byte [edi], cl
test ebx, ecx
std
invalid
invalid
mov dword [ebp - 0x2e0], 0
Function at 0x50e9d3
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push edi
push esi
add esp, 4
sub edi, 0xd6c2
pop edi
push edi
xor edi, 0x17b5d
sub edi, 0x1732f
add edi, 0xdb8a
pop edi
push ebx
push eax
add esp, 4
add ebx, 0xcf5a
sub ebx, 0x4d3e
pop ebx
lea edx, [ebp - 0x1628]
mov dword [ebp - 0xc38], edx
mov eax, dword [ebp - 0x4dc]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xc34], ecx
push dword [ebx]
shl byte [esi - 0x77], cl
xchg ebp, eax
add dh, bh
invalid
push dword [ebx]
shl byte [esi - 0x77], 0x45
int3
push edi
push edi
add esp, 4
or edi, 0x15511
pop edi
push ebx
sub ebx, 0xf52b
and ebx, 0x566e
or ebx, 0x8a61
add ebx, 0x1793e
pop ebx
push ecx
push esi
add esp, 4
sub ecx, 0x21c3
pop ecx
mov ecx, dword [ebp - 0xc34]
mov dx, word [ecx]
mov word [ebp - 0xf86], dx
mov eax, dword [ebp - 0xc34]
add eax, 2
mov dword [ebp - 0xc34], eax
mov cx, word [ebp - 0xf86]
mov word [ebp - 0x200], cx
mov edx, dword [ebp - 0xc38]
mov ax, word [edx]
mov word [ebp - 0xf88], ax
mov ecx, dword [ebp - 0xc38]
add ecx, 2
mov dword [ebp - 0xc38], ecx
mov dx, word [ebp - 0xf88]
mov word [ebp - 0x34], dx
push edx
add edx, 0x301f
and edx, 0x14e32
pop edx
push edx
sub edx, 0x8de6
call 0x50e8d5
add byte [esi + 0x4f], al
aaa
xor eax, dword [ecx + 0x3d]
push eax
add esp, 4
add edx, 0x14637
and edx, 0x4f4c
pop edx
movzx eax, word [ebp - 0x34]
test eax, eax
jne 0x50e902
movzx ecx, word [ebp - 0x200]
movzx edx, word [ebp - 0x34]
sub ecx, edx
mov dword [ebp - 0x14fc], ecx
jmp 0x50e95c
movzx eax, word [ebp - 0x200]
movzx ecx, word [ebp - 0x34]
cmp eax, ecx
je 0x50e82a
movzx edx, word [ebp - 0x200]
xor edx, 0x20
movzx eax, word [ebp - 0x34]
cmp edx, eax
je 0x50e82a
movzx ecx, word [ebp - 0x200]
movzx edx, word [ebp - 0x34]
cmp ecx, edx
jge 0x50e946
mov dword [ebp - 0x14f8], 0xffffffff
jmp 0x50e950
mov dword [ebp - 0x14f8], 1
mov eax, dword [ebp - 0x14f8]
mov dword [ebp - 0x14fc], eax
cmp dword [ebp - 0x14fc], 0
jne 0x50e9a5
push ecx
or ecx, 0xf005
or ecx, 0x13e0f
add dword [eax], eax
push edi
push edx
add esp, 4
jmp 0x50e9af
sub edi, 0x11230
pop edi
push edi
or edi, 0x10228
sub edi, 0x14146
call 0x50e9d3
add byte [ecx], bh
inc ebx
inc esi
xor eax, 0x43443242
dec ebp
inc ecx
add esp, 4
pop edi
mov edx, dword [ebp - 0x4dc]
mov eax, dword [edx]
mov dword [ebp - 0x4dc], eax
mov ecx, dword [ebp - 0x4dc]
cmp ecx, dword [ebp - 0xc3c]
je 0x50ea03
mov edx, dword [ebp - 0x4dc]
cmp dword [edx + 0x30], 0
add byte [edi], cl
test ebx, ecx
std
invalid
invalid
mov dword [ebp - 0x2e0], 0
Function at 0x605824
Capabilities:
Get file system object information

Disassembly:
push ebx
add esp, 0xfffffd4c
mov ebx, eax
movzx eax, bl
mov eax, dword [eax*4 + 0x6cef58]
or eax, 0x4011
push eax
push 0x2b4
lea eax, [esp + 8]
push eax
push 0x10
push 0x605868
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x60585d
mov eax, dword [esp + 4]
jmp 0x60585f
xor eax, eax
add esp, 0x2b4
pop ebx
ret

Function at 0x605847
Capabilities:
Get file system object information

Disassembly:
push ebx
add esp, 0xfffffd4c
mov ebx, eax
movzx eax, bl
mov eax, dword [eax*4 + 0x6cef58]
or eax, 0x4011
push eax
push 0x2b4
lea eax, [esp + 8]
push eax
push 0x10
push 0x605868
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x60585d
mov eax, dword [esp + 4]
jmp 0x60585f
xor eax, eax
add esp, 0x2b4
pop ebx
ret
Function at 0x1004ed30
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1004eee5
pushal
mov esi, section..data
lea edi, [esi - 0x45000]
push edi
or ebp, 0xffffffff
jmp 0x1004ed5a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1004ed61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1004ed50
mov eax, 1
add ebx, ebx
jne 0x1004ed73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1004ed84
jne 0x1004ed94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1004ed94
dec eax
add ebx, ebx
jne 0x1004ed90
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1004ed68
xor ecx, ecx
sub eax, 3
jb 0x1004edac
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1004ee1e
sar eax, 1
mov ebp, eax
jmp 0x1004edb7
add ebx, ebx
jne 0x1004edb7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x1004edc4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x1004ede8
inc ecx
add ebx, ebx
jne 0x1004edd4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1004edc9
jne 0x1004ede5
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1004edc9
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1004ee08
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1004edf9
jmp 0x1004ed56
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1004ee08
add edi, ecx
jmp 0x1004ed56
pop esi
mov edi, esi
mov ecx, 0x7ff
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1004ee26
cmp byte [edi], 1
jne 0x1004ee26
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 eax, ebx
loop 0x1004ee2b
lea edi, [esi + 0x4b000]
mov eax, dword [edi]
or eax, eax
je 0x1004eeb3
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4e000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4e0dc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1004ee58
mov ecx, edi
jns 0x1004ee97
jp 0x1004ee90
mov eax, dword [edi]
add edi, 4
mov eax, dword [eax + esi + 0x4e000]
jmp 0x1004eea6
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 + 0x4e0e0]
or eax, eax
je 0x1004eead
mov dword [ebx], eax
add ebx, 4
jmp 0x1004ee75
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1004eee4
cmp al, 0xef
ja 0x1004eed7
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1004eeb9
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1004eec6
popal
jmp 0x10006104
Function at 0xb41370
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 0xb4138e
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 0xb6a074
push ecx
mov edi, eax
call fcn.00b55198
mov esi, eax
add esp, 8
test esi, esi
jne 0xb413cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00b5502e
push esi
call fcn.00b54fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xb44850
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 0xb448ae
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 0xb6f720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xb448ba
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.00b551e1
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 0xb448ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xb6f720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xb4492a
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.00b56082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xb44957
mov word [eax], si
add eax, 2
push eax
call fcn.00b56030
add esp, 4
jmp 0xb44959
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 0xb448ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xb448b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

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

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0xb450c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0xb6a458
push ecx
call fcn.00b551e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00b551e1
add esp, 0x10
jmp 0xb450d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.00b5520b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00b54dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00b45050
mov eax, dword [0xb6f728]
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 0xb4513b
push esi
call fcn.00b44fb0
add esp, 4
mov dword [0xb6f728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0xb4514c
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.00b44ff0
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 0xb48440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0xb484b7
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 0xb4848e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xb48471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xb4847e
add edx, ecx
cmp ebx, edx
jb 0xb4848a
inc edi
add eax, 0x28
cmp edi, esi
jb 0xb48467
xor ecx, ecx
jmp 0xb484a2
test eax, eax
jne 0xb48492
xor ecx, ecx
jmp 0xb484a2
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.00b483c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0xb488f0
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 0xb48921
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 0xb48946
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 0xb4896e
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 0xb48993
push ecx
push esi
call fcn.00b484c0
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 0xb49c00
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 0xb49c4a
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0xb49c2b
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0xb49c38
add edx, eax
cmp ebx, edx
jb 0xb49c46
inc edi
add ecx, 0x28
cmp edi, esi
jb 0xb49c21
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0xb49c50
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 0xb49c70
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 0xb49cb0
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xb49c9b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xb49ca8
add edx, ecx
cmp ebx, edx
jb 0xb49cb2
inc edi
add eax, 0x28
cmp edi, esi
jb 0xb49c91
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0xb49f60
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.00b56145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0xb49ffb
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 0xb49fdd
lea eax, [esp + 0x18]
push eax
jmp 0xb49fe2
push 0xb6f720
call fcn.00b55fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0xb49fb0
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0xb49f40
push 4
push ecx
push eax
call fcn.00b5643f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret
Function at 0xb4a310
Capabilities:
Query or enumerate registry key

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 0
push 0
push 0
push edi
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.00b56145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0xb4a3ab
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_RegEnumKeyExW]
test eax, eax
jne 0xb4a38d
lea eax, [esp + 0x18]
push eax
jmp 0xb4a392
push 0xb6f720
call fcn.00b55fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0xb4a360
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0xb49f40
push 4
push ecx
push eax
call fcn.00b5643f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret