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

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x1c]
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 0x24]
push eax
xor esi, esi
push 0xf013f
push esi
push ecx
push reloc.WS2_32.dll_closesocket
mov dword [esp + 0x38], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
call edi
test eax, eax
jne 0x47cd50
mov eax, dword [esp + 0x24]
lea edx, [esp + 0xc]
push edx
push 0xf013f
push esi
push str.SoftWare
push eax
call edi
test eax, eax
je 0x47cc7c
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0xc
mov eax, dword [esp + 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push esi
lea edx, [esp + 0x14]
push edx
push esi
push 0xf013f
push esi
push esi
push esi
push str.MiNi
push eax
call edi
test eax, eax
je 0x47ccbe
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
mov edx, dword [esp + 0x24]
push edx
call esi
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0xc
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
push esi
lea eax, [esp + 0x18]
push eax
push esi
push 0xf013f
push esi
push esi
push esi
push ecx
push edx
call edi
test eax, eax
je 0x47cd01
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
mov ecx, dword [esp + 0xc]
push ecx
call esi
mov edx, dword [esp + 0x24]
push edx
call esi
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0xc
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x47cd06
mov ecx, dword [esp + 0x20]
sub eax, edx
mov edx, dword [esp + 0x14]
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push ebx
push 1
push esi
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
mov ecx, dword [esp + 0x10]
push ecx
call esi
mov edx, dword [esp + 0xc]
push edx
call esi
mov eax, dword [esp + 0x24]
push eax
call esi
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0xc
Function at 0x47cf30
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x58a9cb
mov eax, dword fs:[0]
push eax
sub esp, 0x834
mov eax, dword [0x5ea2c4]
xor eax, esp
mov dword [esp + 0x830], eax
push ebx
push ebp
push esi
mov eax, dword [0x5ea2c4]
xor eax, esp
push eax
lea eax, [esp + 0x844]
mov dword fs:[0], eax
mov eax, dword [esp + 0x858]
mov ebp, dword [esp + 0x854]
xor ebx, ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ebx
xor ecx, ecx
mov eax, 0x59b2fc
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], cx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x47cfa0
sub eax, edx
sar eax, 1
push eax
push 0x59b2fc
lea esi, [esp + 0x2c]
call fcn.00406150
lea edx, [esp + 0x18]
push edx
push 0xf013f
push ebx
mov dword [esp + 0x858], ebx
push str.SoftWare
push reloc.WS2_32.dll_accept
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47d020
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push ebx
lea eax, [esp + 0x14]
push eax
push ebx
push 0xf013f
push ebx
push ebx
push ebx
push str.MiNi
push ecx
call esi
test eax, eax
je 0x47d05c
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xffffffffffffffff
xor eax, eax
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
push ebx
lea ecx, [esp + 0x2c]
mov word [edi + 4], ax
push ecx
mov eax, edi
call fcn.00405d70
cmp dword [esp + 0x3c], 8
jb 0x47d142
mov edx, dword [esp + 0x28]
push edx
call fcn.005273b8
add esp, 4
jmp 0x47d142
mov ecx, dword [esp + 0x10]
push ebx
lea eax, [esp + 0x18]
push eax
push ebx
push 0xf013f
push ebx
push ebx
push ebx
push ebp
push ecx
call esi
test eax, eax
je 0x47d0af
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call esi
mov eax, dword [esp + 0x14]
push eax
call esi
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x2c]
xor ecx, ecx
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
push edx
mov eax, edi
mov word [edi + 4], cx
call fcn.00405d70
jmp 0x47d139
push 0x7fe
lea ecx, [esp + 0x46]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x4c], ax
call fcn.0052e300
mov ecx, dword [esp + 0x2c]
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x44]
push eax
push ebx
push ebx
push ecx
push edx
mov dword [esp + 0x34], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
mov ecx, dword [esp + 0x10]
push ecx
call esi
mov edx, dword [esp + 0x18]
push edx
call esi
lea eax, [esp + 0x40]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x47d110
sub eax, edx
sar eax, 1
jne 0x47d12e
lea ecx, [esp + 0x24]
mov esi, edi
call fcn.00405770
jmp 0x47d139
lea edx, [esp + 0x40]
mov eax, edi
call fcn.00406240
lea ecx, [esp + 0x24]
call fcn.00406300
mov eax, edi
mov ecx, dword [esp + 0x844]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x830]
xor ecx, esp
call fcn.005273c3
add esp, 0x840
ret 8
Function at 0x47db90
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x210
mov eax, dword [0x5ea2c4]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.0052e300
add esp, 0xc
cmp dword [esi + 0x98], 8
jb 0x47dbd2
mov esi, dword [esi + 0x84]
jmp 0x47dbd8
add esi, 0x84
push esi
push 0x104
lea edx, [esp + 0x10]
push edx
push 0x59b2fc
push edi
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 8]
lea edx, [eax + 2]
pop esi
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47dc00
sub eax, edx
sar eax, 1
je 0x47dc33
lea eax, [esp + 4]
push eax
call fcn.00527f79
add esp, 4
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.005273c3
add esp, 0x210
ret
mov ecx, dword [esp + 0x20c]
xor ecx, esp
xor eax, eax
call fcn.005273c3
add esp, 0x210
ret

Function at 0x47dd50
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x58a943
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x5ea2c4]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push esi
mov eax, dword [0x5ea2c4]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
xor ebx, ebx
push 0x206
lea ecx, [esp + 0x1a]
xor eax, eax
push ebx
mov dword [esp + 0x234], ebx
push ecx
mov word [esp + 0x20], ax
call fcn.0052e300
mov edx, dword [esp + 0x260]
add esp, 0xc
push edx
lea eax, [esp + 0x18]
push 0x5aaa1c
push eax
call fcn.00527adc
sub esp, 0x10
mov esi, esp
xor ecx, ecx
lea eax, [esp + 0x30]
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov dword [esp + 0x2c], esp
mov word [esi + 4], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x47dde3
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x34]
push edx
call fcn.00406150
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x44], esp
push 0xffffffffffffffff
mov byte [esp + 0x268], 1
push ebx
lea edx, [esp + 0x278]
xor ecx, ecx
mov dword [eax + 0x18], 7
mov dword [eax + 0x14], ebx
push edx
mov word [eax + 4], cx
call fcn.00405d70
mov eax, dword [esp + 0x26c]
push eax
mov byte [esp + 0x268], bl
call fcn.0047dc50
cmp dword [esp + 0x250], 8
jb 0x47de5c
mov ecx, dword [esp + 0x23c]
push ecx
call fcn.005273b8
add esp, 4
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.005273c3
add esp, 0x224
ret 0x24
Function at 0x488790
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x58c918
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5ea2c4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
push 0x1c
mov dword [esp + 0x20], 0
call fcn.0052747b
add esp, 4
test eax, eax
je 0x4887e3
mov dword [eax + 0x18], 0xf
mov dword [eax + 0x14], 0
mov byte [eax + 4], 0
mov esi, eax
jmp 0x4887e5
xor esi, esi
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.00405870
push 0
push 0
push esi
push 0x488850
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [esp + 0x10]
push ecx
add edi, 0xf8
mov dword [esp + 0x14], eax
call fcn.0048bfc0
cmp dword [esp + 0x3c], 0x10
jb 0x488831
mov edx, dword [esp + 0x28]
push edx
call fcn.005273b8
add esp, 4
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 0x1c

Function at 0x489200
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x58a688
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5ea2c4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
push 4
push str.http
lea eax, [esp + 0x28]
push eax
xor eax, eax
mov dword [esp + 0x24], 0
call fcn.00403b40
cmp eax, 0xffffffff
je 0x4892a3
push 0x1c
call fcn.0052747b
add esp, 4
test eax, eax
je 0x489269
mov dword [eax + 0x18], 0xf
mov dword [eax + 0x14], 0
mov byte [eax + 4], 0
mov esi, eax
jmp 0x48926b
xor esi, esi
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call fcn.00405870
push 0
push 0
push esi
push 0x489400
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
add edi, 0xf8
call fcn.0048bfc0
cmp dword [esp + 0x38], 0x10
jb 0x4892b7
mov ecx, dword [esp + 0x24]
push ecx
call fcn.005273b8
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x1c
Function at 0x4892d0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x58bef0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x5ea2c4]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x3c], ebx
cmp dword [esp + 0x5c], 8
mov esi, dword [esp + 0x48]
jae 0x48930d
lea esi, [esp + 0x48]
mov eax, dword [0x5ef5f4]
test eax, eax
jne 0x48931b
call fcn.00404b70
push esi
push str.Rp_Url__s
call fcn.0047b0e0
add esp, 8
push 4
push 0x59ace8
xor eax, eax
lea edx, [esp + 0x4c]
call fcn.00403c00
cmp eax, 0xffffffff
jne 0x489355
cmp dword [esp + 0x5c], 8
jb 0x4893e7
mov ecx, dword [esp + 0x48]
push ecx
jmp 0x4893df
push 0x1c
call fcn.0052747b
add esp, 4
cmp eax, ebx
je 0x489374
mov dword [eax + 0x18], 0xf
mov dword [eax + 0x14], ebx
mov byte [eax + 4], bl
mov esi, eax
jmp 0x489376
xor esi, esi
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x48]
call fcn.004924e0
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov byte [esp + 0x48], 1
call fcn.00405870
mov byte [esp + 0x3c], bl
cmp dword [esp + 0x30], 0x10
jb 0x4893af
mov eax, dword [esp + 0x1c]
push eax
call fcn.005273b8
add esp, 4
push ebx
push ebx
push esi
push 0x489400
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [esp + 0x14]
push ecx
add edi, 0xf8
mov dword [esp + 0x18], eax
call fcn.0048bfc0
cmp dword [esp + 0x5c], 8
jb 0x4893e7
mov edx, dword [esp + 0x48]
push edx
call fcn.005273b8
add esp, 4
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x30
ret 0x1c
Function at 0x48e830
Capabilities:
Encode data using base64

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, eax
test edi, edi
je 0x48e98f
lea ecx, [edi*8]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
add ecx, ecx
mov edx, ecx
lea ecx, [edi*8]
sub ecx, edx
sub ecx, 2
je 0x48e87a
sub ecx, 2
jne 0x48e87d
add eax, 2
jmp 0x48e87d
add eax, 3
inc eax
cmp dword [ebx], eax
jge 0x48e88e
pop edi
mov dword [ebx], eax
pop esi
mov eax, 0xfffffff0
pop ebx
pop ecx
ret
mov ecx, dword [esp + 0x18]
mov eax, 0x55555556
imul edi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
xor edx, edx
push ebp
test eax, eax
jle 0x48e92c
lea edx, [eax - 1]
mov eax, 0xaaaaaaab
mul edx
shr edx, 1
inc edx
lea eax, [edx + edx*2]
mov dword [esp + 0x10], eax
movzx eax, byte [esi]
movzx ebp, byte [esi + 1]
mov ebx, eax
sar ebx, 2
inc esi
movzx edi, byte [esi + 1]
and ebx, 0x3f
mov bl, byte [ebx + 0x5a15e0]
mov byte [ecx], bl
inc esi
shl eax, 4
mov ebx, ebp
sar ebx, 4
add ebx, eax
and ebx, 0x3f
movzx eax, byte [ebx + 0x5a15e0]
mov byte [ecx + 1], al
inc ecx
mov eax, edi
sar eax, 6
lea eax, [eax + ebp*4]
and eax, 0x3f
movzx eax, byte [eax + 0x5a15e0]
inc ecx
mov byte [ecx], al
and edi, 0x3f
movzx eax, byte [edi + 0x5a15e0]
inc ecx
mov byte [ecx], al
inc esi
inc ecx
sub edx, 1
jne 0x48e8c2
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
cmp edx, edi
jge 0x48e983
movzx eax, byte [esi]
lea ebp, [edx + 1]
cmp ebp, edi
jge 0x48e940
movzx esi, byte [esi + 1]
jmp 0x48e942
xor esi, esi
mov edx, eax
sar edx, 2
and edx, 0x3f
mov dl, byte [edx + 0x5a15e0]
mov byte [ecx], dl
mov edx, esi
sar edx, 4
shl eax, 4
add edx, eax
and edx, 0x3f
mov al, byte [edx + 0x5a15e0]
inc ecx
mov byte [ecx], al
inc ecx
cmp ebp, edi
jge 0x48e97b
and esi, 0xf
mov dl, byte [esi*4 + 0x5a15e0]
mov byte [ecx], dl
jmp 0x48e97e
mov byte [ecx], 0x3d
inc ecx
mov byte [ecx], 0x3d
inc ecx
mov eax, ecx
sub eax, dword [esp + 0x1c]
pop ebp
mov dword [ebx], eax
mov byte [ecx], 0
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x48e9a0
Capabilities:
Encode data using base64

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
push edi
mov edi, eax
xor ebp, ebp
xor esi, esi
xor edx, edx
test edi, edi
jle 0x48ead2
mov dword [esp + 0x10], edi
lea ecx, [ecx]
cmp dword [esp + 0x10], 2
jl 0x48e9df
movzx eax, byte [edx + ebx]
cmp eax, 0x2f72
jne 0x48e9df
movzx ecx, byte [edx + ebx + 1]
cmp ecx, 0x2f6e
je 0x48ea10
mov al, byte [edx + ebx]
movzx ecx, al
cmp ecx, 0x2f6e
je 0x48ea10
cmp al, 0x3d
jne 0x48e9f7
inc esi
cmp esi, 2
jg 0x48ea41
cmp al, 0x7f
ja 0x48ea41
mov cl, byte [ecx + 0x5a1620]
cmp cl, 0x7f
je 0x48ea41
cmp cl, 0x40
jae 0x48ea0f
test esi, esi
jne 0x48ea41
inc ebp
dec dword [esp + 0x10]
inc edx
cmp edx, edi
jl 0x48e9c0
test ebp, ebp
je 0x48ead2
mov ecx, dword [esp + 0x20]
lea eax, [ebp + ebp*2]
lea eax, [eax + eax + 7]
sar eax, 3
cmp dword [ecx], eax
jge 0x48ea4c
pop edi
pop esi
pop ebp
mov dword [ecx], eax
mov eax, 0xfffffff0
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
mov eax, 0xffffffee
pop ebx
pop ecx
ret
mov esi, dword [esp + 0x1c]
xor ecx, ecx
xor edi, edi
mov ebp, 3
test edx, edx
jle 0x48eac8
lea ecx, [ecx]
movzx eax, byte [ebx]
cmp eax, 0x2f72
je 0x48eabe
cmp eax, 0x2f6e
je 0x48eabe
mov al, byte [eax + 0x5a1620]
xor ebx, ebx
cmp al, 0x40
sete bl
movzx eax, al
and eax, 0x3f
shl ecx, 6
inc edi
sub ebp, ebx
or ecx, eax
cmp edi, 4
jne 0x48eaba
xor edi, edi
test ebp, ebp
jle 0x48ea9f
mov eax, ecx
shr eax, 0x10
mov byte [esi], al
inc esi
cmp ebp, 1
jle 0x48eaac
mov eax, ecx
shr eax, 8
mov byte [esi], al
inc esi
cmp ebp, 2
mov ebx, dword [esp + 0x18]
jle 0x48eabe
mov byte [esi], cl
inc esi
jmp 0x48eabe
mov ebx, dword [esp + 0x18]
dec edx
inc ebx
mov dword [esp + 0x18], ebx
test edx, edx
jg 0x48ea60
sub esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [ecx], esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x48f340
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0xc24
mov eax, dword [0x5ea2c4]
xor eax, esp
mov dword [esp + 0xc20], eax
mov eax, dword [esp + 0xc28]
push ebx
push ebp
push esi
xor ebx, ebx
push 0x206
mov esi, ecx
lea edx, [esp + 0x22a]
mov dword [esp + 0x14], ebx
xor ecx, ecx
push ebx
push edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ebx
mov word [esp + 0x230], cx
call fcn.0052e300
add esp, 0xc
push 0x104
lea eax, [esp + 0x228]
push eax
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x48f483
jmp 0x48f3b0
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x228]
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x48f465
push 0x206
push eax
lea ecx, [esp + 0x26]
push ecx
mov dword [esp + 0x20], 0x104
mov word [esp + 0x28], ax
call fcn.0052e300
add esp, 0xc
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push str.DisplayName
push edx
mov dword [esp + 0x28], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48f45a
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00527ed8
add esp, 8
test eax, eax
je 0x48f45a
lea edx, [esp + 0x1c]
push 0x5d220c
push edx
call fcn.00527ed8
mov ebp, eax
mov eax, dword [esp + 0x20]
push 0x5d220c
push eax
call fcn.00527ed8
add esp, 0x10
test eax, eax
jne 0x48f4bc
test ebp, ebp
je 0x48f4bc
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x104
lea edx, [esp + 0x228]
push edx
inc ebx
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x48f3b0
xor edx, edx
push edx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], dx
push 0x59b2fc
call fcn.00406150
mov ecx, dword [esp + 0xc2c]
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005273c3
add esp, 0xc24
ret
xor eax, eax
push 0x7fe
push eax
lea ecx, [esp + 0x436]
push ecx
mov word [esp + 0x438], ax
call fcn.0052e300
add esp, 0xc
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x430]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push str.UninstallString
push edx
mov dword [esp + 0x2c], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], ax
lea eax, [esp + 0x42c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48f526
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x430]
push ecx
jmp 0x48f49d
Function at 0x48f550
Capabilities:
Access peb ldr_data
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x588fa3
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x5ea2c4]
xor eax, esp
mov dword [esp + 0x8c], eax
push ebx
push edi
mov eax, dword [0x5ea2c4]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0xa4], ebx
cmp dword [esp + 0xc4], 0x10
mov eax, dword [esp + 0xb0]
mov byte [esp + 0x94], bl
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x2c], 0x67452301
mov dword [esp + 0x30], 0xefcdab89
mov dword [esp + 0x34], 0x98badcfe
mov dword [esp + 0x38], 0x10325476
jae 0x48f5dd
lea eax, [esp + 0xb0]
push eax
mov eax, dword [esp + 0xc4]
lea ecx, [esp + 0x30]
call fcn.00497a60
lea edi, [esp + 0x10]
lea eax, [esp + 0x2c]
call fcn.004983d0
push esi
mov ecx, eax
mov byte [esp + 0xa8], 1
call fcn.004923c0
add esp, 4
cmp dword [esp + 0x28], 0x10
jb 0x48f622
mov eax, dword [esp + 0x14]
push eax
call fcn.005273b8
add esp, 4
cmp dword [esp + 0xc4], 0x10
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
jb 0x48f64c
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.005273b8
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.005273c3
add esp, 0x9c
ret

Function at 0x48f680
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x18]
push esi
mov esi, 8
push edi
mov edi, ecx
mov dword [esp + 8], 0
cmp dword [esp + 0x34], esi
jae 0x48f6a2
lea eax, [esp + 0x20]
lea ecx, [esp + 8]
push ecx
push 0x20119
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48f709
mov eax, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], edi
cmp dword [esp + 0x50], esi
jae 0x48f6dd
lea eax, [esp + 0x3c]
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [esp + 0xc]
cmp dword [esp + 0x34], esi
jb 0x48f71c
mov edx, dword [esp + 0x20]
push edx
call fcn.005273b8
add esp, 4
xor eax, eax
mov word [esp + 0x20], ax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 7
cmp dword [esp + 0x50], esi
jb 0x48f742
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.005273b8
add esp, 4
mov eax, edi
pop edi
pop esi
add esp, 0x10
ret
Function at 0x4901a0
Capabilities:
Get disk information
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x58852b
mov eax, dword fs:[0]
push eax
sub esp, 0x4dc
mov eax, dword [0x5ea2c4]
xor eax, esp
mov dword [esp + 0x4d8], eax
push ebx
push ebp
push edi
mov eax, dword [0x5ea2c4]
xor eax, esp
push eax
lea eax, [esp + 0x4ec]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4fc]
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov edi, 7
xor ecx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], cx
mov dword [esp + 0x4f4], ebx
cmp eax, ebx
jne 0x49022b
xor edx, edx
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
mov word [esi + 4], dx
cmp dword [esp + 0x2c], 8
jb 0x49031e
mov eax, dword [esp + 0x18]
push eax
jmp 0x490316
lea ecx, [esp + 0x100]
push ecx
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x4902fe
xor ebp, ebp
cmp word [esp + 0x100], bx
je 0x4902fe
lea edi, [esp + 0x100]
lea ecx, [ecx]
push 0x5d233c
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4902da
push 0x5d2344
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4902da
mov dx, word [edi]
mov ax, word [esp + ebx + 0x102]
mov word [esp + 0x30], dx
push 0x64
lea edx, [esp + 0x3c]
mov word [esp + 0x36], ax
push edx
lea eax, [esp + 0x38]
xor ecx, ecx
push eax
mov word [esp + 0x40], cx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x490347
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, dword [esp + 0x10]
mov edi, eax
push edi
lea edx, [esp + 0x3c]
push edx
push ebx
call fcn.0052acff
add esp, 0xc
test eax, eax
je 0x490357
add ebp, 4
lea ebx, [ebp + ebp]
cmp word [esp + ebx + 0x100], 0
lea edi, [esp + ebx + 0x100]
jne 0x490260
mov edi, 7
xor ebx, ebx
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
xor eax, eax
mov word [esi + 4], ax
cmp dword [esp + 0x2c], 8
jb 0x49031e
mov ecx, dword [esp + 0x18]
push ecx
call fcn.005273b8
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x4ec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4d8]
xor ecx, esp
call fcn.005273c3
add esp, 0x4e8
ret
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
jmp 0x490304
lea eax, [esp + 0x30]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x490360
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x1c]
call fcn.00404070
lea eax, [esp + 0x14]
lea edx, [ebx + edi*2]
push eax
call fcn.004038b0
xor ecx, ecx
push 0xffffffffffffffff
push ecx
lea edx, [esp + 0x1c]
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
push edx
mov eax, esi
mov word [esi + 4], cx
call fcn.00405d70
lea ecx, [esp + 0x14]
call fcn.00406300
jmp 0x49031e