joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46f533
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 5
push dword [ebp + 8]
call sub.KERNEL32.dll_WinExec
pop ebp
ret

Function at 0x46fbfb
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
call fcn.0046fa0c
mov ebx, eax
test ebx, ebx
jne 0x46fc0f
xor eax, eax
jmp 0x46fc2e
push 0
push 0
push ebx
push dword [ebp + 8]
push str.printto
push 0
call sub.SHELL32.dll_ShellExecuteA
mov esi, eax
push ebx
call sub.cppv32.dll___bdele_qpv
pop ecx
mov eax, esi
pop esi
pop ebx
pop ebp
ret

Function at 0x473ad7
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov word [ebp - 2], 0
cmp word [0x4b53f0], 0
je 0x473b13
call sub.KERNEL32.dll_GetTickCount
sub eax, dword [0x4b99a8]
cmp eax, dword [0x4afc5c]
jb 0x473b13
mov word [ebp - 2], 1
call sub.KERNEL32.dll_GetTickCount
mov dword [0x4b99a8], eax
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x473c3b
xor edx, edx
mov dword [ebp - 0xc], edx
mov ecx, dword [0x4b29a8]
mov eax, dword [ebp - 8]
mov edi, dword [ecx + eax*4]
mov ebx, dword [edi + 0x2a6]
movsx eax, word [ebx + 4]
push eax
call fcn.00481a73
pop ecx
test eax, eax
je 0x473bfb
xor esi, esi
jmp 0x473b8c
movsx eax, word [ebx + esi*2 + 0xac]
push eax
call fcn.00481b74
pop ecx
cmp eax, 5
je 0x473b8b
movsx edx, word [ebx + esi*2 + 0xac]
push edx
call fcn.00481c9f
pop ecx
fcomp dword [0x473c57]
fnstsw ax
sahf
je 0x473b8b
movsx edx, word [ebx + esi*2 + 0xac]
push edx
call fcn.00482037
pop ecx
add dword [ebp - 0xc], eax
inc esi
movsx ecx, word [ebx + 0xa6]
add ecx, 0xfffffffe
cmp esi, ecx
jl 0x473b4b
mov eax, dword [edi + 0x2b4]
cmp eax, dword [ebp - 0xc]
je 0x473bfb
mov edx, dword [ebp - 0xc]
mov dword [edi + 0x2b4], edx
push 0
push 0
push 0
push dword [ebp - 8]
push 0
call fcn.0047406a
add esp, 0x14
test eax, eax
jne 0x473bfb
cmp word [0x4b53f0], 0
jne 0x473bfb
push 0x49537d
call sub.cppv32.dll__VNotifier__barow_qv
pop ecx
push eax
call sub.cppv32.dll__VNotifier_yield_qv
pop ecx
push edi
call fcn.0041f74b
pop ecx
push 0
push 0
push 0
push dword [ebp - 8]
push 0
call fcn.0047406a
add esp, 0x14
cmp word [ebp - 2], 0
je 0x473c38
mov ecx, dword [0x4b98e0]
movsx eax, word [ecx + 0x92]
imul dword [ebx + 6]
cmp eax, dword [0x4afc5c]
jge 0x473c38
test byte [edi + 0x60], 8
jne 0x473c38
push edi
call fcn.00420e65
pop ecx
push eax
movsx edx, word [ebx + 0x2b6]
push edx
call fcn.00481e5a
add esp, 8
inc dword [ebp - 8]
mov ecx, dword [ebp - 8]
cmp ecx, dword [0x4b9950]
jl 0x473b1d
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x485883
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff68
push ebx
push esi
push 0xff
call fcn.0049099c
pop ecx
mov ebx, eax
mov byte [ebx], 0
push 0x94
push 0
lea eax, [ebp - 0x98]
push eax
call fcn.00485af4
add esp, 0xc
mov dword [ebp - 0x98], 0x94
lea edx, [ebp - 0x98]
push edx
call sub.KERNEL32.dll_GetVersionExA
test eax, eax
jne 0x4858e3
push 0x4b5a96
push ebx
call fcn.00485c74
add esp, 8
mov eax, ebx
jmp 0x485a5c
mov edx, dword [ebp - 0x88]
sub edx, 1
jb 0x485a39
dec edx
jne 0x485a47
cmp dword [ebp - 0x94], 5
jne 0x48591b
cmp dword [ebp - 0x90], 2
jne 0x48591b
push str.Microsoft_Windows_Server_2003_family_
push ebx
call fcn.00485c74
add esp, 8
jmp 0x485976
cmp dword [ebp - 0x94], 5
jne 0x48593d
cmp dword [ebp - 0x90], 1
jne 0x48593d
push str.Microsoft_Windows_XP
push ebx
call fcn.00485c74
add esp, 8
jmp 0x485976
cmp dword [ebp - 0x94], 5
jne 0x48595f
cmp dword [ebp - 0x90], 0
jne 0x48595f
push str.Microsoft_Windows_2000
push ebx
call fcn.00485c74
add esp, 8
jmp 0x485976
cmp dword [ebp - 0x94], 4
ja 0x485976
push str.Microsoft_Windows_NT
push ebx
call fcn.00485c74
add esp, 8
push 0x80
call fcn.0049099c
pop ecx
mov esi, eax
cmp dword [ebp - 0x94], 4
jne 0x485a04
push str.Service_Pack_6
lea eax, [ebp - 0x84]
push eax
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
jne 0x485a04
lea edx, [ebp - 4]
push edx
push 1
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionHotfixQ246009
push 0x80000002
call sub.ADVAPI32.dll_RegOpenKeyExA
test eax, eax
jne 0x4859d9
mov ecx, dword [ebp - 0x8c]
and ecx, 0xffff
push ecx
push str.Service_Pack_6a__Build__d__n
push esi
call fcn.0048a974
add esp, 0xc
jmp 0x4859fa
mov eax, dword [ebp - 0x8c]
and eax, 0xffff
push eax
lea edx, [ebp - 0x84]
push edx
push 0x4b5b6c
push esi
call fcn.0048a974
add esp, 0x10
push dword [ebp - 4]
call sub.ADVAPI32.dll_RegCloseKey
jmp 0x485a26
mov ecx, dword [ebp - 0x8c]
and ecx, 0xffff
push ecx
lea eax, [ebp - 0x84]
push eax
push str._s__Build__d_
push esi
call fcn.0048a974
add esp, 0x10
push esi
push ebx
call fcn.00485b98
add esp, 8
push esi
call sub.cppv32.dll___bdele_qpv
pop ecx
jmp 0x485a47
push str.Microsoft_Win32s
push ebx
call fcn.00485c74
add esp, 8
cmp byte [ebx], 0
jne 0x485a5a
push 0x4b5b99
push ebx
call fcn.00485c74
add esp, 8
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x488ef4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push 0xff
mov eax, dword [ebp + 8]
push eax
push 0x4ba218
call fcn.0048bd7c
add esp, 0xc
lea edx, [ebp - 8]
push 0
push 0
push 0
push edx
push 0x4ba218
call fcn.0048916c
add esp, 0x14
push 0x4b6df8
lea ecx, [ebp - 8]
push ecx
call fcn.00485b98
add esp, 8
mov byte [0x4ba218], 0
push 0
push 0
push 0
push 0
push 0
push 0xff
push 0x4ba218
lea eax, [ebp - 8]
push eax
call sub.KERNEL32.dll_GetVolumeInformationA
test eax, eax
je 0x488f67
mov eax, 0x4ba218
jmp 0x488f69
xor eax, eax
pop ecx
pop ecx
pop ebp
ret
Function at 0x488f70
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
mov ebx, dword [esi]
test byte [ebx + 8], 8
je 0x488f95
cmp dword [ebx + 4], 0xfffffffe
jne 0x488f95
or eax, 0xffffffff
jmp 0x4890cd
test byte [ebx + 8], 8
je 0x489002
cmp dword [ebx + 4], 0xffffffff
jne 0x489002
mov dword [esi + 8], 8
mov edx, dword [ebx + 0xc]
push edx
call fcn.00488ef4
pop ecx
mov edi, eax
test edi, edi
je 0x488fea
add esi, 0x10
xor eax, eax
push esi
push edi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov dword [ebx + 4], 0xfffffffe
xor eax, eax
jmp 0x4890cd
call fcn.0048c288
test eax, eax
jne 0x488ffa
xor eax, eax
jmp 0x4890cd
or eax, 0xffffffff
jmp 0x4890cd
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
je 0x48900f
cmp eax, 0xfffffffe
jne 0x489036
mov dword [ebx + 4], 0xffffffff
lea edx, [ebp - 0x148]
push edx
mov ecx, dword [ebx + 0xc]
push ecx
call sub.KERNEL32.dll_FindFirstFileA
mov edi, eax
mov dword [ebx + 4], edi
cmp edi, 0xffffffff
setne al
and eax, 1
jmp 0x489046
lea edx, [ebp - 0x148]
push edx
mov ecx, dword [ebx + 4]
push ecx
call sub.KERNEL32.dll_FindNextFileA
test eax, eax
jne 0x48905c
call fcn.0048c288
test eax, eax
jne 0x489057
xor eax, eax
jmp 0x4890cd
or eax, 0xffffffff
jmp 0x4890cd
mov eax, dword [ebp - 0x148]
test al, 0x16
je 0x489070
mov edx, dword [ebx + 8]
and edx, eax
test dl, 0x16
je 0x489002
mov ecx, dword [ebp - 0x148]
mov dword [esi + 8], ecx
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x134]
push edx
call sub.KERNEL32.dll_FileTimeToLocalFileTime
lea ecx, [esi + 0xc]
push ecx
lea eax, [esi + 0xe]
push eax
lea edx, [ebp - 8]
push edx
call sub.KERNEL32.dll_FileTimeToDosDateTime
mov ecx, dword [ebp - 0x128]
xor eax, eax
mov dword [esi + 4], ecx
add esi, 0x10
push esi
lea edi, [ebp - 0x11c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48bb90
Capabilities:
Get common file path
Set current directory
Set environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.dll_SetCurrentDirectoryA
dec eax
je 0x48bbac
call fcn.0048c2a8
jmp 0x48bc1b
lea edx, [ebp - 0x108]
push edx
push 0x104
call sub.KERNEL32.dll_GetCurrentDirectoryA
test eax, eax
jne 0x48bbc8
call fcn.0048c2a8
jmp 0x48bc1b
cmp dword [0x4ba560], 1
je 0x48bc19
movsx ecx, byte [ebp - 0x108]
push ecx
call fcn.00490944
pop ecx
cmp al, 0x41
jl 0x48bc19
cmp al, 0x5a
jg 0x48bc19
cmp byte [ebp - 0x107], 0x3a
jne 0x48bc19
mov byte [ebp - 4], 0x3d
mov byte [ebp - 3], al
lea eax, [ebp - 0x108]
mov byte [ebp - 2], 0x3a
mov byte [ebp - 1], 0
push eax
lea edx, [ebp - 4]
push edx
call sub.KERNEL32.dll_SetEnvironmentVariableA
dec eax
je 0x48bc19
call fcn.0048c2a8
jmp 0x48bc1b
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x48bc20
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x48bc35
xor eax, eax
jmp 0x48bc49
add al, 0x40
mov byte [ebp - 4], al
lea eax, [ebp - 4]
mov byte [ebp - 3], 0x3a
mov byte [ebp - 2], 0x5c
mov byte [ebp - 1], 0
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x10]
push edx
lea edx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 8]
push edx
push ecx
push eax
call sub.KERNEL32.dll_GetDiskFreeSpaceA
dec eax
je 0x48bc72
call fcn.00491828
mov edx, 0x13
mov dword [eax], edx
mov eax, edx
jmp 0x48bc8b
mov ecx, dword [ebp - 0x14]
mov dword [ebx], ecx
mov eax, dword [ebp - 0x10]
mov dword [ebx + 4], eax
xor eax, eax
mov edx, dword [ebp - 8]
mov dword [ebx + 8], edx
mov ecx, dword [ebp - 0xc]
mov dword [ebx + 0xc], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48bc90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
lea eax, [ebp - 0x104]
push eax
push 0x104
call sub.KERNEL32.dll_GetCurrentDirectoryA
cmp byte [ebp - 0x104], 0x61
jl 0x48bcbf
movsx edx, byte [ebp - 0x104]
add edx, 0xffffffa0
jmp 0x48bcc9
movsx edx, byte [ebp - 0x104]
add edx, 0xffffffc0
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov esp, ebp
pop ebp
ret
Function at 0x48bcd4
Capabilities:
Get disk information
Query environment variable
Set current directory
Set environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
xor eax, eax
lea ecx, [ebp - 4]
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x108]
mov dword [esi], eax
mov byte [ebp - 4], 0x3d
mov dl, byte [ebp + 8]
add dl, 0x40
mov byte [ebp - 3], dl
mov byte [ebp - 2], 0x3a
mov byte [ebp - 1], 0
push 0x104
push edi
push ecx
call sub.KERNEL32.dll_GetEnvironmentVariableA
test eax, eax
jne 0x48bd3a
mov al, byte [ebp - 3]
mov byte [edi], al
mov byte [edi + 1], 0x3a
mov byte [edi + 2], 0x5c
mov byte [edi + 3], 0
push edi
lea edx, [ebp - 4]
push edx
call sub.KERNEL32.dll_SetEnvironmentVariableA
dec eax
je 0x48bd3a
call fcn.0048c2a8
jmp 0x48bd75
push edi
call sub.KERNEL32.dll_SetCurrentDirectoryA
dec eax
je 0x48bd4a
call fcn.0048c2a8
jmp 0x48bd75
mov byte [edi + 1], 0x3a
mov byte [edi + 2], 0x5c
mov byte [edi + 3], 0
mov byte [edi], 0x41
jmp 0x48bd70
push edi
call sub.KERNEL32.dll_GetDriveTypeA
mov ebx, eax
test eax, eax
je 0x48bd6e
cmp ebx, 1
je 0x48bd6e
inc dword [esi]
inc byte [edi]
cmp byte [edi], 0x5a
jle 0x48bd5b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48bd7c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x104
call fcn.004910fc
pop ecx
mov ebx, eax
test eax, eax
jne 0x48bda0
xor eax, eax
jmp 0x48be49
lea edx, [ebp - 4]
push edx
push ebx
push 0x104
mov ecx, dword [ebp + 0xc]
push ecx
call sub.KERNEL32.dll_GetFullPathNameA
mov esi, eax
test esi, esi
je 0x48bdc1
cmp esi, 0x104
jb 0x48bdcc
push ebx
call fcn.00490fe8
pop ecx
xor eax, eax
jmp 0x48be49
cmp byte [ebx + 1], 0x3a
jne 0x48bdfc
mov dl, byte [ebx]
lea ecx, [ebp - 8]
mov byte [ebp - 8], dl
mov byte [ebp - 7], 0x3a
mov byte [ebp - 6], 0x5c
mov byte [ebp - 5], 0
push ecx
call sub.KERNEL32.dll_GetDriveTypeA
cmp eax, 2
jae 0x48bdfc
push ebx
call fcn.00490fe8
pop ecx
xor eax, eax
jmp 0x48be49
inc esi
test edi, edi
je 0x48be3f
cmp esi, dword [ebp + 0x10]
jbe 0x48be11
push ebx
call fcn.00490fe8
pop ecx
xor eax, eax
jmp 0x48be49
push edi
mov esi, edi
xor eax, eax
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
push ebx
call fcn.00490fe8
pop ecx
mov eax, edi
jmp 0x48be49
push esi
push ebx
call fcn.004915c8
add esp, 8
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x48c310
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
cmp dword [ebp + 0xc], 1
mov esi, dword [ebp + 8]
jne 0x48c33b
lea eax, [ebp + 0x10]
add eax, 4
mov ebx, dword [eax - 4]
push ebx
push esi
call sub.KERNEL32.dll_SetFileAttributesA
test eax, eax
jne 0x48c34f
call fcn.0048c2a8
jmp 0x48c351
push esi
call sub.KERNEL32.dll_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x48c34f
call fcn.0048c2a8
jmp 0x48c351
mov eax, ebx
pop esi
pop ebx
pop ebp
ret
Function at 0x48c5d4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
call fcn.0048be7c
test byte [ebp + 0xd], 0xc0
jne 0x48c5f8
mov eax, dword [0x4b6e00]
mov edx, dword [eax]
and edx, 0xc000
or dword [ebp + 0xc], edx
test byte [ebp + 0xd], 0x80
jne 0x48c605
or dword [ebp + 0xc], 0x4000
mov ecx, dword [ebp + 0xc]
and ecx, 0x700
cmp ecx, 0x500
jg 0x48c632
je 0x48c644
sub ecx, 0x100
je 0x48c652
sub ecx, 0x100
je 0x48c659
sub ecx, 0x100
je 0x48c64b
jmp 0x48c660
sub ecx, 0x600
je 0x48c659
sub ecx, 0x100
je 0x48c644
jmp 0x48c660
mov edi, 1
jmp 0x48c665
mov edi, 2
jmp 0x48c665
mov edi, 4
jmp 0x48c665
mov edi, 5
jmp 0x48c665
mov edi, 3
test byte [ebp + 0xd], 1
je 0x48c68c
lea eax, [ebp + 0x10]
add eax, 4
mov eax, dword [eax - 4]
and eax, dword [0x4b73dc]
test al, 0x80
je 0x48c685
mov ebx, 0x80
jmp 0x48c69e
mov ebx, 1
jmp 0x48c69e
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.dll_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x48c69e
xor ebx, ebx
mov eax, dword [ebp + 0xc]
and eax, 3
sub eax, 1
jb 0x48c6b0
je 0x48c6b9
dec eax
je 0x48c6c2
jmp 0x48c6cb
mov dword [ebp - 4], 0x80000000
jmp 0x48c6da
mov dword [ebp - 4], 0x40000000
jmp 0x48c6da
mov dword [ebp - 4], 0xc0000000
jmp 0x48c6da
push 1
call fcn.0048c23c
pop ecx
mov ebx, eax
jmp 0x48c7c6
mov eax, dword [ebp + 0xc]
and eax, 0x70
sub eax, 0x10
je 0x48c6f6
sub eax, 0x10
je 0x48c6fd
sub eax, 0x10
je 0x48c706
sub eax, 0x10
je 0x48c70f
jmp 0x48c70f
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x48c716
mov dword [ebp - 8], 1
jmp 0x48c716
mov dword [ebp - 8], 2
jmp 0x48c716
mov dword [ebp - 8], 3
mov dword [ebp - 0x14], 0xc
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x14]
mov eax, dword [ebp + 0xc]
and eax, 0x80
cmp eax, 1
sbb edx, edx
neg edx
mov dword [ebp - 0xc], edx
push 0
push ebx
push edi
push ecx
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_CreateFileA
mov esi, eax
cmp eax, 0xffffffff
jne 0x48c77f
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
and ebx, 0xffff
cmp ebx, 0x6e
jne 0x48c774
test byte [ebp + 0xd], 1
mov ebx, 0x50
jne 0x48c774
add ebx, 0xffffffb2
push ebx
call fcn.0048c23c
pop ecx
mov ebx, eax
jmp 0x48c7c6
mov edi, esi
push edi
call fcn.0048c538
pop ecx
test eax, eax
je 0x48c793
or dword [ebp + 0xc], 0x2000
test bl, 1
jne 0x48c79f
or dword [ebp + 0xc], 0x100
and dword [ebp + 0xc], 0xfffff8ff
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.0048bf7c
add esp, 8
mov ebx, eax
inc eax
jne 0x48c7c6
push 4
call fcn.0048c23c
pop ecx
push esi
call sub.KERNEL32.dll_CloseHandle
call fcn.0048beb0
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4913fc
Capabilities:
Get memory capacity

Disassembly:
add esp, 0xffffffe0
mov dword [esp], 0x20
push esp
call sub.KERNEL32.dll_GlobalMemoryStatus
mov eax, dword [esp + 0xc]
add esp, 0x20
ret
Function at 0x491ad4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
cmp dword [0x4b7e80], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x491b8c
cmp byte [0x49536a], 0
je 0x491b46
push 0x50
lea eax, [ebp - 0x54]
push eax
push 0
call sub.KERNEL32.dll_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x54]
push edx
call fcn.004908ec
add esp, 8
mov ebx, eax
test eax, eax
jne 0x491b2f
push 0x3a
lea edx, [ebp - 0x54]
push edx
call fcn.004908ec
add esp, 8
mov ebx, eax
test eax, eax
jne 0x491b2f
lea ebx, [ebp - 0x54]
jmp 0x491b30
inc ebx
call fcn.00491a8c
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.dll_MessageBoxA
jmp 0x491bad
push 0xfffffffffffffff4
call sub.KERNEL32.dll_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x4b7e84
push ebx
call sub.KERNEL32.dll_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.00485ca4
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.dll_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x4b7e87
push ebx
call sub.KERNEL32.dll_WriteFile
jmp 0x491bad
cmp dword [0x4b7e80], 0xffffffff
je 0x491bad
mov eax, dword [0x4b7e80]
test eax, eax
je 0x491bad
cmp byte [eax], 0
je 0x491bad
push esi
push eax
call fcn.00491c3c
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x492c40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp + 0xc]
cmp esi, 0x10
jge 0x492c66
test esi, esi
je 0x492c66
call fcn.00491828
mov dword [eax], 0x13
or eax, 0xffffffff
jmp 0x492cd2
call fcn.00492a1c
mov ebx, eax
test eax, eax
jne 0x492c81
call fcn.00491828
mov dword [eax], 8
or eax, 0xffffffff
jmp 0x492cd2
mov edx, dword [ebp + 0x10]
lea eax, [ebp - 4]
mov dword [ebx + 4], edx
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x14], ecx
push eax
mov edx, dword [ebp + 0x18]
push edx
push ebx
push 0x492bb0
push esi
mov ecx, dword [ebp + 0x14]
push ecx
call sub.KERNEL32.dll_CreateThread
test eax, eax
jne 0x492cc6
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x718
jne 0x492cbf
push 0x59
call fcn.0048c23c
pop ecx
jmp 0x492cd2
call fcn.0048c2a8
jmp 0x492cd2
mov dword [ebx + 8], eax
test edi, edi
je 0x492cd2
mov edx, dword [ebp - 4]
mov dword [edi], edx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4d783e
Capabilities:
Encode data using xor

Disassembly:
call 0x4d7843
pop eax
sub eax, 5
push eax
pop edi
push edi
mov esi, edi
sub edi, 0x261f
add esi, 0x39
mov edx, 0
mov ebx, edi
mov ecx, 0xb
mov eax, dword [esi]
xor eax, dword [ebx]
mov dword [esi], eax
add esi, 4
add ebx, 4
loop 0x4d7861
inc edx
cmp edx, 5
je 0x4d7877
jmp 0x4d785a
imul esp, dword [eax - 0x49], 0xffffffdd
or eax, 0x35d4dd65
and byte [ebp + 0x1d], al
adc dh, byte [ebx + 0x42cf5acb]
push 0x73
shr byte [edx - 0x795cea87], 0x6c
mov edx, 0x3048c801
inc ebx
cmp dword [ebx + 0x64], edi
invalid
Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x4026b4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40274c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40272c
xor eax, eax
push ebp
push 0x402725
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402768
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40272c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret
Function at 0x403ca0
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x403e58
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x403d01
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x403e74
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403d6e
xor eax, eax
push ebp
push 0x403d67
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x403d50
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x403e94
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403d6e
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x403e4f
cmp byte [ebp - 0xd], 0
jne 0x403db0
cmp byte [ebp - 0x12], 0
je 0x403e4f
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x403dc9
dec ebx
cmp byte [ebx], 0x2e
je 0x403dd8
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x403dc8
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x403e4f
inc ebx
cmp byte [ebp - 0x12], 0
je 0x403e05
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x403e4f
cmp byte [ebp - 0xd], 0
je 0x403e4f
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x403e4f
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret