joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4224c9
Capabilities:
Clear file content

Disassembly:
push 8
mov eax, 0x50935e
call fcn.00506098
mov ebx, ecx
mov edx, str.version.dat
lea ecx, [ebp - 0x14]
call fcn.00420609
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
call fcn.0042354f
push 0x80
push 2
xor edi, edi
lea ecx, [ebp - 0x10]
inc edi
or esi, 0xffffffff
push edi
push 0x40000000
push dword [ebp - 0x14]
mov dword [ebp - 0x10], esi
call fcn.0040b961
test eax, eax
je 0x422532
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
push dword [ebp + 0xc]
call fcn.0040b34a
test eax, eax
je 0x422532
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
jmp 0x42253d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x1c], eax
xor edi, edi
cmp dword [ebp - 0x10], esi
je 0x42254b
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x422566
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
call fcn.00506061
ret 8

Function at 0x422570
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x18], 0
je 0x42258c
push 1
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, esi
pop esi
jmp fcn.0042258e
pop esi
ret
Function at 0x4225ab
Capabilities:
Create thread
Resume thread

Disassembly:
push 0xc
mov eax, 0x509381
call fcn.00506098
mov ebx, ecx
mov dword [ebp - 0x18], ebx
lea edi, [ebx + 0xc]
xor esi, esi
push edi
push 4
push dword [ebp + 0xc]
push 0x4223cf
push esi
push esi
call fcn.004f7d47
add esp, 0x18
mov dword [ebx + 4], eax
test eax, eax
je 0x4226cd
push 0xfffffffffffffffe
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push str.DownloadThreadProc
lea ecx, [ebp - 0x14]
call fcn.004094e6
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], esi
mov edx, dword [0xd5aa40]
mov esi, edx
mov ecx, dword [edx + 4]
cmp byte [ecx + 0xd], 0
jne 0x42262d
mov eax, dword [edi]
cmp dword [ecx + 0x10], eax
jae 0x42261a
mov ecx, dword [ecx + 8]
jmp 0x42261e
mov esi, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x422610
cmp esi, edx
je 0x42262d
cmp eax, dword [esi + 0x10]
jae 0x42264d
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], edi
push eax
push ecx
call fcn.0040b417
push eax
add eax, 0x10
push eax
push esi
lea eax, [ebp + 0xc]
push eax
call fcn.0040b447
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
lea ebx, [esi + 0x14]
mov esi, dword [ebx]
or edi, 0xffffffff
sub esi, 0x10
mov edx, dword [edx]
lea ecx, [edx - 0x10]
cmp ecx, esi
je 0x4226a3
cmp dword [esi + 0xc], 0
jl 0x422698
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x422698
call fcn.004098e7
mov dword [ebp + 0xc], eax
lea edx, [esi + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x422691
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp + 0xc]
add eax, 0x10
mov dword [ebx], eax
jmp 0x4226a3
push dword [edx - 0xc]
mov ecx, ebx
push edx
call fcn.0040942f
mov dword [ebp - 4], edi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x4226be
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
inc eax
call fcn.00506061
ret 0x10

Function at 0x4234e6
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
lea ecx, [ebp - 1]
call fcn.004266ae
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42350a
test al, 0x10
je 0x42350a
xor esi, esi
inc esi
jmp 0x42350c
xor esi, esi
call fcn.004267da
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x423518
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
lea ecx, [ebp - 1]
call fcn.004266ae
test esi, esi
je 0x423541
cmp byte [esi], 0
je 0x423541
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x423541
xor esi, esi
inc esi
jmp 0x423543
xor esi, esi
call fcn.004267da
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42354f
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
lea ecx, [ebp - 1]
call fcn.004266ae
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov esi, eax
call fcn.004267da
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4237db
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0xaba010]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x400
lea eax, [ebp - 0x404]
mov edi, ecx
push 0
push eax
mov esi, edx
mov dword [ebp - 0x408], edi
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x404]
push 0
push esi
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x404]
mov ecx, edi
push eax
call fcn.004094e6
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004efcea
mov esp, ebp
pop ebp
ret

Function at 0x423842
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0xaba010]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, 0x100
lea eax, [ebp - 0x104]
push edi
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x108], esi
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x104]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [ebp - 0x104]
call fcn.004227d2
lea eax, [ebp - 0x104]
mov ecx, esi
push eax
call fcn.004094e6
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004efcea
mov esp, ebp
pop ebp
ret

Function at 0x4238af
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0xaba010]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, 0x100
lea eax, [ebp - 0x104]
push edi
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x108], esi
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x104]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [ebp - 0x104]
call fcn.004227d2
lea eax, [ebp - 0x104]
mov ecx, esi
push eax
call fcn.004094e6
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004efcea
mov esp, ebp
pop ebp
ret

