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

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x518c18]
cmp dword [eax + 0x30], 0
je 0x4833be
cmp dword [ebx + 0x94], 0
jne 0x4833b8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4832a4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4833b8
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_GetWindowLongA
test al, 8
je 0x48337e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4833b8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041c718
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x48338d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x483f20
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x483f55
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040447c
jmp 0x483f62
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004043e0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x48506c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4850ad
mov eax, esi
call fcn.0046afe4
test al, al
je 0x4850ad
mov eax, dword [ebx + 0x84]
call fcn.0046ace0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4850ad
push 0
mov eax, dword [ebx + 0x84]
call fcn.0046ace0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x485d6c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x419334]
call fcn.00404d44
xor eax, eax
push ebp
push 0x485eb0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5152a4], 0
jne 0x485dbf
mov ecx, dword [0x51745c]
mov dl, 1
mov eax, dword [0x407b30]
call fcn.0040ca10
call fcn.00403d24
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402f08
mov eax, ebx
call fcn.00404bf4
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x485ec0
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405f30
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404c04
test eax, eax
jle 0x485e57
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x485e50
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404614
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004045fc
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408a60
test eax, eax
jne 0x485e50
mov ebx, 0x15
jmp 0x485e5c
mov ebx, 0x10
jmp 0x485e5c
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x5152a4]
call fcn.00485cc4
mov eax, dword [ebp - 8]
call fcn.00485cc4
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405f48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485eb7
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004043b0
lea eax, [ebp - 0x10]
mov edx, dword [0x419334]
call fcn.00404e14
ret
Function at 0x486ed0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
mov byte [ebp - 1], 0
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x486f87
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.0040484c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jne 0x486f12
call fcn.00403dd0
jmp 0x486f8e
mov eax, ebx
call fcn.004027fc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push ebx
push 0
mov eax, esi
call fcn.0040484c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
jne 0x486f3b
call fcn.00403dd0
jmp 0x486f8e
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x486f98
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
jne 0x486f5c
call fcn.00403dd0
jmp 0x486f8e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov dword [edi], eax
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486f8e
mov eax, dword [ebp - 8]
call fcn.0040281c
ret
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4871e4
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48724c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x164]
xor ecx, ecx
mov edx, 0x160
call fcn.00402f08
test ebx, ebx
jne 0x487221
mov word [ebp - 2], 0
lea ebx, [ebp - 2]
or esi, 0x4008
push esi
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0
push ebx
call sub.shell32.dll_SHGetFileInfoA
mov ebx, dword [ebp - 0x160]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x487258
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4874dc
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
push esi
push edi
push 0x487640
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x487636
xor eax, eax
push ebp
push 0x48762f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4001
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0
push 0x48764c
call sub.shell32.dll_SHGetFileInfoA
mov esi, eax
push 0x4000
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0
push 0x48764c
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.00430fd0
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.00430fd0
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.00430fd0
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.00430fd0
push eax
push edi
call sub.comctl32.dll_ImageList_SetOverlayImage
push ebx
call sub.user32.dll_DestroyIcon
mov byte [0x515348], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487636
cmp dword [ebp - 4], 0
je 0x48762e
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 0x487650
Capabilities:
Get file system object information

Disassembly:
push ebx
add esp, 0xfffffea0
mov ebx, eax
call fcn.00486ec4
test al, al
je 0x48767c
cmp dword [0x518c58], 0x40047
jl 0x48767c
cmp byte [0x515348], 0
jne 0x48767c
call fcn.004874dc
xor eax, eax
mov al, bl
mov eax, dword [eax*4 + 0x51534c]
or eax, 0x4000
push eax
push 0x160
lea eax, [esp + 8]
push eax
push 0
push 0x4876ac
call sub.shell32.dll_SHGetFileInfoA
add esp, 0x160
pop ebx
ret

Function at 0x487697
Capabilities:
Get file system object information

Disassembly:
push ebx
add esp, 0xfffffea0
mov ebx, eax
call fcn.00486ec4
test al, al
je 0x48767c
cmp dword [0x518c58], 0x40047
jl 0x48767c
cmp byte [0x515348], 0
jne 0x48767c
call fcn.004874dc
xor eax, eax
mov al, bl
mov eax, dword [eax*4 + 0x51534c]
or eax, 0x4000
push eax
push 0x160
lea eax, [esp + 8]
push eax
push 0
push 0x4876ac
call sub.shell32.dll_SHGetFileInfoA
add esp, 0x160
pop ebx
ret
Function at 0x48d680
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x48d688
push ecx
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x48d7eb
push dword fs:[eax]
mov dword fs:[eax], esp
test dl, dl
je 0x48d6e9
lea edx, [ebp - 8]
mov eax, dword [0x517530]
call fcn.00406410
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.0048add4
cmp ebx, 1
jbe 0x48d720
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0x10], 0
lea edx, [ebp - 0x14]
xor ecx, ecx
mov eax, 0x48d804
call fcn.00409ebc
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 4]
call fcn.00404654
jmp 0x48d720
lea eax, [ebp - 4]
mov edx, 0x48d814
call fcn.00404424
cmp ebx, 1
jbe 0x48d720
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0x10], 0
lea edx, [ebp - 0x14]
xor ecx, ecx
mov eax, 0x48d824
call fcn.00409ebc
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 4]
call fcn.00404654
push 0
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 4]
call fcn.00404698
mov eax, dword [ebp - 0x1c]
call fcn.0040484c
push eax
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
jne 0x48d7b3
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0xb7
jne 0x48d758
mov bl, 1
jmp 0x48d7c3
push 0
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x24]
mov eax, ebx
call fcn.0040c11c
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x2c]
mov eax, dword [0x517ac8]
call fcn.00406410
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.0048add4
mov eax, dword [ebp - 0x28]
mov ecx, 1
pop edx
call fcn.00488438
mov eax, dword [ebp - 0x20]
mov cx, word [0x48d828]
xor edx, edx
call fcn.00436d6c
mov bl, 2
jmp 0x48d7c3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp - 4]
call fcn.004043e0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d7f2
lea eax, [ebp - 0x2c]
mov edx, 6
call fcn.004043b0
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004043b0
ret

Function at 0x48de54
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x164], ebx
mov ebx, ecx
mov esi, eax
xor eax, eax
push ebp
push 0x48deee
push dword fs:[eax]
mov dword fs:[eax], esp
test edx, 0x40000000
jne 0x48dea0
lea edx, [ebp - 0x164]
mov eax, dword [0x517ac4]
call fcn.00406410
mov eax, dword [ebp - 0x164]
mov edx, ebx
call fcn.0048add4
jmp 0x48ded5
push 0x408
push 0x160
lea eax, [ebp - 0x160]
push eax
push 0
push esi
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x48dece
mov eax, ebx
lea edx, [ebp - 0x50]
mov ecx, 0x50
call fcn.004045fc
jmp 0x48ded5
mov eax, ebx
call fcn.0040438c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48def5
lea eax, [ebp - 0x164]
call fcn.0040438c
ret
Function at 0x48e900
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 0x48e933
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x48e92c
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.0040483c
mov ecx, dword [ebp - 0xc]
inc ecx
mov eax, dword [ebp - 8]
mov edx, dword [0x40111c]
call fcn.00404fa0
xor eax, eax
push ebp
push 0x48eac1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
test eax, eax
jl 0x48ea89
inc eax
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x154]
push eax
push dword [ebp - 4]
push 0x48eae8
push dword [esi]
lea eax, [ebp - 0x158]
mov edx, 3
call fcn.0040470c
mov eax, dword [ebp - 0x158]
call fcn.0040484c
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x48ea7d
mov eax, dword [ebp - 0x154]
test al, 0x10
jne 0x48ea62
test al, 2
jne 0x48ea62
xor eax, eax
mov dword [ebp - 0x10], eax
push dword [ebp - 4]
push 0x48eae8
lea eax, [ebp - 0x160]
lea edx, [ebp - 0x128]
mov ecx, 0x104
call fcn.004045fc
push dword [ebp - 0x160]
lea eax, [ebp - 0x15c]
mov edx, 3
call fcn.0040470c
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 0x10]
call fcn.00487048
call fcn.0041965c
test al, al
je 0x48ea20
or edi, 0xffffffff
jmp 0x48ea2f
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.004871e4
mov edi, eax
mov eax, dword [ebp - 0x10]
call fcn.00486fac
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x128]
mov ecx, 0x104
call fcn.004045fc
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 0x48e9b5
push ebx
call sub.kernel32.dll_FindClose_1
add esi, 4
dec dword [ebp - 0x14]
jne 0x48e978
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48eac8
lea eax, [ebp - 0x164]
mov edx, 4
call fcn.004043b0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
inc ecx
mov edx, dword [0x40111c]
call fcn.00404e60
lea eax, [ebp - 4]
call fcn.0040438c
ret

Function at 0x48fc18
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 0x48fc9a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0x700f0037
lea edx, [ebp - 8]
mov eax, ebx
call fcn.0048fd20
mov eax, dword [ebp - 8]
call fcn.0048d9f8
test al, al
je 0x48fc6b
mov eax, dword [ebp - 8]
call fcn.0040484c
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
jne 0x48fc6b
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 + 0x3c0]
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 0x48fca1
lea eax, [ebp - 8]
call fcn.0040438c
ret
Function at 0x48fcc0
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffea0
mov esi, edx
mov ebx, eax
cmp dword [ebx + 0x14], 0
jne 0x48fd0b
push 0x208
push 0x160
lea eax, [esp + 8]
push eax
push 0
mov eax, ebx
call fcn.0048fbf4
push eax
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x48fd0b
lea eax, [esp + 0xc]
call fcn.004097e0
mov ecx, eax
lea edx, [esp + 0xc]
lea eax, [ebx + 0x14]
call fcn.0040447c
mov eax, esi
mov edx, dword [ebx + 0x14]
call fcn.004043e0
add esp, 0x160
pop esi
pop ebx
ret

Function at 0x493838
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.0040484c
push eax
call sub.kernel32.dll_GetDriveTypeA
sub eax, 3
je 0x493879
dec eax
je 0x49385b
sub eax, 2
je 0x493879
jmp 0x49388a
mov al, byte [ebx]
call fcn.004888dc
test al, al
je 0x49388a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, ebx
mov si, 0xff9f
call fcn.00403754
jmp 0x49388a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, ebx
mov si, 0xff9f
call fcn.00403754
pop esi
pop ebx
pop ebp
ret

Function at 0x493890
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 0x49393f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c8], 0
jne 0x4938de
push 0x465
mov eax, dword [ebp - 4]
call fcn.0046ace0
mov ecx, eax
mov dl, 1
mov eax, dword [0x48feb4]
call fcn.0048ff20
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c8]
call fcn.004903e8
lea eax, [ebp - 8]
mov edx, 0x493954
call fcn.00404424
call sub.kernel32.dll_GetLogicalDrives
mov ebx, eax
xor esi, esi
test ebx, ebx
je 0x493929
test bl, 1
je 0x493922
lea eax, [ebp - 8]
call fcn.004048a4
lea edx, [esi + 0x41]
mov byte [eax], dl
push ebp
mov eax, dword [ebp - 8]
call fcn.00493838
pop ecx
shr ebx, 1
inc esi
test ebx, ebx
jne 0x493906
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x493946
lea eax, [ebp - 8]
call fcn.0040438c
ret
Function at 0x4944d4
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.0040483c
xor eax, eax
push ebp
push 0x4945f2
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 0x4945c5
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.0040484c
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4945a2
test byte [ebp - 0x14c], 0x10
jne 0x494585
lea eax, [ebp - 0x154]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.004045fc
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 0x150]
call fcn.004089c0
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 0x494548
push ebx
call sub.kernel32.dll_FindClose_1
mov byte [ebp - 5], 1
jmp 0x4945ae
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 0x4945cc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x499394
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, eax
mov al, byte [ebx + 4]
sub al, 1
jb 0x4993a2
je 0x4993a7
jmp 0x4993cc
mov eax, dword [ebx + 8]
pop ebx
ret
cmp dword [ebx + 8], 0
jne 0x4993c7
lea eax, [ebx + 8]
push eax
xor eax, eax
mov al, byte [ebx + 0xc]
push eax
mov eax, dword [0x5179d0]
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 0x49bab0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 8]
dec edx
test edx, edx
jl 0x49bb5d
inc edx
mov dword [ebp - 0x10], edx
mov edx, dword [eax]
and edx, 0xffff
or edx, 2
mov dword [ebp - 0xc], edx
mov dl, byte [esi]
mov ebx, dword [ebp - 0xc]
xor ebx, 1
imul ebx, dword [ebp - 0xc]
shr ebx, 8
xor dl, bl
mov byte [esi], dl
mov edx, dword [ecx]
mov bl, byte [esi]
xor dl, bl
and edx, 0xff
mov edx, dword [edx*4 + 0x515740]
mov ebx, dword [ecx]
shr ebx, 8
and ebx, 0xffffff
xor edx, ebx
mov dword [ecx], edx
mov edx, dword [ecx]
and edx, 0xff
add dword [edi], edx
mov edx, dword [edi]
imul edx, dword [ebp + 8]
inc edx
mov dword [edi], edx
mov edx, dword [eax]
mov ebx, dword [edi]
shr ebx, 0x18
xor dl, bl
and edx, 0xff
mov edx, dword [edx*4 + 0x515740]
mov ebx, dword [eax]
shr ebx, 8
and ebx, 0xffffff
xor edx, ebx
mov dword [eax], edx
inc esi
dec dword [ebp - 0x10]
jne 0x49bad8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x49d490
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, eax
lea eax, [ebp - 0x104]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
mov edx, ebx
lea eax, [ebp - 0x104]
call fcn.004099cc
mov eax, dword [ebx]
call fcn.0040464c
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x49d4d6
mov eax, ebx
mov edx, 0x49d4e4
call fcn.00404654
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x49f770
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov eax, esp
mov edx, 0x94
call fcn.004074b4
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 4], 5
jb 0x49f7a4
cmp dword [esp + 8], 1
jb 0x49f7a4
cmp dword [esp + 0x10], 2
je 0x49f7a8
xor eax, eax
jmp 0x49f7aa
mov al, 1
add esp, 0x94
ret

Function at 0x49f7b4
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov eax, esp
mov edx, 0x94
call fcn.004074b4
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 4], 6
jne 0x49f7e8
cmp dword [esp + 8], 0
jne 0x49f7e8
cmp dword [esp + 0x10], 2
je 0x49f7ec
xor eax, eax
jmp 0x49f7ee
mov al, 1
add esp, 0x94
ret

Function at 0x4b9aa8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, eax
push 0x104
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, ebx
lea eax, [ebp - 0x104]
call fcn.004b9a70
mov eax, dword [ebx]
call fcn.0040464c
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x4b9aee
mov eax, ebx
mov edx, 0x4b9afc
call fcn.00404654
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b9b00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, eax
push 0x104
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov edx, ebx
lea eax, [ebp - 0x104]
call fcn.004b9a70
mov eax, dword [ebx]
call fcn.0040464c
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x4b9b46
mov eax, ebx
mov edx, 0x4b9b54
call fcn.00404654
pop ebx
mov esp, ebp
pop ebp
ret