joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4010e1
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
jmp 0x408c38
sub esp, 0x25c
push ebx
mov ebx, dword [esp + 0x268]
push esi
mov esi, dword [esp + 0x268]
push edi
mov edi, ebx
push esi
and edi, 4
call fcn.004010b9
mov dword [esp + 0x14], eax
test bl, 8
je 0x408c7a
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
add dword [0x48e528], eax
jmp 0x408e55
push ebp
mov ebp, ebx
and ebp, 1
mov dword [esp + 0x14], ebp
je 0x408c97
test eax, eax
je 0x408de0
test bl, 2
je 0x408ddc
push esi
push 0x46da30
call fcn.00401078
test ebp, ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcatW]
je 0x408cba
push str..
push 0x46da30
call ebp
jmp 0x408cc0
push esi
call fcn.00401131
xor eax, eax
cmp word [esi], ax
jne 0x408cd1
cmp word [0x46da30], 0x5c
jne 0x408cd9
push 0x40c974
push esi
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [esi + eax*2]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x1c]
push eax
push 0x46da30
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x408dc3
push 0x2e
pop eax
cmp word [esp + 0x48], ax
jne 0x408d27
cmp word [esp + 0x4a], 0
je 0x408da5
cmp word [esp + 0x4a], ax
jne 0x408d27
cmp word [esp + 0x4c], 0
je 0x408da5
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x14]
call fcn.00401078
test byte [esp + 0x1c], 0x10
je 0x408d4e
mov eax, ebx
and eax, 3
cmp al, 3
jne 0x408da5
push ebx
push esi
call fcn.004010e1
jmp 0x408da5
push esi
push str.Delete:_DeleteFile___s__
call fcn.004010cd
pop ecx
pop ecx
push edi
push esi
call fcn.00401181
push esi
test eax, eax
jne 0x408d9e
test edi, edi
je 0x408d8a
push str.Delete:_DeleteFile_on_Reboot___s__
call fcn.004010cd
pop ecx
pop ecx
push esi
push 0xfffffffffffffff1
call fcn.0040112c
xor eax, eax
push eax
push esi
call fcn.00401163
jmp 0x408da5
push str.Delete:_DeleteFile_failed___s__
call fcn.004010cd
inc dword [0x48e528]
pop ecx
pop ecx
jmp 0x408da5
push 0xfffffffffffffff2
call fcn.0040112c
lea eax, [esp + 0x1c]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x408d05
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x14], 0
je 0x408e54
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov word [eax - 2], cx
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x408de8
push esi
push str.RMDir:_RemoveDirectory_invalid_input___s__
jmp 0x408e3e
push esi
call fcn.0040101e
test eax, eax
je 0x408e54
push esi
call fcn.00401190
push esi
push str.RMDir:_RemoveDirectory___s__
call fcn.004010cd
pop ecx
pop ecx
mov eax, edi
or eax, 1
push eax
push esi
call fcn.00401181
push esi
test eax, eax
jne 0x408e4d
test edi, edi
je 0x408e39
push str.RMDir:_RemoveDirectory_on_Reboot___s__
call fcn.004010cd
pop ecx
pop ecx
push esi
push 0xfffffffffffffff1
call fcn.0040112c
xor eax, eax
push eax
push esi
call fcn.00401163
jmp 0x408e54
push str.RMDir:_RemoveDirectory_failed___s__
call fcn.004010cd
inc dword [0x48e528]
pop ecx
pop ecx
jmp 0x408e54
push 0xffffffffffffffe5
call fcn.0040112c
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x25c
ret 8
Function at 0x4010f5
Capabilities:
Hide graphical window

Disassembly:
jmp 0x4045d6
cmp dword [esp + 4], 0
je 0x4045f5
mov eax, dword [0x42f280]
test eax, eax
je 0x4045ed
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [0x42f280], 0
ret
cmp dword [0x42f280], 0
je 0x404606
push 0
call fcn.00401172
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [0x48e420]
jbe 0x404639
push 0
push 0x401127
push 0
push 0x6f
push dword [0x486414]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
push 5
push eax
mov dword [0x42f280], eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x401163
Capabilities:
Move file

Disassembly:
jmp 0x4082b1
push 5
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x4082d4
push dword [esp + 8]
push dword [esp + 8]
call fcn.00401041
pop ecx
pop ecx
inc dword [0x48e530]
ret 8

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