Function at 0x42391c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0xaba010]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, 0x100
lea eax, [ebp - 0x104]
push edi
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x108], esi
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x104]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryA]
lea ecx, [ebp - 0x104]
call fcn.004227d2
lea eax, [ebp - 0x104]
mov ecx, esi
push eax
call fcn.004094e6
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004efcea
mov esp, ebp
pop ebp
ret
Function at 0x423989
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0xaba010]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0xd5aa48], 0
jne 0x423a22
push esi
push edi
mov dword [0xd5aa48], 1
mov edi, 0xd5aa4c
xor esi, esi
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x404]
push 0
push dword [esi + 0x51ec88]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
cmp byte [ebp - 0x404], 0
je 0x4239f9
lea ecx, [ebp - 0x404]
call fcn.004227d2
lea eax, [ebp - 0x404]
push eax
call fcn.004f5d90
pop ecx
push eax
lea eax, [ebp - 0x404]
mov ecx, edi
push eax
call fcn.0040942f
add esi, 8
add edi, 4
cmp esi, 0x50
jb 0x4239b8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004efcea
mov esp, ebp
pop ebp
ret

Function at 0x423c5a
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0xaba010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, 0x800
lea eax, [ebp - 0x804]
push ebx
mov edi, ecx
mov esi, edx
push 0
push eax
mov dword [ebp - 0x808], edi
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x804]
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea eax, [ebp - 0x804]
mov ecx, edi
push eax
call fcn.004094e6
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004efcea
mov esp, ebp
pop ebp
ret

Function at 0x423cc1
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x168
mov eax, dword [0xaba010]
xor eax, esp
mov dword [esp + 0x164], eax
push ebx
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, 0x160
lea eax, [esp + 8]
push ebx
push 0
push eax
call fcn.004f1a90
add esp, 0xc
lea eax, [esp + 8]
push 0x101
push ebx
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x423d1a
mov eax, dword [esp + 8]
test eax, eax
jne 0x423d35
push 0x111
push ebx
lea eax, [esp + 0x10]
push eax
push 0x90
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x16c]
pop esi
pop ebx
xor ecx, esp
call fcn.004efcea
mov esp, ebp
pop ebp
ret
Function at 0x423f93
Capabilities:
Get file system object information

Disassembly:
push 0x174
mov eax, 0x509730
call fcn.005060cc
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x178], esi
and dword [ebp - 0x174], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, ebx
mov ecx, esi
inc ebx
mov edx, ebx
call fcn.0042332d
push eax
lea ecx, [ebp - 0x17c]
call fcn.004094e6
and dword [ebp - 4], 0
lea ecx, [ebp - 0x17c]
push 0x5567a8
call fcn.0040d992
or esi, 0xffffffff
test eax, eax
jne 0x42405a
and dword [ebp - 0x174], eax
xor ecx, ecx
push ebx
test edi, edi
lea eax, [ebp - 0x174]
cmovne eax, ecx
test edi, edi
push eax
lea eax, [ebp - 0x174]
cmove eax, ecx
push eax
push ecx
push dword [ebp - 0x178]
call dword [sym.imp.SHELL32.dll_ExtractIconExA]
mov ebx, dword [ebp - 0x174]
test ebx, ebx
je 0x42402c
test eax, eax
jne 0x42412d
test edi, edi
mov eax, 0xd5b27c
mov ebx, 0xd5b280
cmove ebx, eax
mov eax, dword [ebx]
test eax, eax
jne 0x42404a
mov ecx, edi
call fcn.00423d99
mov dword [ebx], eax
push eax
push 0
call dword [sym.imp.SHELL32.dll_DuplicateIcon]
mov ebx, eax
jmp 0x42412d
push 0x160
lea eax, [ebp - 0x170]
push 0
push eax
call fcn.004f1a90
mov eax, dword [ebp - 0x17c]
add esp, 0xc
cmp dword [eax - 0xc], 0
je 0x424094
lea ecx, [eax - 0x10]
call fcn.004098e7
lea esi, [eax + 0x10]
mov dword [ebp - 0x178], esi
mov byte [ebp - 4], bl
mov eax, esi
jmp 0x4240b0
push dword [ebp - 0x178]
lea ecx, [ebp - 0x180]
call fcn.004094e6
mov esi, dword [ebp - 0x178]
push 2
pop ebx
mov eax, dword [eax]
neg edi
lea ecx, [ebp - 0x170]
sbb edi, edi
add edi, 0x111
push edi
push 0x160
push ecx
push 0x80
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test bl, 2
je 0x4240ff
mov edx, dword [ebp - 0x180]
and ebx, 0xfffffffd
mov dword [ebp - 0x174], ebx
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4240ff
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
and dword [ebp - 4], 0
test bl, 1
je 0x424124
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x424127
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x424127
or esi, 0xffffffff
mov ebx, dword [ebp - 0x170]
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x17c]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x42414b
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
call fcn.00506076
ret
Function at 0x424b0f
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0xaba010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x424b8f
cmp byte [esi], 0
je 0x424b8f
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
call edi
add eax, 2
call fcn.004f0800
mov eax, esp
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebx, eax
test ebx, ebx
je 0x424b56
push ebx
call edi
mov byte [eax + ebx + 1], 0
push 7
xor eax, eax
lea edi, [ebp - 0x24]
pop ecx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, 0x454
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
jne 0x424b86
inc eax
jmp 0x424b91
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x424b91
xor eax, eax
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004efcea
mov esp, ebp
pop ebp
ret

Function at 0x424ba5
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
push 1
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov edi, eax
test edi, edi
je 0x424c35
lea ecx, [edi + 1]
push esi
push ecx
call fcn.004f0465
pop ecx
mov esi, eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x424c2d
mov al, byte [esi]
test al, al
je 0x424c2d
mov edi, esi
movsx eax, al
push eax
call fcn.004f88da
pop ecx
cmp eax, 0x41
je 0x424c1a
movsx eax, byte [edi]
push eax
call fcn.004f88da
pop ecx
cmp eax, 0x42
je 0x424c1a
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x424c1a
mov ecx, dword [ebp - 4]
push edi
call fcn.004157ce
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc ebx
add ebx, eax
lea edi, [ebx + esi]
mov al, byte [edi]
test al, al
jne 0x424be7
push esi
call fcn.004f021a
pop ecx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x424df3
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0xaba010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea esi, [ebp + 8]
mov dword [ebp - 0x218], edx
lea edi, [ebp - 0x214]
mov ebx, ecx
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x104]
mov dword [ebp - 0x21c], ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x18]
mov edi, 0x100
push edi
push 0
push eax
call fcn.004f1a90
push edi
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.004f1a90
add esp, 0x18
lea eax, [ebp - 0x204]
push edi
push eax
push 0x1f
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x424eef
push edi
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetDateFormatA]
test eax, eax
je 0x424eef
movzx eax, word [ebp - 0x206]
test esi, esi
push eax
movzx eax, word [ebp - 0x208]
mov ecx, str.__02d:_02d:_02d._03d
push eax
movzx eax, word [ebp - 0x20a]
push eax
movzx eax, word [ebp - 0x20c]
push eax
mov eax, str.__02d:_02d:_02d
cmove ecx, eax
cmp dword [ebp - 0x218], 0
mov eax, str.__02d:_02d
cmovne eax, ecx
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x104]
add ecx, eax
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 0x104]
mov ecx, ebx
push eax
call fcn.004094e6
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004efcea
mov esp, ebp
pop ebp
ret
Function at 0x425651
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
mov esi, ecx
lea ecx, [ebp - 1]
call fcn.004266ae
test esi, esi
je 0x4256aa
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x4256aa
push 0x38
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x40], 0x3c
push 0
push eax
call fcn.004f1a90
add esp, 0xc
mov dword [ebp - 0x3c], 0xc
lea eax, [ebp - 0x40]
mov dword [ebp - 0x34], str.properties
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x24], 5
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
call fcn.004267da
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4256b4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
mov eax, dword [0xaba010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, 0x400
lea eax, [ebp - 0x404]
push ebx
push 0
push eax
mov esi, edx
mov edi, ecx
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x404]
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea eax, [ebp - 0x404]
push 0x5c
push eax
call fcn.004f2400
pop ecx
pop ecx
test eax, eax
je 0x42575c
push 0x38
mov byte [eax + 1], 0
lea eax, [ebp - 0x43c]
push 0
push eax
mov dword [ebp - 0x440], 0x3c
call fcn.004f1a90
add esp, 0xc
mov dword [ebp - 0x438], edi
lea eax, [ebp - 0x404]
mov dword [ebp - 0x434], str.explore
mov dword [ebp - 0x430], eax
lea eax, [ebp - 0x440]
mov dword [ebp - 0x424], 1
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004efcea
mov esp, ebp
pop ebp
ret

Function at 0x425b6c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push 1
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edx, dword [ebp + 8]
xor ebx, ebx
cmp eax, 0x20
setg bl
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x425bad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x425bc5
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
pop esi
mov eax, ebx
pop ebx
pop ebp
ret
Function at 0x425bcb
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0xaa4df0
push 0x4f1270
mov eax, dword fs:[0]
push eax
push ecx
push ecx
mov eax, 0x1014
call fcn.004f0e50
mov eax, dword [0xaba010]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0x102c], ebx
mov dword [ebp - 0x1028], edi
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x1024], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x1020], eax
xor esi, esi
mov dword [ebp - 4], esi
push 0x1000
push esi
lea eax, [ebp - 0x101c]
push eax
call fcn.004f1a90
add esp, 0xc
test edi, edi
je 0x425c5d
push 0xfff
push edi
lea eax, [ebp - 0x101c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push dword [ebp - 0x1020]
push dword [ebp - 0x1024]
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x101c]
xor ecx, ecx
test edi, edi
cmove eax, ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 4], 0xfffffffe
jmp 0x425cc3
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004efcea
mov esp, ebp
pop ebp
ret

Function at 0x425da7
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push esi
mov esi, edx
test esi, esi
je 0x425e12
cmp byte [esi], 0
je 0x425e12
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x425e12
push ebx
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ebx, [eax + 1]
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x425e05
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x425e05
push ebx
push esi
push eax
call fcn.004f1510
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
xor eax, eax
pop ebx
inc eax
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x426075
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0xaba010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x200
lea eax, [ebp - 0x204]
push edi
xor ebx, ebx
mov esi, ecx
push ebx
push eax
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x204]
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push ebx
push ebx
lea eax, [ebp - 0x20c]
mov byte [ebp - 0x201], bl
push eax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x208], ebx
push eax
lea eax, [ebp - 0x208]
mov dword [ebp - 0x210], ebx
push eax
push ebx
push ebx
lea eax, [ebp - 0x204]
mov dword [ebp - 0x20c], ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [ebp - 4]
neg eax
pop edi
sbb eax, eax
xor ecx, ebp
and eax, dword [ebp - 0x208]
pop esi
pop ebx
call fcn.004efcea
mov esp, ebp
pop ebp
ret
Function at 0x4264eb
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0xaba010]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
jne 0x42660a
push ebx
push dword [0xd5aa80]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
je 0x426590
call fcn.00426920
test eax, eax
je 0x426590
cmp dword [0xd5b274], esi
jne 0x426581
push 0x90
lea eax, [ebp - 0x94]
mov dword [0xd5b274], 1
push esi
push eax
mov dword [ebp - 0x98], 0x94
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
imul eax, dword [ebp - 0x94], 0xa
add eax, dword [ebp - 0x90]
mov dword [0xd5b270], eax
jmp 0x426586
mov eax, dword [0xd5b270]
cmp eax, 0x3c
jl 0x426590
call fcn.0042665f
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test ebx, ebx
mov esi, eax
pop ebx
je 0x42660a
call fcn.00426920
test eax, eax
je 0x42660a
cmp dword [0xd5b274], 0
jne 0x4265fb
push 0x90
lea eax, [ebp - 0x94]
mov dword [0xd5b274], 1
push 0
push eax
mov dword [ebp - 0x98], 0x94
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
imul eax, dword [ebp - 0x94], 0xa
add eax, dword [ebp - 0x90]
mov dword [0xd5b270], eax
jmp 0x426600
mov eax, dword [0xd5b270]
cmp eax, 0x3c
jl 0x42660a
call fcn.0042661c
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004efcea
mov esp, ebp
pop ebp
ret

Function at 0x4266ae
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0xaba010]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
call fcn.00426920
test eax, eax
je 0x4267c9
cmp dword [0xd5b274], 0
jne 0x426725
push 0x90
lea eax, [ebp - 0x94]
mov dword [0xd5b274], 1
push 0
push eax
mov dword [ebp - 0x98], 0x94
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
imul eax, dword [ebp - 0x94], 0xa
add eax, dword [ebp - 0x90]
mov dword [0xd5b270], eax
jmp 0x42672a
mov eax, dword [0xd5b270]
cmp eax, 0x3c
jl 0x4267c9
push dword [0xd5aa80]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x4267af
call fcn.00426920
test eax, eax
je 0x4267af
cmp dword [0xd5b274], 0
jne 0x4267a0
push 0x90
lea eax, [ebp - 0x94]
mov dword [0xd5b274], 1
push 0
push eax
mov dword [ebp - 0x98], 0x94
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
imul eax, dword [ebp - 0x94], 0xa
add eax, dword [ebp - 0x90]
mov dword [0xd5b270], eax
jmp 0x4267a5
mov eax, dword [0xd5b270]
cmp eax, 0x3c
jl 0x4267af
call fcn.0042661c
push dword [0xd5aa80]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
inc eax
push eax
push dword [0xd5aa80]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.004efcea
mov esp, ebp
pop ebp
ret