joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4774f4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4775ae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00405a90
mov eax, dword [0x5362b4]
cmp byte [eax], 0
je 0x477563
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00405df4
mov eax, dword [ebx]
call fcn.00405c20
push eax
mov eax, dword [ebx]
call fcn.00405c10
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00405c20
mov edx, eax
dec edx
mov eax, ebx
call fcn.00405df4
jmp 0x477595
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.0040a8f0
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00405c00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4775b5
lea eax, [ebp - 0x3f0]
call fcn.00405288
ret

Function at 0x4775bc
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.0040a8f0
add esp, 0x3ec
pop ebx
ret

Function at 0x47777c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov esi, edx
mov ebp, eax
mov edx, esi
mov eax, dword [ebp + 0x3c]
call dword [ebp + 0x38]
cmp dword [esi + 0xc], 0
jne 0x477844
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.0045da58
mov ebx, eax
movzx edx, word [esi + 4]
mov eax, ebp
call fcn.00477438
mov edi, eax
test edi, edi
je 0x4777dd
movzx eax, byte [0x477850]
cmp al, bl
jne 0x4777dd
mov edx, edi
mov eax, ebp
call fcn.00477370
mov dword [esi + 0xc], 1
mov byte [ebp + 0x31], 1
jmp 0x477844
cmp byte [ebp + 0x161], 2
jne 0x477808
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x53669c]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov edx, 0xb006
call fcn.0044bc50
test eax, eax
jne 0x477844
jmp 0x47783f
mov edx, dword [0x536554]
mov edx, dword [edx]
mov edx, dword [edx + 0x44]
mov eax, dword [ebp + 0x128]
cmp edx, eax
je 0x47783f
test byte [eax + 0x358], 8
jne 0x47783f
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x536554]
mov eax, edx
mov edx, 0xb006
call fcn.0044bc50
xor eax, eax
mov dword [esi + 0xc], eax
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x47db64
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
mov eax, dword [0x53669c]
mov eax, dword [eax]
cmp dword [eax + 0x58], 0
jne 0x47dc0a
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x80]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x84]
cdq
cmp edx, dword [esp + 4]
jne 0x47dba9
cmp eax, dword [esp]
pop edx
pop eax
jae 0x47dbe5
jmp 0x47dbad
pop edx
pop eax
jge 0x47dbe5
mov eax, dword [0x53669c]
mov eax, dword [eax]
mov dword [eax + 0x38], 2
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00478580
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x47dc0a
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x47dc0a
cmp dword [ebx + 0x11c], 0
je 0x47dc0a
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.00439f84
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x12c]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x484ac4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x484b7e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00405a90
mov eax, dword [0x5362b4]
cmp byte [eax], 0
je 0x484b33
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00405df4
mov eax, dword [ebx]
call fcn.00405c20
push eax
mov eax, dword [ebx]
call fcn.00405c10
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00405c20
mov edx, eax
dec edx
mov eax, ebx
call fcn.00405df4
jmp 0x484b65
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.0040a8f0
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00405c00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484b85
lea eax, [ebp - 0x3f0]
call fcn.00405288
ret

Function at 0x487cec
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x487d46
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [esi + 0x310], ecx
mov dword [esi + 0x314], edx
mov eax, dword [edx + 0x4c]
mov dword [esi + 0x304], eax
mov eax, dword [eax + 0x44]
mov dword [esi + 0xc], eax
mov edx, dword [esi + 0x310]
mov eax, esi
call fcn.00487d50
mov eax, dword [esi + 0x310]
mov edx, dword [eax + 0x30]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x6c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487d4d
ret
Function at 0x48e5a4
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov edi, edx
mov ebx, eax
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_IsWindow
test eax, eax
jne 0x48e5da
jmp 0x48e680
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_GetWindowLongA
mov esi, eax
mov eax, esp
push eax
push 0
push 0x419
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
test esi, 2
jbe 0x48e61e
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x184], 0
je 0x48e61e
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x184]
mov eax, dword [eax + 0x14]
jmp 0x48e62e
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0x180]
test edx, edx
je 0x48e62e
mov eax, dword [edx + 0x14]
test eax, eax
je 0x48e647
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.0048af30
jmp 0x48e680
mov dl, 1
mov eax, dword [0x4241e4]
call fcn.00426400
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.00426dd4
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0xc4]
mov eax, dword [esi + 0x10]
call fcn.00425f24
mov edx, esp
mov eax, esi
call fcn.00426b10
mov eax, esi
call fcn.00404388
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x490eb0
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.00452930
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x2c1], 0
xor edx, edx
mov eax, ebx
call fcn.0044a880
pop ebx
ret
Function at 0x49b528
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
cmp byte [ebx + 0x98], 0
je 0x49b54e
push 0
mov eax, dword [ebx + 0x94]
call fcn.00452930
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x98], 0
pop ebx
ret

Function at 0x49b608
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x49b77a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov byte [eax + 0xa4], 1
mov eax, dword [ebp - 0xc]
test byte [eax + 0x1c], 0x10
jne 0x49b75f
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 4]
lea eax, [ebp - 0x10d]
call fcn.0040a8f0
mov dl, 1
mov eax, dword [0x4719a8]
call fcn.00471a00
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x9c], eax
mov dl, 1
mov eax, dword [0x417e78]
call fcn.00404358
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0xa0]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x9c]
call fcn.00471a7c
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x49b75b
mov dl, 1
mov eax, dword [0x472f14]
call fcn.00472f7c
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x34], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x9c]
mov edx, 0x49b790
call fcn.004721f0
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004055a0
xor eax, eax
push ebp
push 0x49b754
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x34]
call fcn.00473284
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.0049b798
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b75b
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x9c]
call fcn.00404388
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
call fcn.00404388
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x34]
call fcn.00404388
ret
movzx ebx, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b781
lea eax, [ebp - 8]
mov edx, 2
call fcn.004052ac
ret
Function at 0x49f0e8
Capabilities:
Check if file exists

Disassembly:
push ebx
push esi
push edi
mov esi, eax
xor ebx, ebx
mov eax, dword [esi + 0x44]
push eax
call sub.kernel32.dll_CloseHandle_1
push 0
push 0
push 0
mov eax, dword [esi + 0x70]
push eax
call sub.kernel32.dll_PostQueuedCompletionStatus
mov eax, dword [esi + 0x70]
push eax
call sub.kernel32.dll_CloseHandle_1
push 0
push 0x42000000
push 3
push 0
push 7
push 0xc0000000
mov eax, dword [esi + 0x68]
call fcn.00405718
push eax
call sub.kernel32.dll_CreateFileA_1
mov edi, eax
mov eax, esi
call fcn.0049f0dc
mov dword [esi + 0x44], edi
mov eax, esi
call fcn.0049f270
call sub.kernel32.dll_GetLastError_1
cmp eax, 2
je 0x49f157
call sub.kernel32.dll_GetLastError_1
cmp eax, 3
jne 0x49f171
mov eax, esi
call fcn.0049f0dc
xor eax, eax
mov dword [esi + 0x44], eax
xor eax, eax
mov dword [esi + 0x70], eax
mov eax, esi
call fcn.0049f270
jmp 0x49f1e6
push 0
mov eax, dword [esi + 4]
push eax
push 0
mov eax, dword [esi + 0x44]
push eax
call sub.kernel32.dll_CreateIoCompletionPort
mov ebx, eax
mov eax, esi
call fcn.0049f0dc
mov dword [esi + 0x70], ebx
mov eax, esi
call fcn.0049f270
xor eax, eax
mov dword [esi + 0x8c], eax
lea eax, [esi + 0x90]
xor ecx, ecx
mov edx, 0x1000
call fcn.00403990
push 0
lea eax, [esi + 0x74]
push eax
lea eax, [esi + 0x8c]
push eax
mov eax, dword [esi + 0x88]
push eax
cmp byte [esi + 0x6c], 1
cmc
sbb eax, eax
push eax
push 0x1000
lea eax, [esi + 0x90]
push eax
mov eax, dword [esi + 0x44]
push eax
call sub.kernel32.dll_ReadDirectoryChangesW
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x49fd9c
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.00403990
ret
Function at 0x4a0188
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe8
push ebx
xor edx, edx
mov dword [ebp - 0x418], edx
mov dword [ebp - 0x414], edx
mov dword [ebp - 0x410], edx
mov dword [ebp - 0x40c], edx
mov dword [ebp - 0x408], edx
mov dword [ebp - 0x3f0], edx
mov dword [ebp - 0x3f4], edx
mov dword [ebp - 0x3f8], eax
xor eax, eax
push ebp
push 0x4a03ff
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x3f4]
mov eax, 0x4a0414
call fcn.0049fff0
lea eax, [ebp - 0x3f0]
call fcn.00405288
lea eax, [ebp - 0x3fc]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 0x3f4]
call fcn.00405718
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4a03c0
xor eax, eax
push ebp
push 0x4a03b9
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x3e9
mov dword [ebp - 0x404], ebx
mov dword [ebp - 0x400], 7
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x3e9]
push eax
lea eax, [ebp - 0x400]
push eax
push 0
lea edx, [ebp - 0x408]
mov eax, 0x4a0454
call fcn.0049fff0
mov eax, dword [ebp - 0x408]
call fcn.00405718
push eax
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4a028b
push ebp
mov eax, 0x4a0480
call fcn.004a00e0
pop ecx
mov dword [ebp - 0x404], ebx
mov dword [ebp - 0x400], 1
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x3e9]
push eax
lea eax, [ebp - 0x400]
push eax
push 0
lea edx, [ebp - 0x40c]
mov eax, 0x4a048c
call fcn.0049fff0
mov eax, dword [ebp - 0x40c]
call fcn.00405718
push eax
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4a0315
push dword [ebp - 0x3f0]
push 0x4a04b4
lea eax, [ebp - 0x410]
lea edx, [ebp - 0x3e9]
mov ecx, 0x3e9
call fcn.004054f8
push dword [ebp - 0x410]
lea eax, [ebp - 0x3f0]
mov edx, 3
call fcn.0040561c
mov dword [ebp - 0x404], ebx
mov dword [ebp - 0x400], 1
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x3e9]
push eax
lea eax, [ebp - 0x400]
push eax
push 0
lea edx, [ebp - 0x414]
mov eax, 0x4a04c0
call fcn.0049fff0
mov eax, dword [ebp - 0x414]
call fcn.00405718
push eax
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4a039f
push dword [ebp - 0x3f0]
push 0x4a04b4
lea eax, [ebp - 0x418]
lea edx, [ebp - 0x3e9]
mov ecx, 0x3e9
call fcn.004054f8
push dword [ebp - 0x418]
lea eax, [ebp - 0x3f0]
mov edx, 3
call fcn.0040561c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a03c0
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x3f8]
mov edx, dword [ebp - 0x3f0]
call fcn.004052dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0406
lea eax, [ebp - 0x418]
mov edx, 5
call fcn.004052ac
lea eax, [ebp - 0x3f4]
mov edx, 2
call fcn.004052ac
ret
Function at 0x4a5390
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe28
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1d4], edx
mov dword [ebp - 0x1d8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405708
xor eax, eax
push ebp
push 0x4a54cb
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4a549b
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.00405718
mov ebx, eax
push ebx
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 4]
call fcn.0040a180
test al, al
jne 0x4a540b
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push ebx
call sub.kernel32.dll_CreateFileA_1
push eax
call sub.kernel32.dll_CloseHandle_1
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d0]
call fcn.00403728
lea eax, [ebp - 0x1d0]
call fcn.004034c4
call fcn.004030bc
push dword [0x53be6c]
push 0x4a54e4
push dword [0x53be70]
push 0x4a54e4
push dword [0x53be74]
lea eax, [ebp - 0x1d8]
mov edx, 5
call fcn.0040561c
mov eax, dword [ebp - 0x1d8]
lea edx, [ebp - 0x1d4]
call fcn.004ab978
mov edx, dword [ebp - 0x1d4]
lea eax, [ebp - 0x1d0]
call fcn.00405a38
call fcn.00403de4
call fcn.004030bc
lea eax, [ebp - 0x1d0]
call fcn.004037f0
call fcn.004030bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a54a5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a54d2
lea eax, [ebp - 0x1d8]
mov edx, 2
call fcn.004052ac
lea eax, [ebp - 4]
call fcn.00405288
ret
Function at 0x4a6668
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405708
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x4a67d0
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.004a5830
mov esi, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, esi
call fcn.004a5850
mov ebx, eax
jmp 0x4a67a2
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.004054f8
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.0040a494
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00409630
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.00409630
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.004056b0
je 0x4a6782
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.004054f8
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.00409630
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.00409630
mov edx, dword [ebp - 0x148]
pop eax
call fcn.004056b0
jne 0x4a6797
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edx, edi
mov eax, esi
call fcn.004a5870
mov ebx, eax
test ebx, ebx
jne 0x4a66e3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a67d7
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.004052ac
lea eax, [ebp - 4]
call fcn.00405288
ret
Function at 0x4a6b4b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], eax
test ebx, ebx
je 0x4a6ba5
mov eax, ebx
add eax, dword [eax + 0x3c]
mov edi, dword [eax + 0x78]
add edi, ebx
xor esi, esi
jmp 0x4a6ba0
mov eax, dword [edi + 0x20]
lea edx, [ebx + eax]
mov eax, dword [edx + esi*4]
add eax, ebx
push dword [ebp + 0xc]
push eax
call sub.kernel32.dll_lstrcmpA
test eax, eax
jne 0x4a6b9f
mov edx, dword [edi + 0x24]
lea ecx, [ebx + edx]
mov ax, word [ecx + esi*2]
movzx edx, ax
mov ecx, dword [edi + 0x1c]
lea eax, [ebx + ecx]
mov eax, dword [eax + edx*4]
add eax, ebx
mov dword [ebp - 4], eax
inc esi
cmp esi, dword [edi + 0x18]
jb 0x4a6b6c
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4a8efc
Capabilities:
Log keystrokes via application hook

Disassembly:
xor eax, eax
mov dword [0x53c070], eax
push 0x4a8f3c
call sub.user32.dll_RegisterWindowMessageA
mov dword [0x53c070], eax
mov eax, dword [0x536554]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [0x53c074], eax
push 0
mov eax, dword [0x5397f8]
push eax
push 0x4a8eb4
push 0xd
call sub.user32.dll_SetWindowsHookExA
mov dword [0x53c078], eax
ret

Function at 0x4a9164
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405708
xor eax, eax
push ebp
push 0x4a923e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov ecx, 0x4a9254
mov edx, dword [ebp - 4]
call fcn.004055a0
mov eax, dword [ebp - 8]
call fcn.00405718
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 6
ja case.0x4a91ae.0
jmp dword [eax*4 + 0x4a91b5]
mov eax, ebx
mov edx, 0x4a9260
call fcn.004052dc
jmp 0x4a9223
mov eax, ebx
mov edx, 0x4a9274
call fcn.004052dc
jmp 0x4a9223
mov eax, ebx
mov edx, 0x4a9284
call fcn.004052dc
jmp 0x4a9223
mov eax, ebx
mov edx, 0x4a9298
call fcn.004052dc
jmp 0x4a9223
mov eax, ebx
mov edx, 0x4a92a8
call fcn.004052dc
jmp 0x4a9223
mov eax, ebx
mov edx, 0x4a92bc
call fcn.004052dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a9245
lea eax, [ebp - 8]
mov edx, 2
call fcn.004052ac
ret
Function at 0x401686
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x404474], eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4041cf], ebp
mov dword [0x404404], eax
mov dword [0x4041c7], eax
mov dword [0x4043f0], 0x30
mov dword [0x4043f4], 2
jmp 0x4016c6
mov dword [0x4043f8], 0x403051
mov dword [0x4043fc], 0
mov dword [0x404400], 0
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x40440c], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x404408], eax
mov dword [0x40441c], eax
mov dword [0x404418], 0x40439a
mov dword [0x404410], 0xf
push 0x4043f0
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x4041c7]
push 0
push 0
push 0x1e0
push 0x1fe
push 0xfffff862
push 0xfffff8f8
push 0xcf0000
push 0x4043e7
push str.lunt
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x404468], eax
push 5
push dword [0x404468]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x404468]
call dword [sym.imp.user32.dll_UpdateWindow]
xor edi, edi
lea ebx, [0x404420]
jmp 0x40179a
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x40178c
mov eax, dword [0x404428]
jmp 0x4017b5
call 0x402a06
ret

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..data
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x330f7152
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
mov eax, section..data_1
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x4f4f156b
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x407a29
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x42af98
cmp edx, dword [eax]
je 0x407a4b
add eax, 8
inc ecx
cmp eax, 0x42b028
jl 0x407a3c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x42af98]
jne 0x407b79
mov eax, dword [0x42ddd4]
cmp eax, 1
je 0x407b53
test eax, eax
jne 0x407a7c
cmp dword [0x42aab8], 1
je 0x407b53
cmp edx, 0xfc
je 0x407b79
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x407ab3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call main
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00407c70
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x407af6
lea eax, [ebp - 0x1a4]
push eax
call fcn.00407c70
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x425278
push edi
call fcn.00406b70
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call main
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00407b90
lea eax, [ebp - 0xa0]
push 0x425258
push eax
call fcn.00407b90
push dword [esi + 0x42af9c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00407b90
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040ab0c
add esp, 0x2c
pop edi
jmp 0x407b79
lea eax, [ebp + 8]
lea esi, [esi + 0x42af9c]
push 0
push eax
push dword [esi]
call fcn.00407c70
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret