joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5e72cc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x190]
test eax, eax
je 0x5e736e
cmp dword [ebx + 0xac], 0
jne 0x5e7368
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5e720c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x5e7368
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x5e732e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5e7368
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0xa8]
mov edx, esi
call fcn.004b51e8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5e733d
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x5e76a4
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x8f5908]
cmp dword [eax + 0x190], 0
je 0x5e7809
test bl, bl
jne 0x5e775e
cmp dword [esi + 0xb4], 0
jne 0x5e7753
mov eax, esi
call fcn.005ea8ac
push eax
push 0x5e75ac
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5e7724
mov eax, dword [0x8f5908]
cmp byte [eax + 0xeb], 0
je 0x5e7724
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5e7705
mov eax, dword [eax - 4]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5e7724
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5e770d
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5e7753
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004b51e8
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5e7733
inc dword [esi + 0xb4]
jmp 0x5e7809
cmp dword [esi + 0xb4], 0
jle 0x5e7809
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x5e7809
cmp dword [esi + 0x58], 0
je 0x5e77be
mov eax, dword [0x8f5908]
cmp byte [eax + 0xeb], 0
je 0x5e77be
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5e779f
mov eax, dword [eax - 4]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5e77be
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5e77a7
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5e77ed
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004b51e8
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5e77cd
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x5d30d0]
call fcn.0040f2c4
pop edi
pop esi
pop ebx
ret
Function at 0x5e85d4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x5e862f
cmp byte [ebx + 0xeb], 0
jne 0x5e862f
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x190]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040ba4c
mov eax, dword [esi]
test eax, eax
je 0x5e861c
mov eax, dword [eax - 4]
test eax, eax
jne 0x5e863c
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040bca4
jmp 0x5e863c
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040bca4
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5ea138
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5ea1a9
mov eax, esi
call fcn.0053f1dc
test al, al
je 0x5ea1a9
mov eax, dword [ebx + 0x98]
call fcn.0053ed74
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5ea1a9
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x17c]
test al, al
je 0x5ea19a
push 0
mov eax, dword [ebx + 0x98]
call fcn.0053ed74
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.00534df8
jmp 0x5ea1a9
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.005e9f44
pop esi
pop ebx
ret
Function at 0x5f9690
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040b9a8
xor eax, eax
push ebp
push 0x5f9710
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040c824
mov dword [ebp - 8], eax
cmp dword [ebx + 8], 0
jne 0x5f96d9
mov eax, dword [ebx + 4]
call fcn.0040c824
push eax
push 0
call sub.advapi32.dll_RegisterEventSourceW
mov dword [ebx + 8], eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push 1
push 0
mov eax, dword [ebp + 8]
push eax
movzx eax, word [ebp + 0xc]
push eax
push esi
mov eax, dword [ebx + 8]
push eax
call sub.advapi32.dll_ReportEventW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f9717
lea eax, [ebp - 4]
call fcn.0040b8b4
pop eax
jmp eax

Function at 0x5fa7e8
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5fa9c7
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
xor eax, eax
call fcn.00407a88
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x5fa9e4
call fcn.0040cdb0
test eax, eax
jle 0x5fa849
push 0x5fa9f4
push dword [ebp - 4]
push 0x5fa9f4
lea eax, [ebp - 4]
mov edx, 3
call fcn.0040cb14
cmp word [ebx + 0xb2], 0
je 0x5fa861
mov edx, ebx
mov eax, dword [ebx + 0xb4]
call dword [ebx + 0xb0]
mov eax, dword [ebx + 0xa0]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x5fa875
lea esi, [ebp - 0xc]
jmp 0x5fa877
xor esi, esi
cmp dword [ebx + 0x90], 0
jne 0x5fa884
xor edi, edi
jmp 0x5fa891
mov eax, dword [ebx + 0x90]
call fcn.0040c824
mov edi, eax
mov eax, dword [ebx + 0x8c]
call fcn.0040c824
push eax
push edi
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.005f9ecc
mov eax, dword [ebp - 0x14]
call fcn.0040c824
push eax
push esi
mov eax, dword [ebx + 0x84]
call fcn.0040c824
push eax
mov eax, dword [ebp - 4]
call fcn.0040c824
push eax
mov eax, ebx
call fcn.005fa008
push eax
mov eax, ebx
call fcn.005f9fdc
push eax
mov eax, ebx
call fcn.005f9f90
push eax
push 0xf01ff
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.005f9d70
mov eax, dword [ebp - 0x18]
call fcn.0040c824
push eax
mov eax, dword [ebx + 8]
call fcn.0040c824
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CreateServiceW
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0xa0], eax
cmp dword [ebp - 0x10], 0
jne 0x5fa920
call fcn.0043b224
xor edx, edx
push ebp
push 0x5fa99b
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x5fa95e
push dword fs:[edx]
mov dword fs:[edx], esp
cmp word [ebx + 0xba], 0
je 0x5fa954
mov edx, ebx
mov eax, dword [ebx + 0xbc]
call dword [ebx + 0xb8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5fa982
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fa9a2
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_CloseServiceHandle
pop eax
jmp eax
Function at 0x5fa9f8
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0xc2], 0
je 0x5faa24
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xc4]
call dword [esi + 0xc0]
push 0xf01ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.0040c824
push eax
push ebx
call sub.advapi32.dll_OpenServiceW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x5faa49
call fcn.0043b224
xor eax, eax
push ebp
push 0x5faa82
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_DeleteService
test eax, eax
jne 0x5faa69
call fcn.0043b224
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5faa89
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
pop eax
jmp eax

Function at 0x5fb4fc
Capabilities:
Allocate or change rwx memory
Enumerate pe sections

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp + 4], ecx
mov dword [esp], eax
mov eax, dword [edx + 0x38]
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
mov eax, dword [eax]
lea ebx, [eax + 0x18]
movzx edx, word [eax + 0x14]
add ebx, edx
movzx edi, word [eax + 6]
dec edi
test edi, edi
jl 0x5fb590
inc edi
mov eax, dword [esp + 4]
mov eax, dword [eax + 4]
add eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x10]
test edx, edx
jne 0x5fb563
mov esi, dword [esp + 8]
test esi, esi
jle 0x5fb58a
push 0x40
push 0x1000
push esi
push eax
call sub.kernel32.dll_VirtualAlloc
mov ebp, eax
mov dword [ebx + 8], ebp
mov edx, esi
mov eax, ebp
xor ecx, ecx
call fcn.00408280
jmp 0x5fb58a
mov esi, edx
push 0x40
push 0x1000
push esi
push eax
call sub.kernel32.dll_VirtualAlloc
mov ebp, eax
mov eax, dword [ebx + 0x14]
mov edx, dword [esp]
lea eax, [edx + eax]
mov ecx, esi
mov edx, ebp
call fcn.00407720
mov dword [ebx + 8], ebp
add ebx, 0x28
dec edi
jne 0x5fb52a
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5fb918
Capabilities:
Inspect section memory permissions

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov edi, eax
xor esi, esi
mov ebx, dword [edi]
add ebx, 0xf8
mov eax, dword [edi]
movzx ebp, word [eax + 6]
dec ebp
test ebp, ebp
jl 0x5fb9fa
inc ebp
xor edx, edx
mov eax, dword [ebx + 0x24]
mov ecx, eax
and ecx, 0x20000000
cmp ecx, 0x20000000
jne 0x5fb951
or edx, 0x10
mov ecx, eax
and ecx, 0x40000000
cmp ecx, 0x40000000
jne 0x5fb964
or edx, 2
mov ecx, eax
and ecx, 0x80000000
cmp ecx, 0x80000000
jne 0x5fb977
or edx, 8
mov ecx, eax
and ecx, 0x4000000
cmp ecx, 0x4000000
jne 0x5fb98d
or edx, 0x200
and eax, 0x2000000
cmp eax, 0x2000000
jne 0x5fb9af
push 0x4000
mov eax, dword [ebx + 0x10]
push eax
mov eax, dword [ebx + 8]
or eax, esi
push eax
call sub.kernel32.dll_VirtualFree
jmp 0x5fb9f3
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x5fb9de
mov ecx, dword [ebx + 0x24]
and ecx, 0x40
cmp ecx, 0x40
jne 0x5fb9c8
mov eax, dword [edi]
mov eax, dword [eax + 0x20]
jmp 0x5fb9de
mov ecx, dword [ebx + 0x24]
and ecx, 0x80
cmp ecx, 0x80
jne 0x5fb9de
mov eax, dword [edi]
mov eax, dword [eax + 0x24]
test eax, eax
jle 0x5fb9f0
push esp
push edx
push eax
mov eax, dword [ebx + 8]
or eax, esi
push eax
call sub.kernel32.dll_VirtualProtect
add ebx, 0x28
dec ebp
jne 0x5fb939
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5fd3ac
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x30]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040b9a8
xor eax, eax
push ebp
push 0x5fd47c
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov esi, 1
mov eax, dword [ebp - 4]
test eax, eax
je 0x5fd3ed
mov eax, dword [eax - 4]
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 0xc]
ja 0x5fd464
jmp 0x5fd3f8
inc esi
cmp esi, dword [ebp - 0xc]
ja 0x5fd41f
mov eax, dword [ebp - 4]
movzx eax, word [eax + esi*2 - 2]
mov word [ebp - 0xe], ax
movzx eax, word [ebp - 0xe]
cmp ax, 0xff
ja 0x5fd41a
movzx eax, ax
bt dword [ebp - 0x30], eax
setb dl
jmp 0x5fd421
xor edx, edx
test dl, dl
jne 0x5fd3f7
cmp esi, dword [ebp - 0xc]
ja 0x5fd430
inc dword [ebp - 8]
jmp 0x5fd430
inc esi
cmp esi, dword [ebp - 0xc]
ja 0x5fd459
mov eax, dword [ebp - 4]
movzx eax, word [eax + esi*2 - 2]
mov word [ebp - 0x10], ax
movzx eax, word [ebp - 0x10]
cmp ax, 0xff
ja 0x5fd452
movzx eax, ax
bt dword [ebp - 0x30], eax
setb al
xor al, 1
jmp 0x5fd45b
xor eax, eax
test al, al
jne 0x5fd42f
cmp esi, dword [ebp - 0xc]
jbe 0x5fd3f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fd483
lea eax, [ebp - 4]
call fcn.0040b8b4
pop eax
jmp eax

Function at 0x5fd48c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x35]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.0040b9a8
xor eax, eax
push ebp
push 0x5fd597
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
mov esi, 1
mov eax, dword [ebp + 8]
call fcn.0040b8b4
mov eax, dword [ebp - 4]
test eax, eax
je 0x5fd4d9
mov eax, dword [eax - 4]
mov dword [ebp - 0x10], eax
cmp esi, dword [ebp - 0x10]
jg 0x5fd57f
jmp 0x5fd4e8
inc esi
cmp esi, dword [ebp - 0x10]
jg 0x5fd50f
mov eax, dword [ebp - 4]
movzx eax, word [eax + esi*2 - 2]
mov word [ebp - 0x12], ax
movzx eax, word [ebp - 0x12]
cmp ax, 0xff
ja 0x5fd50a
movzx eax, ax
bt dword [ebp - 0x35], eax
setb bl
jmp 0x5fd511
xor ebx, ebx
test bl, bl
jne 0x5fd4e7
cmp esi, dword [ebp - 0x10]
jg 0x5fd51d
inc dword [ebp - 0xc]
mov edi, esi
jmp 0x5fd522
inc edi
cmp edi, dword [ebp - 0x10]
jg 0x5fd54e
mov eax, dword [ebp - 4]
movzx eax, word [eax + esi*2 - 2]
mov word [ebp - 0x14], ax
movzx eax, word [ebp - 0x14]
cmp ax, 0xff
ja 0x5fd544
movzx eax, ax
bt dword [ebp - 0x35], eax
setb al
xor al, 1
mov byte [ebp - 0x15], al
jmp 0x5fd552
mov byte [ebp - 0x15], 0
cmp byte [ebp - 0x15], 0
jne 0x5fd521
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jne 0x5fd574
mov eax, dword [ebp + 8]
push eax
mov ecx, edi
sub ecx, esi
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.0040cc5c
jmp 0x5fd57f
mov esi, edi
cmp esi, dword [ebp - 0x10]
jle 0x5fd4e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fd59e
lea eax, [ebp - 4]
call fcn.0040b8b4
pop eax
jmp eax
Function at 0x604eac
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x604f7d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x48]
call sub.kernel32.dll_GetEnvironmentStringsW
mov esi, eax
xor ebx, ebx
lea eax, [ebp - 4]
call fcn.0040b8b4
jmp 0x604f41
test di, di
je 0x604f01
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.0040c844
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
call fcn.0040ca34
jmp 0x604f40
cmp dword [ebp - 4], 0
je 0x604f52
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x604f98
call fcn.0040cdb0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
je 0x604f38
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0042faa8
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
lea eax, [ebp - 4]
call fcn.0040b8b4
inc ebx
movzx edi, word [esi + ebx*2]
test di, di
jne 0x604ee5
cmp word [esi + ebx*2 - 2], 0
jne 0x604ee5
push esi
call sub.kernel32.dll_FreeEnvironmentStringsW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x604f84
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040b914
lea eax, [ebp - 4]
call fcn.0040b8b4
pop eax
jmp eax

Function at 0x604f9c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
push ebp
push 0x60502f
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 0x104
mov eax, esi
call fcn.00431920
mov ebx, eax
push esi
push ebx
call sub.kernel32.dll_GetWindowsDirectoryW
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040c884
mov edx, dword [ebp - 4]
mov eax, edi
mov ecx, 0x60504c
call fcn.0040ca8c
push esi
push ebx
call sub.kernel32.dll_GetSystemDirectoryW
push dword [edi]
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040c884
push dword [ebp - 8]
push 0x60504c
mov eax, edi
mov edx, 3
call fcn.0040cb14
mov eax, ebx
call fcn.00431960
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x605036
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040b914
pop eax
jmp eax
Function at 0x605050
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x6050ec
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040b8b4
mov eax, 0x104
call fcn.00431920
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push edi
call sub.shell32.dll_SHGetSpecialFolderLocation
push ebx
mov eax, dword [ebp - 0xc]
push eax
call sub.shell32.dll_SHGetPathFromIDListW
test eax, eax
je 0x6050ab
mov eax, esi
mov edx, ebx
call fcn.0040c884
mov eax, ebx
call fcn.00431960
lea eax, [ebp - 4]
call fcn.00410d80
push eax
call sub.shell32.dll_SHGetMalloc
test eax, 0x80000000
jne 0x6050d4
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6050f3
lea eax, [ebp - 4]
call fcn.00410d80
pop eax
jmp eax

Function at 0x60576c
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd44
push ebx
mov ebx, eax
test ebx, ebx
jne 0x605782
mov byte [ebp - 1], 0
jmp 0x6057fb
mov eax, dword [0x8dd6f0]
cmp dword [eax], 0
je 0x605799
lea eax, [ebp - 8]
push eax
mov eax, dword [0x8dd6f0]
mov eax, dword [eax]
call eax
xor eax, eax
push ebp
push 0x6057f4
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x400
push 0x2b4
lea eax, [ebp - 0x2bc]
push eax
push 0
mov eax, ebx
call fcn.0040c824
push eax
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
setne byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6057fb
mov eax, dword [0x8dc49c]
cmp dword [eax], 0
je 0x6057f1
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x8dc49c]
mov eax, dword [eax]
call eax
pop eax
jmp eax
movzx eax, byte [ebp - 1]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x605b44
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040b9a8
mov eax, dword [ebp - 8]
call fcn.0040b9a8
xor eax, eax
push ebp
push 0x605c1b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.0040b8b4
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor esi, esi
xor ebx, ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x14]
push eax
push ebx
mov eax, dword [ebp - 8]
call fcn.0040c824
push eax
mov eax, dword [ebp - 4]
call fcn.0040c824
mov edi, eax
push edi
call sub.advapi32.dll_LookupAccountNameW
mov eax, dword [ebp - 0x10]
call fcn.00431920
mov esi, eax
mov eax, dword [ebp - 0x14]
call fcn.0040712c
mov ebx, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x14]
push eax
push ebx
mov eax, dword [ebp - 8]
call fcn.0040c824
push eax
push edi
call sub.advapi32.dll_LookupAccountNameW
test eax, eax
je 0x605bf0
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.005fbfec
mov eax, esi
call fcn.00431960
mov eax, ebx
call fcn.0040717c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x605c22
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040b914
pop eax
jmp eax

Function at 0x606390
Capabilities:
Persist via ginadll registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x606496
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov eax, 0x80000002
call fcn.005fe0e0
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x606472
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 8]
call fcn.004f74c0
mov edx, 0x6064b4
mov eax, dword [ebp - 8]
call fcn.004f7750
test al, al
je 0x606437
mov edx, 0x60652c
mov eax, dword [ebp - 8]
call fcn.004f81ac
test al, al
je 0x60642f
lea ecx, [ebp - 0x10]
mov edx, 0x60652c
mov eax, dword [ebp - 8]
call fcn.004f7f88
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.0042f6d4
mov eax, dword [ebp - 0xc]
mov ecx, 1
mov edx, eax
mov eax, 0x606548
call fcn.0040cdb0
test eax, eax
setg byte [ebp - 1]
mov eax, dword [ebp - 8]
call fcn.004f7490
cmp byte [ebp - 1], 0
jne 0x60645a
mov edx, 0x80000001
mov eax, dword [ebp - 8]
call fcn.004f74c0
mov edx, 0x606564
mov eax, dword [ebp - 8]
call fcn.004f8254
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x606479
mov eax, dword [ebp - 8]
call fcn.004099cc
pop eax
jmp eax
Function at 0x606ad4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x606b81
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0xff
mov eax, ebx
call fcn.00407160
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x606b5d
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
mov eax, dword [ebp - 8]
push eax
push 1
push 0x400
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.0040c884
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 0x606b9c
call fcn.0040ca8c
mov eax, dword [ebp - 0xc]
call fcn.004306a8
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x606b64
mov eax, dword [ebp - 8]
call fcn.0040717c
pop eax
jmp eax

Function at 0x606ba0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov dword [ebp - 8], 0xff
mov eax, dword [ebp - 8]
call fcn.00407160
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x606c0c
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x606bd8
mov ebx, 0x400
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.0040c884
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x606c13
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040717c
pop eax
jmp eax
Function at 0x607470
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x607544
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.0040b8b4
mov ebx, esi
test ebx, ebx
je 0x6074af
mov ebx, dword [ebx - 4]
lea eax, [ebp - 0x214]
push eax
mov ecx, ebx
sub ecx, 4
mov edx, 5
mov eax, esi
call fcn.0040cc5c
mov eax, dword [ebp - 0x214]
lea edx, [ebp - 4]
call fcn.0043a330
push 0x104
lea eax, [ebp - 0x20e]
push eax
lea eax, [ebp - 0x218]
mov edx, dword [ebp - 4]
call fcn.0040c928
mov eax, dword [ebp - 0x218]
call fcn.0040c5ac
push eax
call sub.kernel32.dll_QueryDosDeviceW
test eax, eax
je 0x607516
mov eax, edi
lea edx, [ebp - 0x20e]
mov ecx, 0x105
call fcn.0040c8d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60754b
lea eax, [ebp - 0x218]
call fcn.0040b8fc
lea eax, [ebp - 0x214]
call fcn.0040b8b4
lea eax, [ebp - 4]
call fcn.0040b8b4
pop eax
jmp eax