joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4afdf8
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
push 0x4affa4
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4aff9c
xor eax, eax
push ebp
push 0x4aff95
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebp - 6], 0
push 0x4001
push 0x160
lea eax, [ebp - 0x168]
push eax
push 0
push 0x4affb0
call sub.shell32.dll_SHGetFileInfoA
mov esi, eax
test esi, esi
jne 0x4afe70
push 0x4009
push 0x160
lea eax, [ebp - 0x168]
push eax
push 0
lea eax, [ebp - 6]
push eax
call sub.shell32.dll_SHGetFileInfoA
mov esi, eax
push 0x4000
push 0x160
lea eax, [ebp - 0x168]
push eax
push 0
push 0x4affb0
call sub.shell32.dll_SHGetFileInfoA
mov edi, eax
test edi, edi
jne 0x4afeb1
push 0x4008
push 0x160
lea eax, [ebp - 0x168]
push eax
push 0
lea eax, [ebp - 6]
push eax
call sub.shell32.dll_SHGetFileInfoA
mov edi, eax
push 0x8000
push 0x10
push 0x10
push 1
push 0x1d
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_LoadImageA
mov ebx, eax
push 1
mov edx, ebx
mov eax, esi
call fcn.0042f058
push eax
push esi
call sub.comctl32.dll_ImageList_SetOverlayImage
push ebx
call sub.user32.dll_DestroyIcon
push 0x8000
push 0x20
push 0x20
push 1
push 0x1d
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_LoadImageA
mov ebx, eax
push 1
mov edx, ebx
mov eax, edi
call fcn.0042f058
push eax
push edi
call sub.comctl32.dll_ImageList_SetOverlayImage
push ebx
call sub.user32.dll_DestroyIcon
push 0x8000
push 0x10
push 0x10
push 1
push 0x1e
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_LoadImageA
mov ebx, eax
push 2
mov edx, ebx
mov eax, esi
call fcn.0042f058
push eax
push esi
call sub.comctl32.dll_ImageList_SetOverlayImage
push ebx
call sub.user32.dll_DestroyIcon
push 0x8000
push 0x20
push 0x20
push 1
push 0x1e
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_LoadImageA
mov ebx, eax
push 2
mov edx, ebx
mov eax, edi
call fcn.0042f058
push eax
push edi
call sub.comctl32.dll_ImageList_SetOverlayImage
push ebx
call sub.user32.dll_DestroyIcon
mov byte [0x4e8cfc], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aff9c
cmp dword [ebp - 4], 0
je 0x4aff94
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4affb4
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffe9c
mov ebx, eax
call fcn.004af780
test al, al
je 0x4affe1
cmp dword [0x4eb284], 0x40047
jl 0x4affe1
cmp byte [0x4e8cfc], 0
jne 0x4affe1
call fcn.004afdf8
mov esi, ebx
and esi, 0x7f
mov eax, dword [esi*4 + 0x4e8d00]
or eax, 0x4000
push eax
push 0x160
lea eax, [esp + 0xc]
push eax
push 0
push 0x4b0044
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
jne 0x4b0039
mov word [esp], 0
mov eax, dword [esi*4 + 0x4e8d00]
or eax, 0x4000
or eax, 8
push eax
push 0x160
lea eax, [esp + 0xc]
push eax
push 0
lea eax, [esp + 0x10]
push eax
call sub.shell32.dll_SHGetFileInfoA
add esp, 0x164
pop esi
pop ebx
ret
Function at 0x4afffd
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffe9c
mov ebx, eax
call fcn.004af780
test al, al
je 0x4affe1
cmp dword [0x4eb284], 0x40047
jl 0x4affe1
cmp byte [0x4e8cfc], 0
jne 0x4affe1
call fcn.004afdf8
mov esi, ebx
and esi, 0x7f
mov eax, dword [esi*4 + 0x4e8d00]
or eax, 0x4000
push eax
push 0x160
lea eax, [esp + 0xc]
push eax
push 0
push 0x4b0044
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
jne 0x4b0039
mov word [esp], 0
mov eax, dword [esi*4 + 0x4e8d00]
or eax, 0x4000
or eax, 8
push eax
push 0x160
lea eax, [esp + 0xc]
push eax
push 0
lea eax, [esp + 0x10]
push eax
call sub.shell32.dll_SHGetFileInfoA
add esp, 0x164
pop esi
pop ebx
ret
Function at 0x4bc2dc
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffea0
mov ebx, ecx
mov esi, eax
test edx, 0x40000000
jne 0x4bc2fe
mov edx, ebx
mov eax, dword [0x4e9ad8]
call fcn.0040642c
jmp 0x4bc335
push 0x408
push 0x160
lea eax, [esp + 8]
push eax
push 0
push esi
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x4bc32e
mov eax, ebx
lea edx, [esp + 0x110]
mov ecx, 0x50
call fcn.0040454c
jmp 0x4bc335
mov eax, ebx
call fcn.004042cc
add esp, 0x160
pop esi
pop ebx
ret

