joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49f154
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.0049f148
mov dword [esi + 0x44], edi
mov eax, esi
call fcn.0049f2dc
call sub.kernel32.dll_GetLastError_1
cmp eax, 2
je 0x49f1c3
call sub.kernel32.dll_GetLastError_1
cmp eax, 3
jne 0x49f1dd
mov eax, esi
call fcn.0049f148
xor eax, eax
mov dword [esi + 0x44], eax
xor eax, eax
mov dword [esi + 0x70], eax
mov eax, esi
call fcn.0049f2dc
jmp 0x49f252
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.0049f148
mov dword [esi + 0x70], ebx
mov eax, esi
call fcn.0049f2dc
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 0x4a00e4
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 0x4a04d0
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 0x4a0747
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x3f4]
mov eax, 0x4a075c
call fcn.004a0338
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 0x4a0708
xor eax, eax
push ebp
push 0x4a0701
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, 0x4a079c
call fcn.004a0338
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 0x4a05d3
push ebp
mov eax, 0x4a07c8
call fcn.004a0428
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, 0x4a07d4
call fcn.004a0338
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 0x4a065d
push dword [ebp - 0x3f0]
push 0x4a07fc
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, 0x4a0808
call fcn.004a0338
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 0x4a06e7
push dword [ebp - 0x3f0]
push 0x4a07fc
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 0x4a0708
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 0x4a074e
lea eax, [ebp - 0x418]
mov edx, 5
call fcn.004052ac
lea eax, [ebp - 0x3f4]
mov edx, 2
call fcn.004052ac
ret
Function at 0x4a67d4
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 0x4a690f
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4a68df
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 0x4a684f
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 [0x53ceb0]
push 0x4a6928
push dword [0x53ceb4]
push 0x4a6928
push dword [0x53ceb8]
lea eax, [ebp - 0x1d8]
mov edx, 5
call fcn.0040561c
mov eax, dword [ebp - 0x1d8]
lea edx, [ebp - 0x1d4]
call fcn.004acc8c
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 0x4a68e9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a6916
lea eax, [ebp - 0x1d8]
mov edx, 2
call fcn.004052ac
lea eax, [ebp - 4]
call fcn.00405288
ret
Function at 0x4a77d8
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 0x4a7940
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.0049f7c4
mov esi, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, esi
call fcn.0049f7e4
mov ebx, eax
jmp 0x4a7912
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 0x4a78f2
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 0x4a7907
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.0049f804
mov ebx, eax
test ebx, ebx
jne 0x4a7853
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a7947
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.004052ac
lea eax, [ebp - 4]
call fcn.00405288
ret
Function at 0x4a7cbb
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 0x4a7d15
mov eax, ebx
add eax, dword [eax + 0x3c]
mov edi, dword [eax + 0x78]
add edi, ebx
xor esi, esi
jmp 0x4a7d10
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 0x4a7d0f
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 0x4a7cdc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4aa27c
Capabilities:
Log keystrokes via application hook

Disassembly:
xor eax, eax
mov dword [0x53d04c], eax
push 0x4aa2bc
call sub.user32.dll_RegisterWindowMessageA
mov dword [0x53d04c], eax
mov eax, dword [0x53756c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [0x53d050], eax
push 0
mov eax, dword [0x53a7f8]
push eax
push 0x4aa234
push 0xd
call sub.user32.dll_SetWindowsHookExA
mov dword [0x53d054], eax
ret

Function at 0x4aa57c
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 0x4aa656
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov ecx, 0x4aa66c
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.0x4aa5c6.0
jmp dword [eax*4 + 0x4aa5cd]
mov eax, ebx
mov edx, 0x4aa678
call fcn.004052dc
jmp 0x4aa63b
mov eax, ebx
mov edx, 0x4aa68c
call fcn.004052dc
jmp 0x4aa63b
mov eax, ebx
mov edx, 0x4aa69c
call fcn.004052dc
jmp 0x4aa63b
mov eax, ebx
mov edx, 0x4aa6b0
call fcn.004052dc
jmp 0x4aa63b
mov eax, ebx
mov edx, 0x4aa6c0
call fcn.004052dc
jmp 0x4aa63b
mov eax, ebx
mov edx, 0x4aa6d4
call fcn.004052dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aa65d
lea eax, [ebp - 8]
mov edx, 2
call fcn.004052ac
ret
Function at 0x498430
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x62000]
push edi
jmp 0x49844a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x498451
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x498440
mov eax, 1
add ebx, ebx
jne 0x498463
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x498474
jne 0x498493
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x498493
dec eax
add ebx, ebx
jne 0x498480
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x498458
add ebx, ebx
jne 0x49848f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4984e5
xor ecx, ecx
sub eax, 3
jb 0x4984ab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x49851a
sar eax, 1
mov ebp, eax
jmp 0x4984b6
add ebx, ebx
jne 0x4984b6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x498484
inc ecx
add ebx, ebx
jne 0x4984c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x498484
add ebx, ebx
jne 0x4984d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4984c6
jne 0x4984e2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4984c6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x498504
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4984f6
jmp 0x498446
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x498504
add edi, ecx
jmp 0x498446
pop esi
mov edi, esi
mov ecx, 0x2f9c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x498522
cmp byte [edi], 0x1a
jne 0x498522
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 al, bl
loop 0x498527
lea edi, [esi + 0x95000]
mov eax, dword [edi]
or eax, eax
je 0x49859f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa0074]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa018c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x498554
mov ecx, edi
jns 0x498583
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 + 0xa0190]
or eax, eax
je 0x498599
mov dword [ebx], eax
add ebx, 4
jmp 0x498571
call dword [esi + 0xa01a0]
mov ebp, dword [esi + 0xa0194]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4985d3
sub esp, 0xffffff80
jmp 0x450d6d
Function at 0x40ad10
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47404b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00468046
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40ad92
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00465c2d
mov eax, dword [eax]
push 0x55e1d0
push eax
call fcn.004580c4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004682d1
test bl, bl
je 0x40ad92
push 0x55e1d0
lea ecx, [esp + 0xc]
call fcn.00468661
push 0x561d44
lea ecx, [esp + 0xc]
call fcn.00468661
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40adce
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004682d1
jmp 0x40ae99
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40ae52
lea edx, [esp + 0x7c]
push 0x561d40
push edx
call fcn.004580c4
add esp, 8
test eax, eax
je 0x40ae52
lea eax, [esp + 0x7c]
push 0x561d3c
push eax
call fcn.004580c4
add esp, 8
test eax, eax
je 0x40ae52
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40ade2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004682d1
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40b6b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40b712
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x40b720
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4740cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x568708]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x40b858
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40b786
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004682d1
xor eax, eax
jmp 0x40b8cf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0046840e
push esi
lea ecx, [esp + 0xc]
call fcn.0046869d
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40b8ad
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push 0x80000000
call fcn.0040b6b0
test eax, eax
jne 0x40b8ad
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push 0x80000000
mov ecx, edi
call fcn.0040b6b0
test eax, eax
jne 0x40b8ad
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.00459100
mov esi, eax
add esp, 8
test esi, esi
jne 0x40b88c
lea ecx, [esp + 0x14]
push 0x561d54
push ecx
call fcn.00459080
mov esi, eax
add esp, 8
test esi, esi
jne 0x40b88c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40b88f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004683be
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40b79e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004682d1
xor eax, eax
jmp 0x40b8cf
mov byte [esi], 0
push 0x561d50
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004682d1
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x41293a
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x474a28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.00469880
xor ebp, ebp
mov dword [esi], 0x54e600
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
lea edi, [esi + 0x44]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x14], edi
lea ecx, [edi + 0x18]
mov dword [edi], 0x54dbc0
call fcn.00402880
lea ecx, [edi + 0x30]
mov byte [esp + 0x38], 1
call fcn.0046734b
lea ebx, [edi + 0x44]
mov ecx, ebx
call fcn.00402880
mov dword [ebx], 0x54c384
mov dword [edi], 0x54e524
mov dword [esi + 0xa0], ebp
mov dword [esi + 0x9c], 0x54dd40
lea ecx, [esi + 0xb0]
call fcn.00402880
lea edi, [esi + 0xc8]
mov dword [edi + 4], ebp
mov dword [edi], vtable.CBitmap.0
mov byte [esp + 0x38], 5
mov dword [esi], 0x54e52c
mov dword [esi + 0xac], ebp
call fcn.00472045
mov eax, dword [eax + 0xc]
push 0x40e
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.0046ef1e
mov ecx, dword [esi + 0xcc]
lea eax, [esp + 0x18]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x1c]
mov eax, 0x55555556
imul ecx
mov ecx, dword [esp + 0x20]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esi + 0xd4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0xd0], edx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x412af0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x474ab5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x54e52c
mov dword [esp + 0x18], 0
lea ecx, [esi + 0xc8]
mov dword [esp + 0xc], ecx
mov dword [ecx], vtable.CGdiObject.0
mov byte [esp + 0x18], 4
call fcn.0046ef75
lea ecx, [esi + 0xb0]
mov byte [esp + 0x18], 2
mov dword [ecx], 0x54c380
call fcn.00402a80
lea ecx, [esi + 0x9c]
mov dword [esp + 0xc], ecx
mov dword [ecx], vtable.CGdiObject.0
mov byte [esp + 0x18], 5
call fcn.0046ef75
lea edi, [esi + 0x44]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x54c380
call fcn.00402a80
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 6
call fcn.0046737e
lea ecx, [edi + 0x18]
mov byte [esp + 0x18], 0
mov dword [ecx], 0x54c380
call fcn.00402a80
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.00470371
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4224a0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x42250e
cmp si, 0x69
ja 0x42250e
add esi, 0xffd0
cmp si, 0x11
je 0x4224de
push 0x11
call edi
test ax, ax
jge 0x4224de
or esi, 0x2000
cmp si, 0x10
je 0x4224f3
push 0x10
call edi
test ax, ax
jge 0x4224f3
or esi, 0x4000
cmp si, 0x12
je 0x422508
push 0x12
call edi
test ax, ax
jge 0x422508
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42251b
mov esi, 0xbd
jmp 0x4224cf
cmp si, 0x6e
jne 0x422528
mov esi, 0xbe
jmp 0x4224cf
cmp si, 0x6f
jne 0x4224c9
mov esi, 0xbf
jmp 0x4224cf

Function at 0x423bc0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x578e38]
xor edx, edx
cmp eax, edx
jne 0x423be6
xor eax, eax
mov byte [eax + 0x578d38], al
inc eax
cmp eax, 0x100
jl 0x423bce
mov dword [0x578e38], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x578d38
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x423c77
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x423c4a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x423c18
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x423cf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x423d43
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x423d2a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret