joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d870
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a009b
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
xor eax, eax
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], esi
mov word [ebp - 0x438], ax
lea ebx, [ebp - 0x43c]
mov dword [ebp - 4], esi
call fcn.0043d630
test al, al
jne 0x43d8e4
cmp dword [ebp - 0x424], 8
jb 0x43d9e4
mov ecx, dword [ebp - 0x438]
push ecx
jmp 0x43d9dc
push 0x206
lea eax, [ebp - 0x216]
xor edx, edx
push esi
push eax
mov word [ebp - 0x218], dx
call fcn.0055e2a0
push str.glcimepnljoholdmjchkloafkggfoijh
push str.....User_DataDefaultExtensions_s
lea ecx, [ebp - 0x218]
push 0x104
push ecx
call fcn.00434870
push 0x206
lea eax, [ebp - 0x41e]
xor edx, edx
push esi
push eax
mov word [ebp - 0x420], dx
call fcn.0055e2a0
mov eax, dword [ebp - 0x438]
mov esi, 8
add esp, 0x28
cmp dword [ebp - 0x424], esi
jae 0x43d951
lea eax, [ebp - 0x438]
lea ecx, [ebp - 0x218]
push ecx
push eax
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x43d9cd
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43d996
cmp dword [ebp - 0x424], esi
jb 0x43d992
mov ecx, dword [ebp - 0x438]
push ecx
call fcn.0055dfce
add esp, 4
mov al, 1
jmp 0x43d9e6
push 1
mov ebx, str.glcimepnljoholdmjchkloafkggfoijh
mov edi, str.Chrome
mov esi, str.Google
call fcn.00436e00
add esp, 4
cmp dword [ebp - 0x424], 8
mov bl, al
jb 0x43d9c9
mov edx, dword [ebp - 0x438]
push edx
call fcn.0055dfce
add esp, 4
mov al, bl
jmp 0x43d9e6
cmp dword [ebp - 0x424], esi
jb 0x43d9e4
mov eax, dword [ebp - 0x438]
push eax
call fcn.0055dfce
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret
Function at 0x43f090
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a13e8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x5e6468]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ebx
mov ecx, str.IEXPLORE.EXE
call fcn.004386a0
add esp, 4
test al, al
jne 0x43f0dc
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, 8
lea esi, [ebx + 4]
cmp dword [ebx + 0x18], edi
jb 0x43f0ed
mov eax, dword [esi]
jmp 0x43f0ef
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43f0c9
cmp dword [ebx + 0x18], edi
jb 0x43f103
mov ecx, dword [esi]
jmp 0x43f105
mov ecx, esi
lea edi, [ebp - 0x28]
call fcn.00437950
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.004251d0
cmp dword [ebp - 0x10], 8
jb 0x43f132
mov eax, dword [ebp - 0x24]
push eax
call fcn.0055dfce
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4456a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov ecx, str.firefox.exe
call fcn.004386a0
add esp, 4
test al, al
jne 0x4456ba
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x18], 8
push esi
lea esi, [edi + 4]
jb 0x4456c8
mov eax, dword [esi]
jmp 0x4456ca
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x445702
call fcn.00466830
test al, al
je 0x4456fb
cmp dword [edi + 0x18], 8
jb 0x4456e6
mov esi, dword [esi]
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeW]
test eax, eax
je 0x445702
cmp dword [ebp - 4], 0
jne 0x445702
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x44e430
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
jne 0x44e43e
xor al, al
pop ebp
ret
push esi
lea ecx, [ebp + 8]
push ecx
push 0
push eax
push 0x44e2e0
push 0
push 0
mov dword [ebp + 8], 0
call fcn.00563efc
mov esi, eax
add esp, 0x18
cmp esi, 0xffffffff
je 0x44e469
test esi, esi
jne 0x44e46e
xor al, al
pop esi
pop ebp
ret
mov edx, dword [ebp + 0xc]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x44e489
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
pop ebp
ret
Function at 0x452020
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a8
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
push 0x18e
push ecx
lea edx, [ebp - 0x3a2]
push edx
mov dword [ebp - 0x3a8], eax
mov word [ebp - 0x3a4], cx
call fcn.0055e2a0
add esp, 0xc
lea eax, [ebp - 0x3a4]
push eax
push 0xc7
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
jne 0x45207e
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret
push edi
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x212]
push edx
mov word [ebp - 0x214], cx
call fcn.0055e2a0
mov eax, dword [0x5c5aa8]
mov cx, word [0x5c5aac]
add esp, 0xc
mov dword [ebp - 0xc], eax
mov word [ebp - 8], cx
lea edi, [ebp - 0x3a4]
push esi
jmp 0x4520c0
mov dx, word [edi]
push 0x104
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0xc]
push ecx
mov word [ebp - 0xc], dx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x452130
lea eax, [ebp - 0x214]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4520f0
sub eax, edx
sar eax, 1
mov esi, eax
mov edx, 0x5c
mov word [ebp + esi*2 - 0x214], dx
inc esi
push esi
lea ecx, [ebp - 0x214]
push ecx
xor eax, eax
push ebx
mov word [ebp + esi*2 - 0x214], ax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
je 0x452152
lea esp, [esp]
mov dx, word [edi]
add edi, 2
test dx, dx
jne 0x452130
cmp word [edi], dx
jne 0x4520c0
pop esi
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x3a8]
lea eax, [ebx + esi*2]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0x5c4970
push 0x104
push edx
call fcn.00434870
mov ecx, dword [ebp - 4]
add esp, 0x14
pop esi
xor ecx, ebp
mov eax, 1
pop edi
call fcn.0055e289
mov esp, ebp
pop ebp
ret
Function at 0x453230
Capabilities:
Get session information
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 5
push 0xffffffffffffffff
push 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
call sub.WTSAPI32.dll_WTSQuerySessionInformationW
test eax, eax
je 0x453290
mov edx, dword [ebp - 4]
mov eax, edx
push esi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x453264
mov ecx, dword [ebp + 8]
sub eax, esi
sar eax, 1
push eax
push edx
call fcn.004252e0
mov edx, dword [ebp - 4]
push edx
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x453390
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x870
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp esi, edi
jne 0x4533c5
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret
push 0x400
push esi
call fcn.0055e719
add esp, 8
cmp eax, 0x400
jge 0x4533b2
push 0x800
lea ecx, [ebp - 0x806]
xor eax, eax
push edi
push ecx
mov word [ebp - 0x808], ax
call fcn.0055e2a0
push 0x400
push esi
lea edx, [ebp - 0x808]
push 0x401
push edx
call fcn.005649a1
add esp, 0x1c
lea eax, [ebp - 0x814]
push eax
push 0x8b
mov dword [ebp - 0x814], edi
mov dword [ebp - 0x80c], edi
mov dword [ebp - 0x810], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov esi, eax
cmp esi, edi
je 0x453576
mov edx, dword [ebp - 0x814]
lea ecx, [ebp - 0x80c]
push ecx
push 1
push 2
push edi
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov esi, eax
cmp esi, edi
je 0x453545
lea eax, [ebp - 0x810]
push eax
push str.S_1_16_8192
call sub.ADVAPI32.dll_ConvertStringSidToSidW
mov esi, eax
cmp esi, edi
je 0x453545
mov eax, dword [ebp - 0x810]
mov dword [ebp - 0x818], edi
push eax
mov dword [ebp - 0x818], 0x20
mov dword [ebp - 0x81c], eax
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
mov edx, dword [ebp - 0x80c]
add eax, 8
push eax
lea ecx, [ebp - 0x81c]
push ecx
push 0x19
push edx
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
mov esi, eax
cmp esi, edi
je 0x453545
xor eax, eax
push 0x40
mov dword [ebp - 0x828], eax
mov dword [ebp - 0x824], eax
mov dword [ebp - 0x820], eax
lea eax, [ebp - 0x86c]
push edi
push eax
mov dword [ebp - 0x82c], edi
mov dword [ebp - 0x870], edi
call fcn.0055e2a0
add esp, 0xc
lea ecx, [ebp - 0x82c]
push ecx
mov ecx, dword [ebp - 0x80c]
lea edx, [ebp - 0x870]
push edx
push ebx
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x808]
push eax
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
mov eax, dword [ebp - 0x82c]
cmp eax, edi
je 0x453536
push eax
call ebx
mov eax, dword [ebp - 0x828]
cmp eax, edi
je 0x45354b
push eax
call ebx
jmp 0x45354b
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x810]
cmp eax, edi
je 0x45355c
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x80c]
cmp eax, edi
je 0x453569
push eax
call ebx
mov eax, dword [ebp - 0x814]
cmp eax, edi
je 0x453576
push eax
call ebx
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055e289
mov esp, ebp
pop ebp
ret
Function at 0x4535a0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x4535d5
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret
push edi
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
or edi, 0xffffffff
call fcn.0055e2a0
add esp, 0xc
lea ecx, [ebp - 0x230]
push ecx
push esi
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x453631
lea ebx, [ebx]
cmp dword [ebp - 0x228], ebx
je 0x45362b
lea edx, [ebp - 0x230]
push edx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x453610
jmp 0x453631
mov edi, dword [ebp - 0x218]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0055e289
mov esp, ebp
pop ebp
ret

Function at 0x453970
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59fd36
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
mov dword [ebp - 0x220], 0
call fcn.0055e2a0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x4539e3
push 0x5c353c
mov ecx, esi
call fcn.00426f30
jmp 0x453ab5
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x21c]
call fcn.00426f30
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x21c]
mov eax, dword [eax - 0xc]
push 1
dec eax
push eax
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.004468e0
mov eax, dword [eax]
push 0x5c2f84
push eax
call fcn.0055e1f6
add esp, 8
test eax, eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x220]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x453a56
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x21c]
test bl, bl
je 0x453a69
push 0xc
push 0x5c5ac8
jmp 0x453a70
push 0xd
push str.explorer.exe
call fcn.00427cf0
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
push eax
call fcn.00427bb0
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x453ab5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret
Function at 0x453bb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59fcf8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x5e6468]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
je 0x453d02
cmp dword [ebp + 0xc], ebx
je 0x453d02
lea ecx, [ebp - 0x14]
push ecx
push 0xf00ff
push eax
mov dword [ebp - 0x14], ebx
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x453cee
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x453cee
lea edi, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
call fcn.00453900
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x453ce8
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x453ce8
push 1
push eax
lea edx, [ebp + 8]
push edx
mov dword [ebp + 8], ebx
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x453c55
mov esi, 0x400
jmp 0x453c58
mov dword [ebp + 8], ebx
push 0x44
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.0055e2a0
mov ecx, dword [ebp + 0x10]
xor eax, eax
add esp, 0xc
push ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x6c], 0x44
mov dword [ebp - 0x64], str.winsta0default
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
call fcn.00426f30
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x6c]
push eax
push ebx
mov dword [ebp - 4], ebx
mov ecx, dword [ebp + 8]
push ecx
push esi
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x18]
call fcn.0042bcf0
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0x10]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov esi, eax
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x453cca
push eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
cmp esi, ebx
je 0x453cda
mov ecx, dword [ebp - 0x24]
push ecx
call edi
mov edx, dword [ebp - 0x28]
push edx
call edi
mov eax, dword [ebp - 0x10]
push eax
call edi
lea ecx, [ebp - 0x18]
call fcn.00426fe0
mov ecx, dword [ebp - 0x14]
push ecx
call edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x454040
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59fcc1
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
xor eax, eax
mov byte [ebp - 0x251], bl
mov dword [ebp - 0x238], 7
mov dword [ebp - 0x23c], ebx
mov word [ebp - 0x24c], ax
push 0x206
lea edx, [ebp - 0x216]
xor ecx, ecx
push ebx
mov dword [ebp - 4], ebx
push edx
mov word [ebp - 0x218], cx
call fcn.0055e2a0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
push 0x25
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x454119
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4540d0
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x250]
call fcn.004252e0
cmp dword [ebp - 0x23c], ebx
jne 0x454119
cmp dword [ebp - 0x238], 8
jb 0x454112
mov edx, dword [ebp - 0x24c]
push edx
call fcn.0055dfce
add esp, 4
xor al, al
jmp 0x454236
call fcn.0042a3c0
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test al, al
jne 0x454137
call fcn.0042a4f0
test al, al
je 0x4541ae
push str.Shcore.dll
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x234]
push ecx
call fcn.0042fcb0
add esp, 0xc
mov byte [ebp - 4], 1
cmp dword [ebp - 0x21c], 8
mov eax, dword [ebp - 0x230]
jae 0x45416b
lea eax, [ebp - 0x230]
push eax
call esi
cmp eax, ebx
je 0x45418b
push str.SetProcessDpiAwareness
push eax
call edi
cmp eax, ebx
je 0x45418b
push 1
call eax
test eax, eax
sete byte [ebp - 0x251]
mov byte [ebp - 4], bl
cmp dword [ebp - 0x21c], 8
jb 0x4541a6
mov edx, dword [ebp - 0x230]
push edx
call fcn.0055dfce
add esp, 4
cmp byte [ebp - 0x251], bl
jne 0x454218
push str.User32.dll
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x234]
push ecx
call fcn.0042fcb0
add esp, 0xc
mov byte [ebp - 4], 2
cmp dword [ebp - 0x21c], 8
mov eax, dword [ebp - 0x230]
jae 0x4541e2
lea eax, [ebp - 0x230]
push eax
call esi
cmp eax, ebx
je 0x454200
push str.SetProcessDPIAware
push eax
call edi
cmp eax, ebx
je 0x454200
call eax
test eax, eax
setne byte [ebp - 0x251]
cmp dword [ebp - 0x21c], 8
jb 0x454218
mov edx, dword [ebp - 0x230]
push edx
call fcn.0055dfce
add esp, 4
cmp dword [ebp - 0x238], 8
jb 0x454230
mov eax, dword [ebp - 0x24c]
push eax
call fcn.0055dfce
add esp, 4
mov al, byte [ebp - 0x251]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret
Function at 0x4600f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [0x5f3e70], 0
push esi
mov esi, eax
jne 0x460298
push 0x5f3e74
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [0x5f3e70], 0
je 0x46012a
push 0x5f3e74
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov esp, ebp
pop ebp
ret
push ebx
xor ebx, ebx
push ebx
push 0x28
push 0x5f3a58
xor eax, eax
xor ecx, ecx
push ebx
mov dword [0x5f3c60], ebx
mov dword [0x5f3e6c], ebx
mov word [0x5f3a58], ax
mov word [0x5f3c64], cx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x460175
push str.:windows_
push 0x5f3a58
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x4601fa
call fcn.004a4150
test al, al
jne 0x46028c
cmp esi, ebx
je 0x46028c
push esi
push ebx
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, 0xffffffff
je 0x46028c
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, ebx
je 0x4601ea
lea edx, [ebp - 4]
push edx
push 8
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4601ea
mov ecx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
push 0x5f3a58
push ecx
mov dword [ebp - 8], 0x104
call dword [sym.imp.USERENV.dll_GetUserProfileDirectoryW]
test eax, eax
je 0x4601e4
mov ebx, 1
mov edx, dword [ebp - 4]
push edx
call edi
test esi, esi
je 0x4601f1
push esi
call edi
pop edi
test ebx, ebx
je 0x46028c
push 0x5f3a58
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, 0x5f3a58
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x460210
push 0x104
sub eax, edx
push 0x5f3c64
sar eax, 1
push 0x5f3a58
mov dword [0x5f3c60], eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x460244
cmp eax, 0x104
jb 0x46024c
xor eax, eax
mov word [0x5f3c64], ax
push 0x5f3c64
push 0x5f3a58
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x460269
xor ecx, ecx
mov word [0x5f3c64], cx
mov eax, 0x5f3c64
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x460271
sub eax, edx
sar eax, 1
mov dword [0x5f3e6c], eax
mov byte [0x5f3e70], 1
push 0x5f3e74
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4615f0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ee36
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push 0x24c
lea eax, [ebp - 0x25c]
push ebx
push eax
mov esi, ecx
mov dword [ebp - 0x260], ebx
call fcn.0055e2a0
push 0x5c2f84
lea ecx, [ebp - 0x280]
push edi
push ecx
call fcn.0042fcb0
push esi
push eax
lea edx, [ebp - 0x29c]
push edx
mov dword [ebp - 4], ebx
call fcn.0042fd70
mov esi, 8
add esp, 0x24
cmp dword [eax + 0x18], esi
jb 0x46166e
mov eax, dword [eax + 4]
jmp 0x461671
add eax, 4
lea ecx, [ebp - 0x260]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x264], eax
cmp dword [ebp - 0x284], esi
jb 0x46169c
mov edx, dword [ebp - 0x298]
push edx
call fcn.0055dfce
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x284], 7
mov dword [ebp - 0x288], ebx
mov word [ebp - 0x298], ax
cmp dword [ebp - 0x268], esi
jb 0x4616d3
mov ecx, dword [ebp - 0x27c]
push ecx
call fcn.0055dfce
add esp, 4
xor edx, edx
cmp dword [ebp - 0x264], 0xffffffff
mov dword [ebp - 0x268], 7
mov dword [ebp - 0x26c], ebx
mov word [ebp - 0x27c], dx
jne 0x461700
xor al, al
jmp 0x4617bd
push 0x5c2f84
lea eax, [ebp - 0x2d4]
push edi
push eax
call fcn.0042fcb0
lea ecx, [ebp - 0x234]
push ecx
push eax
lea edx, [ebp - 0x2b8]
push edx
mov dword [ebp - 4], 1
call fcn.0042fcb0
add esp, 0x18
cmp dword [eax + 0x18], esi
jb 0x46173a
mov eax, dword [eax + 4]
jmp 0x46173d
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x2a0], esi
jb 0x46175b
mov eax, dword [ebp - 0x2b4]
push eax
call fcn.0055dfce
add esp, 4
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x2a0], 7
mov dword [ebp - 0x2a4], ebx
mov word [ebp - 0x2b4], cx
cmp dword [ebp - 0x2bc], esi
jb 0x461792
mov edx, dword [ebp - 0x2d0]
push edx
call fcn.0055dfce
add esp, 4
mov ecx, dword [ebp - 0x264]
lea eax, [ebp - 0x260]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x461700
mov edx, dword [ebp - 0x264]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret
Function at 0x4619a0
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4619b5
mov eax, 1
pop ebp
ret
push ebx
push edi
push esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp eax, 0xffffffff
je 0x4619e1
test al, 0x10
je 0x4619e1
push esi
mov edi, 1
call ebx
test eax, eax
je 0x4619ec
mov eax, edi
pop edi
pop ebx
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x461a0b
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x461a1a
push esi
test edi, edi
jne 0x461a14
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x461a1a
pop edi
mov eax, 1
pop ebx
pop ebp
ret
call ebx
test eax, eax
jne 0x461a0b
cmp byte [ebp + 8], 0
je 0x461a36
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x461a0b
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop edi
xor eax, eax
pop ebx
pop ebp
ret