Function at 0x4bccb8
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x164], ebx
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x158], ebx
mov ebx, ecx
test ebx, ebx
js 0x4bcceb
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x4bcce4
mov edx, esp
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040478c
mov ecx, dword [ebp - 0xc]
inc ecx
mov eax, dword [ebp - 8]
mov edx, dword [0x401124]
call fcn.00404fd8
xor eax, eax
push ebp
push 0x4bce79
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
test eax, eax
jl 0x4bce41
inc eax
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x154]
push eax
push dword [ebp - 4]
push 0x4bcea0
push dword [esi]
lea eax, [ebp - 0x158]
mov edx, 3
call fcn.0040465c
mov eax, dword [ebp - 0x158]
call fcn.0040479c
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4bce35
mov eax, dword [ebp - 0x154]
test al, 0x10
jne 0x4bce1a
test al, 2
jne 0x4bce1a
xor eax, eax
mov dword [ebp - 0x10], eax
push dword [ebp - 4]
push 0x4bcea0
lea eax, [ebp - 0x160]
lea edx, [ebp - 0x128]
mov ecx, 0x104
call fcn.0040454c
push dword [ebp - 0x160]
lea eax, [ebp - 0x15c]
mov edx, 3
call fcn.0040465c
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 0x10]
call fcn.004af904
call fcn.004177f0
test al, al
je 0x4bcdd8
or edi, 0xffffffff
jmp 0x4bcde7
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.004afaa0
mov edi, eax
mov eax, dword [ebp - 0x10]
call fcn.004af868
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x128]
mov ecx, 0x104
call fcn.0040454c
mov edx, dword [ebp - 0x164]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax]
mov ecx, edi
mov edi, dword [eax]
call dword [edi + 0x3c]
lea eax, [ebp - 0x154]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x4bcd6d
push ebx
call sub.kernel32.dll_FindClose_1
add esi, 4
dec dword [ebp - 0x14]
jne 0x4bcd30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bce80
lea eax, [ebp - 0x164]
mov edx, 4
call fcn.004042f0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
inc ecx
mov edx, dword [0x401124]
call fcn.00404e98
lea eax, [ebp - 4]
call fcn.004042cc
ret
Function at 0x4bdf78
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4be00f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0x700f0037
mov eax, dword [0x4e9a00]
cmp dword [eax + 4], 0x60000
jl 0x4bdfb0
or dword [ebp - 4], 0x400000
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004be0a4
mov eax, dword [ebp - 8]
call fcn.004bbe94
test al, al
je 0x4bdfe0
mov eax, dword [ebp - 8]
call fcn.0040479c
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
jne 0x4bdfe0
and dword [ebp - 4], 0xfffbffff
lea eax, [ebp - 4]
push eax
lea eax, [ebx + 0xc]
push eax
push 1
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x418]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4be016
lea eax, [ebp - 8]
call fcn.004042cc
ret

Function at 0x4c1a90
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.0040479c
push eax
call sub.kernel32.dll_GetDriveTypeA
sub eax, 3
je 0x4c1ad1
dec eax
je 0x4c1ab3
sub eax, 2
je 0x4c1ad1
jmp 0x4c1ae2
mov al, byte [ebx]
call fcn.004b10d8
test al, al
je 0x4c1ae2
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, ebx
mov si, 0xffa1
call fcn.004036b4
jmp 0x4c1ae2
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, ebx
mov si, 0xffa1
call fcn.004036b4
pop esi
pop ebx
pop ebp
ret

Function at 0x4c1ae8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c1b97
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3f8], 0
jne 0x4c1b36
push 0x465
mov eax, dword [ebp - 4]
call fcn.00469f54
mov ecx, eax
mov dl, 1
mov eax, dword [0x4be240]
call fcn.004be2ac
mov edx, dword [ebp - 4]
mov dword [edx + 0x3f8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3f8]
call fcn.004be774
lea eax, [ebp - 8]
mov edx, 0x4c1bac
call fcn.00404364
call sub.kernel32.dll_GetLogicalDrives
mov ebx, eax
xor esi, esi
test ebx, ebx
je 0x4c1b81
test bl, 1
je 0x4c1b7a
lea eax, [ebp - 8]
call fcn.004047f4
lea edx, [esi + 0x41]
mov byte [eax], dl
push ebp
mov eax, dword [ebp - 8]
call fcn.004c1a90
pop ecx
shr ebx, 1
inc esi
test ebx, ebx
jne 0x4c1b5e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c1b9e
lea eax, [ebp - 8]
call fcn.004042cc
ret
Function at 0x4c2600
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeac
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x154], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.0040478c
xor eax, eax
push ebp
push 0x4c271e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4c26f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
or eax, 1
push eax
call sub.kernel32.dll_SetErrorMode
lea eax, [ebp - 0x14c]
push eax
mov eax, dword [ebp - 4]
call fcn.0040479c
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4c26ce
test byte [ebp - 0x14c], 0x10
jne 0x4c26b1
lea eax, [ebp - 0x154]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.0040454c
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 0x150]
call fcn.00408a68
mov edx, dword [ebp - 0x150]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x14c]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x4c2674
push ebx
call sub.kernel32.dll_FindClose_1
mov byte [ebp - 5], 1
jmp 0x4c26da
call sub.kernel32.dll_GetLastError
cmp eax, 2
sete byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c26f8
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x4c7268
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, eax
mov al, byte [ebx + 4]
sub al, 1
jb 0x4c7276
je 0x4c727b
jmp 0x4c72a0
mov eax, dword [ebx + 8]
pop ebx
ret
cmp dword [ebx + 8], 0
jne 0x4c729b
lea eax, [ebx + 8]
push eax
xor eax, eax
mov al, byte [ebx + 0xc]
push eax
mov eax, dword [0x4e9a20]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
mov eax, dword [ebx + 8]
pop ebx
ret
xor eax, eax
pop ebx
ret
Function at 0x4c99cc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x8a
push 0
push 0
dec ecx
jne 0x4c99d5
xchg dword [ebp - 4], ecx
push ebx
push esi
mov byte [ebp - 1], cl
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4c9c56
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404b90
cmp eax, 2
jl 0x4c9a09
cmp word [ebx + 2], 0x3a
je 0x4c9a43
lea eax, [ebp - 0x42c]
mov ecx, ebx
mov edx, 0x4c9c6c
call fcn.00404b9c
mov edx, dword [ebp - 0x42c]
lea eax, [ebp - 0x428]
call fcn.00404564
mov ecx, dword [ebp - 0x428]
mov dl, 1
mov eax, dword [0x407c54]
call fcn.0040cb24
call fcn.00403c84
push 0x105
lea eax, [ebp - 0x21a]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x424]
push eax
mov eax, ebx
call fcn.00404b80
push eax
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
jne 0x4c9ab0
lea eax, [ebp - 0x434]
mov ecx, ebx
mov edx, 0x4c9cac
call fcn.00404b9c
mov edx, dword [ebp - 0x434]
lea eax, [ebp - 0x430]
call fcn.00404564
mov ecx, dword [ebp - 0x430]
mov dl, 1
mov eax, dword [0x407c54]
call fcn.0040cb24
call fcn.00403c84
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x21a]
mov ecx, 0x105
call fcn.00404b54
push ebx
push 0x4c9cd4
lea eax, [ebp - 0x440]
lea edx, [ebp - 0x424]
mov ecx, 0x105
call fcn.00404b54
push dword [ebp - 0x440]
push 0x4c9cf8
lea eax, [ebp - 0x444]
lea edx, [ebp - 0x21a]
mov ecx, 0x105
call fcn.00404b54
push dword [ebp - 0x444]
lea eax, [ebp - 0x43c]
mov edx, 5
call fcn.00404c00
mov edx, dword [ebp - 0x43c]
lea eax, [ebp - 0x438]
call fcn.00404564
mov edx, dword [ebp - 0x438]
mov eax, esi
call fcn.004c99ac
cmp byte [ebp - 1], 0
je 0x4c9bdc
push 0x4c9d20
lea eax, [ebp - 0x44c]
mov dx, word [ebx]
call fcn.004044c4
push dword [ebp - 0x44c]
push 0x4c9d30
lea eax, [ebp - 0x448]
mov edx, 3
call fcn.0040465c
mov edx, dword [ebp - 0x448]
lea eax, [ebp - 0x10]
call fcn.00404b70
push 0
push 0
push 3
push 0
push 0
push 0x40000000
mov eax, dword [ebp - 0x10]
call fcn.00404b80
push eax
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
jne 0x4c9bd6
lea eax, [ebp - 0x454]
mov ecx, ebx
mov edx, 0x4c9d38
call fcn.00404b9c
mov edx, dword [ebp - 0x454]
lea eax, [ebp - 0x450]
call fcn.00404564
mov ecx, dword [ebp - 0x450]
mov dl, 1
mov eax, dword [0x407c54]
call fcn.0040cb24
call fcn.00403c84
push eax
call sub.kernel32.dll_CloseHandle
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c9c5d
lea eax, [ebp - 0x454]
call fcn.004049e8
lea eax, [ebp - 0x450]
mov edx, 3
call fcn.004042f0
lea eax, [ebp - 0x444]
mov edx, 3
call fcn.00404a00
lea eax, [ebp - 0x438]
call fcn.004042cc
lea eax, [ebp - 0x434]
call fcn.004049e8
lea eax, [ebp - 0x430]
call fcn.004042cc
lea eax, [ebp - 0x42c]
call fcn.004049e8
lea eax, [ebp - 0x428]
call fcn.004042cc
lea eax, [ebp - 0x10]
call fcn.004049e8
ret
Function at 0x4ca8b8
Capabilities:
Get common file path
Persist via run registry key

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffef4
mov dword [esp], edx
mov ebp, eax
mov dl, 1
mov eax, dword [0x438c0c]
call fcn.00438d78
mov edi, eax
mov edx, 0x80000001
mov eax, edi
call fcn.00438e54
xor ecx, ecx
mov edx, 0x4ca954
mov eax, edi
call fcn.00438f98
mov esi, 0x1e
mov ebx, 0x4e8f6c
cmp ebp, dword [ebx]
jne 0x4ca90c
mov ecx, dword [esp]
mov edx, dword [ebx - 4]
mov eax, edi
call fcn.00439518
jmp 0x4ca912
add ebx, 8
dec esi
jne 0x4ca8f9
mov eax, edi
call fcn.00438e24
mov eax, dword [esp]
cmp dword [eax], 0
jne 0x4ca941
push 0
push ebp
lea eax, [esp + 0xc]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathA
mov eax, dword [esp]
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.0040454c
add esp, 0x10c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4cad34
Capabilities:
Shutdown system

Disassembly:
push ebx
mov ebx, 2
mov eax, dword [0x4e9ce4]
cmp dword [eax], 2
jne 0x4cad49
call fcn.004cacb4
push 0
push ebx
call sub.user32.dll_ExitWindowsEx
pop ebx
ret

Function at 0x4d5958
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040478c
xor eax, eax
push ebp
push 0x4d5a5c
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 0x14
mov dword [ebp - 0x18], esi
xor edx, edx
push ebp
push 0x4d5a37
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 3
mov eax, 0x24
call fcn.004088a4
mov ebx, eax
mov dword [ebp - 8], ebx
test ebx, ebx
jne 0x4d59b8
call fcn.00403d30
jmp 0x4d5a46
mov dword [ebx], 1
mov dword [ebx + 4], 3
add dword [ebp - 8], 0xc
mov ebx, dword [ebp - 8]
mov dword [ebx], 2
mov eax, dword [ebp - 4]
call fcn.0040479c
mov dword [ebx + 4], eax
add dword [ebp - 8], 0xc
mov eax, dword [ebp - 8]
mov dword [eax], 3
mov edx, 0x4d5a6c
mov dword [eax + 4], edx
sub dword [ebp - 8], 0x18
push 0
push 0
push 0
push 1
push 0x4d5a74
call sub.wininet.dll_InternetOpenA
mov ebx, eax
push esi
lea eax, [ebp - 0x18]
push eax
push 0x4b
push ebx
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
push ebx
call sub.wininet.dll_InternetSetOptionA
push ebx
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d5a3e
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d5a63
lea eax, [ebp - 4]
call fcn.004042cc
ret

Function at 0x4d89d8
Capabilities:
Get geographical location

Disassembly:
add esp, 0xfffffff4
mov eax, esp
xor ecx, ecx
mov edx, 0xa
call fcn.00402eb0
push 0xa
lea eax, [esp + 4]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
cmp byte [esp], 0x31
jne 0x4d8a06
mov al, 1
jmp 0x4d8a08
xor eax, eax
add esp, 0xc
ret

Function at 0x4d89f0
Capabilities:
Get geographical location

Disassembly:
add esp, 0xfffffff4
mov eax, esp
xor ecx, ecx
mov edx, 0xa
call fcn.00402eb0
push 0xa
lea eax, [esp + 4]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
cmp byte [esp], 0x31
jne 0x4d8a06
mov al, 1
jmp 0x4d8a08
xor eax, eax
add esp, 0xc
ret
Function at 0x4e0f5c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x1c], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4e1026
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, ebx
call fcn.004046e8
jne 0x4e0f91
mov bl, 1
jmp 0x4e1008
push 0
mov eax, ebx
call fcn.0040479c
push eax
mov eax, dword [ebp - 4]
call fcn.0040479c
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
je 0x4e0fb1
mov bl, 1
jmp 0x4e1008
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x14], 0xb
call sub.kernel32.dll_GetLastError
lea edx, [ebp - 0x1c]
call fcn.0040c2ec
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0xb
lea edx, [ebp - 0x18]
mov eax, dword [0x4e9954]
mov eax, dword [eax]
mov ecx, 1
call fcn.00409f68
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004e0e20
cmp eax, 3
jne 0x4e0ffa
xor ebx, ebx
jmp 0x4e1008
cmp eax, 5
jne 0x4e1003
mov bl, 1
jmp 0x4e1008
cmp eax, 4
jmp 0x4e0f91
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e102d
lea eax, [ebp - 0x1c]
call fcn.004042cc
lea eax, [ebp - 8]
call fcn.004042cc
ret
Function at 0x4e3934
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040478c
xor eax, eax
push ebp
push 0x4e3a01
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00409318
test al, al
jne 0x4e396e
mov bl, 1
jmp 0x4e39de
mov eax, dword [ebp - 4]
call fcn.0040479c
push eax
call sub.kernel32.dll_RemoveDirectoryA
test eax, eax
je 0x4e3984
mov bl, 1
jmp 0x4e39de
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
call sub.kernel32.dll_GetLastError
lea edx, [ebp - 0x1c]
call fcn.0040c2ec
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0xb
lea edx, [ebp - 0x18]
mov eax, dword [0x4e9ba4]
mov eax, dword [eax]
mov ecx, 1
call fcn.00409f68
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004e0e20
cmp eax, 3
jne 0x4e39d0
xor ebx, ebx
jmp 0x4e39de
cmp eax, 5
jne 0x4e39d9
mov bl, 1
jmp 0x4e39de
cmp eax, 4
jmp 0x4e396e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e3a08
lea eax, [ebp - 0x1c]
call fcn.004042cc
lea eax, [ebp - 8]
mov edx, 2
call fcn.004042f0
ret
Function at 0x4e3af0
Capabilities:
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea0
push ebx
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x154], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e3cbe
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x4e3c8b
lea eax, [ebp - 0x150]
push eax
lea edx, [ebp - 0x154]
mov eax, dword [ebp - 8]
call fcn.0049be54
lea eax, [ebp - 0x154]
mov edx, 0x4e3cd4
call fcn.004045a4
mov eax, dword [ebp - 0x154]
call fcn.0040479c
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x4e3c8b
xor eax, eax
push ebp
push 0x4e3c84
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x4e3cd8
lea eax, [ebp - 0x124]
call fcn.00409968
test eax, eax
je 0x4e3c55
mov edx, 0x4e3cdc
lea eax, [ebp - 0x124]
call fcn.00409968
test eax, eax
je 0x4e3c55
lea edx, [ebp - 0x158]
mov eax, dword [ebp - 8]
call fcn.0049be54
mov eax, dword [ebp - 0x158]
push eax
lea eax, [ebp - 0x15c]
lea edx, [ebp - 0x124]
mov ecx, 0x104
call fcn.0040454c
mov ecx, dword [ebp - 0x15c]
lea eax, [ebp - 0x10]
pop edx
call fcn.004045e8
mov ebx, dword [ebp - 0x150]
test bl, 1
je 0x4e3c0d
and ebx, 0xfffffffe
push ebx
mov eax, dword [ebp - 0x10]
call fcn.0040479c
push eax
call sub.kernel32.dll_SetFileAttributesA
test byte [ebp - 0x150], 0x10
jne 0x4e3c3d
mov eax, dword [ebp - 0x10]
call fcn.0040479c
mov edx, eax
lea eax, [ebp - 0x160]
call fcn.004044d4
mov edx, dword [ebp - 0x160]
mov eax, dword [ebp - 4]
call fcn.004e3a10
mov ebx, eax
jmp 0x4e3c4a
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004e3af0
mov ebx, eax
test bl, bl
jne 0x4e3c55
call fcn.00403d30
jmp 0x4e3c98
lea eax, [ebp - 0x150]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x4e3b86
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e3c8b
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindClose_1
ret
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004e3934
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e3cc5
lea eax, [ebp - 0x160]
mov edx, 4
call fcn.004042f0
lea eax, [ebp - 0x10]
call fcn.004042cc
ret
Function at 0x4e4ec0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov esi, edx
xor eax, eax
push ebp
push 0x4e4fcd
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4e4f9e
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [esi + 0x23c]
mov edx, dword [eax]
call dword [edx + 0x44]
call sub.kernel32.dll_GetLogicalDrives
mov edi, eax
mov ebx, 2
mov eax, ebx
cmp eax, 0x1f
ja 0x4e4f07
bt edi, eax
jb 0x4e4f4d
lea eax, [ebp - 4]
lea edx, [ebx + 0x41]
call fcn.004044b4
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x23c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebx + 0x41]
mov edx, dword [0x4e97cc]
mov edx, dword [edx]
cmp al, byte [edx + 0x3d4]
jne 0x4e4f4d
mov eax, dword [esi + 0x23c]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
dec edx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xd0]
inc ebx
cmp ebx, 0x1a
jne 0x4e4efd
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xcc]
inc eax
jne 0x4e4f87
mov eax, dword [esi + 0x23c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4e4f87
mov eax, dword [esi + 0x23c]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
dec edx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xd0]
mov eax, dword [esi + 0x23c]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e4fb7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e4fd4
lea eax, [ebp - 4]
call fcn.004042cc
ret