Disassembly:
jmp 0x40923b
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40925d
mov ecx, esi
and ecx, 0xfffffffe
push ecx
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4
Function at 0x40188c
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x214
lea eax, [esp]
push ebp
push esi
mov esi, dword [esp + 0x228]
push edi
mov edi, dword [esp + 0x22c]
and esi, 0x300
push eax
mov eax, esi
and edi, 1
or eax, 9
push eax
push dword [esp + 0x230]
push dword [esp + 0x230]
call fcn.0040100a
test eax, eax
jne 0x401995
xor ebp, ebp
test byte [esp + 0x22c], 2
je 0x401901
push ebp
push ebp
push ebp
push ebp
lea eax, [esp + 0x20]
mov dword [esp + 0x20], ebp
push eax
lea eax, [esp + 0x28]
push eax
push ebp
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x401971
push 0x105
lea eax, [esp + 0x18]
push eax
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x40193c
test edi, edi
jne 0x401971
push dword [esp + 0x22c]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x14]
call fcn.0040188c
test eax, eax
jne 0x401946
push 0x105
lea eax, [esp + 0x18]
push eax
push edi
push dword [esp + 0x18]
call ebp
test eax, eax
je 0x401914
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.00401136
test eax, eax
jne 0x401982
push dword [esp + 0x228]
push dword [esp + 0x228]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x401995
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x3eb
jmp 0x401995
push 0
push esi
push dword [esp + 0x230]
push dword [esp + 0x230]
call eax
pop edi
pop esi
pop ebp
add esp, 0x214
ret 0xc
Function at 0x994cdc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x994d03
call fcn.00937288
mov dword [eax], esi
call fcn.00937275
push 0x16
pop esi
mov dword [eax], esi
call fcn.00937eca
mov eax, esi
jmp 0x994d58
test dword [ebp + 0xc], 0xfffffff9
jne 0x994ce9
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x994d30
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0093729b
pop ecx
call fcn.00937275
mov eax, dword [eax]
jmp 0x994d58
test al, 0x10
jne 0x994d56
test al, 1
je 0x994d56
test byte [ebp + 0xc], 2
je 0x994d56
call fcn.00937288
mov dword [eax], 5
call fcn.00937275
mov dword [eax], 0xd
jmp 0x994d27
xor eax, eax
pop esi
pop ebp
ret

Function at 0x426390
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x18000]
push edi
or ebp, 0xffffffff
jmp 0x4263b2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4263b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4263a8
mov eax, 1
add ebx, ebx
jne 0x4263cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4263c0
jne 0x4263dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4263c0
xor ecx, ecx
sub eax, 3
jb 0x4263f0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x426462
mov ebp, eax
add ebx, ebx
jne 0x4263fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x426408
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42642c
inc ecx
add ebx, ebx
jne 0x426418
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42640d
jne 0x426429
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42640d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42644c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42643d
jmp 0x4263ae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42644c
add edi, ecx
jmp 0x4263ae
pop esi
mov edi, esi
mov ecx, 0x69d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42646a
cmp byte [edi], 1
jne 0x42646a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x42646f
lea edi, [esi + 0x24000]
mov eax, dword [edi]
or eax, eax
je 0x4264e7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x26b6c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x26be4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42649c
mov ecx, edi
jns 0x4264cb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x26be8]
or eax, eax
je 0x4264e1
mov dword [ebx], eax
add ebx, 4
jmp 0x4264b9
call dword [esi + 0x26bec]
popal
jmp 0x403280
Function at 0x403430
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x49e00c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4034c8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4034a8
xor eax, eax
push ebp
push 0x4034a1
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 0x4034e4
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 0x4034a8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x49e00c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x49e00c], ax
mov esp, ebp
pop ebp
ret

Function at 0x4041cc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4a104c], 0
je 0x40422d
cmp word [0x4a1220], 0xd7b2
jne 0x4041f5
cmp dword [0x4a1228], 0
jbe 0x4041f5
mov eax, 0x4a121c
call dword [0x4a1238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x49e054
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404254
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x49e01c], 0
jne 0x404249
push 0
push 0x49e074
push 0x49e054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404380
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402738
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4a104d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404348
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405d74
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 0xf0019
push 0
push 0x405fa4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405df7
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405fa4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405df7
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405fc0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405e80
xor eax, eax
push ebp
push 0x405e79
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405bbc
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 0x405e5e
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405fe0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405e5e
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405e80
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
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 0x405f9a
cmp byte [ebp - 0xd], 0
jne 0x405ec7
cmp byte [ebp - 0x12], 0
je 0x405f9a
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405ee0
dec ebx
cmp byte [ebx], 0x2e
je 0x405eef
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405edf
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405f9a
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405f2c
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405f9a
cmp byte [ebp - 0xd], 0
je 0x405f9a
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405f9a
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
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
Function at 0x40b7b4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b7ed
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004044bc
jmp 0x40b7f6
mov eax, ebx
mov edx, esi
call fcn.00404420
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b800
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b821
mov al, byte [esp]
jmp 0x40b823
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40bea8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bd20
mov eax, dword [0x4a0110]
cmp byte [eax], 0
je 0x40bf15
mov eax, dword [0x49fee0]
call fcn.00402cf4
call fcn.004028a0
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408ec0
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40bf5c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bf4b
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x49fe88]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4a1718]
call fcn.00405b80
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x40ccc0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40cd24
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404634
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004089ac
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cd2b
lea eax, [ebp - 0xc]
call fcn.004043cc
ret

Function at 0x4240e4
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00423f68
dec esi
jne 0x424106
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x425230
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4a1a80
cmp dword [edi], 0
jne 0x4252ac
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4a1a7c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x49e5e4
mov ecx, 2
call fcn.00402934
mov edx, 0x425208
lea eax, [esi + 5]
call fcn.00425228
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00425228
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x425281
mov dword [0x4a1a7c], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4267c0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4267c6
ret

Function at 0x428e28
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x428e79
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x428e60
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x428e50
jmp 0x428e79
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x428e61
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x434878
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea ebx, [ebp - 4]
xor eax, eax
push ebp
push 0x434a38
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebx]
call fcn.004430fc
mov eax, dword [ebx]
cmp byte [eax + 0x210], 0
je 0x434a1d
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebx]
sub eax, dword [edx + 0x220]
cmp eax, 0x1f4
jb 0x4348db
mov eax, dword [ebx]
add eax, 0x21c
call fcn.004043cc
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebx]
mov dword [edx + 0x220], eax
mov eax, dword [ebp - 8]
mov al, byte [eax]
cmp al, 8
je 0x4349ac
mov eax, dword [ebp - 8]
mov al, byte [eax]
mov edx, dword [0x4a022c]
and eax, 0xff
bt dword [edx], eax
jae 0x43496e
push 1
push 0x102
push 0x102
mov eax, dword [ebx]
call fcn.004440cc
push eax
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_PeekMessageA
test eax, eax
je 0x4349ec
mov eax, dword [ebx]
push dword [eax + 0x21c]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 8]
mov dl, byte [edx]
call fcn.004045ac
push dword [ebp - 0x28]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
call fcn.004045ac
push dword [ebp - 0x2c]
mov eax, dword [ebx]
add eax, 0x21c
mov edx, 3
call fcn.00404744
mov eax, dword [ebp - 8]
mov byte [eax], 0
jmp 0x4349ec
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 8]
mov dl, byte [edx]
call fcn.004045ac
mov edx, dword [ebp - 0x30]
mov eax, dword [ebx]
add eax, 0x21c
call fcn.0040468c
jmp 0x4349ec
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.00404684
mov edx, eax
mov eax, dword [ebx]
add eax, 0x21c
mov ecx, 1
call fcn.0040491c
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.00404684
mov edx, eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.0040c844
cmp al, 2
je 0x43498c
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.00404684
mov edx, eax
mov eax, dword [ebx]
add eax, 0x21c
mov ecx, 1
call fcn.0040491c
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.00404684
test eax, eax
jle 0x434a06
push ebp
call fcn.00434790
pop ecx
jmp 0x434a1d
xor edx, edx
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 0xcc]
mov eax, dword [ebx]
mov si, 0xffeb
call fcn.004037bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x434a3f
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.004043f0
ret

Function at 0x438040
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x437f8c
call sub.user32.dll_EnumWindows
ret
Function at 0x438164
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4381e1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00437bb0
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x438189
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00437808
cmp dword [ebp - 4], 0
je 0x4381cb
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.0040487c
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4381e8
lea eax, [ebp - 4]
call fcn.004043cc
ret

Function at 0x43b570
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x4a1c10], 0
je 0x43b6bf
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4a0098]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x43b6bf
mov eax, dword [0x4a1c14]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4a1c10]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43b68e
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4a1c10]
call fcn.0041b9c4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43b686
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x43b686
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43b686
mov eax, dword [ebp - 0x14]
call fcn.004440cc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43b686
push ebp
call fcn.0043b52c
pop ecx
test al, al
jne 0x43b686
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x43b642
mov eax, dword [ebp - 0x14]
call fcn.00442c60
dec eax
jle 0x43b686
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.004037bc
cmp byte [ebp - 1], 0
je 0x43b686
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43b686
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4a1c14]
call fcn.0043acf4
inc edi
dec ebx
jne 0x43b5d5
mov eax, dword [0x4a1c14]
cmp dword [eax + 8], 0
jle 0x43b6a6
mov eax, dword [0x4a1c14]
call fcn.0043ad84
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43b6bf
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0043b394
pop ecx
test al, al
jne 0x43b6bf
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret