joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407ad0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [esi + 4]
sub esp, 0x10
push ebx
xor ebx, ebx
push edi
cmp eax, ebx
je 0x407b07
or ecx, 0xffffffff
push eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], ecx
mov word [esi + 0x1c], bx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x42136c]
push 0x41c5e8
push 0x67
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, ebx
je 0x407b3c
mov ecx, dword [0x42136c]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp eax, ebx
jne 0x407b44
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor al, al
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, dword [0x42136c]
push edi
push edx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push ebx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebp - 8]
push ebx
push ecx
push eax
call fcn.0040e540
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea edx, [ebp - 4]
push edx
push 1
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x407ba3
mov eax, dword [ebp - 4]
push eax
push esi
call fcn.004093b0
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x407bc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
je 0x407c64
mov eax, dword [0x42136c]
push esi
push 0x41c60c
push 0x69
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x407bf1
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x42136c]
push ebx
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x407c17
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, dword [0x42136c]
push esi
push edx
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
push esi
call fcn.0040d635
mov edi, eax
mov eax, dword [ebp - 4]
push esi
push eax
push edi
call fcn.0040e540
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [ecx], edi
pop edi
pop ebx
mov dword [edx], esi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8
xor al, al
mov esp, ebp
pop ebp
ret 8
Function at 0x407c70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x416538
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x420090]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, edx
push 0x41c7cc
mov ebx, 1
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], ecx
call fcn.00408250
push 0x41c7d0
mov esi, eax
call fcn.00408250
cmp esi, eax
jg 0x407cc7
mov esi, eax
cmp esi, 0xffffffff
je 0x407dbe
mov edx, dword [edi + 0x14]
cmp edx, 8
jb 0x407cdc
mov eax, dword [edi]
jmp 0x407cde
mov eax, edi
lea ecx, [eax + esi*2]
cmp edx, 8
jb 0x407cea
mov eax, dword [edi]
jmp 0x407cec
mov eax, edi
xor esi, esi
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], dx
cmp eax, ecx
je 0x407d0f
sub ecx, eax
sar ecx, 1
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00409ec0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], esi
mov ecx, dword [ebp - 0x30]
push eax
call fcn.00407e00
test al, al
sete bl
cmp dword [ebp - 0x18], 8
jb 0x407d35
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0040d343
add esp, 4
test bl, bl
jne 0x407dbe
mov ebx, dword [ebp + 0x10]
push ebx
call fcn.0040d635
mov esi, eax
add esp, 4
test esi, esi
je 0x407dbe
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x38]
push edx
push eax
lea ecx, [ebp - 0x30]
push ecx
push esi
mov dword [ebp - 0x30], ebx
call fcn.0040a750
test eax, eax
jne 0x407db5
cmp dword [ebp - 0x30], ebx
jne 0x407db5
cmp dword [edi + 0x14], 8
jb 0x407d75
mov edi, dword [edi]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
test edi, edi
je 0x407db5
push 0
lea edx, [ebp - 0x34]
push edx
push ebx
push esi
push edi
mov dword [ebp - 0x34], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
test eax, eax
jne 0x407dc2
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.0040d6c9
add esp, 4
xor al, al
jmp 0x407dd9
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.0040d6c9
xor eax, eax
add esp, 4
cmp dword [ebp - 0x34], ebx
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040d34e
mov esp, ebp
pop ebp
ret 0xc
Function at 0x407e00
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x416503
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x420090]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov eax, 0x5c
mov dword [ebp - 0x494], ecx
mov word [ebp - 0x38], ax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 4], ebx
cmp dword [edi + 0x14], 8
jb 0x407e55
mov eax, dword [edi]
jmp 0x407e57
mov eax, edi
lea esi, [ebp - 0x490]
call fcn.00408970
test eax, eax
je 0x407e99
mov eax, dword [ebp - 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x30], ebx
cmp eax, ebx
je 0x407e83
cmp eax, 0xffffffff
je 0x407e83
push eax
call esi
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ebx
cmp eax, ebx
je 0x407e92
cmp eax, 0xffffffff
je 0x407e92
push eax
call esi
mov al, 1
jmp 0x407f84
push 0x41c7cc
mov ebx, 1
call fcn.00408250
push 0x41c7d0
mov esi, eax
call fcn.00408250
cmp esi, eax
jg 0x407eba
mov esi, eax
cmp esi, 0xffffffff
je 0x407f68
mov edx, dword [edi + 0x14]
cmp edx, 8
jb 0x407ecf
mov eax, dword [edi]
jmp 0x407ed1
mov eax, edi
lea ecx, [eax + esi*2]
cmp edx, 8
jb 0x407edd
mov eax, dword [edi]
jmp 0x407edf
mov eax, edi
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], dx
cmp eax, ecx
je 0x407f04
sub ecx, eax
sar ecx, 1
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00409ec0
mov ecx, dword [ebp - 0x494]
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], bl
call fcn.00407e00
test al, al
mov esi, 8
sete bl
cmp dword [ebp - 0x18], esi
jb 0x407f31
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0040d343
add esp, 4
test bl, bl
je 0x407f53
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], 0
test eax, eax
je 0x407f4f
cmp eax, 0xffffffff
je 0x407f4f
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
jmp 0x407f84
cmp dword [edi + 0x14], esi
jb 0x407f5a
mov edi, dword [edi]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], 0
test eax, eax
je 0x407f82
cmp eax, 0xffffffff
je 0x407f82
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040d34e
mov esp, ebp
pop ebp
ret 4
Function at 0x407ff0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, ecx
push edi
mov edi, eax
test ebx, ebx
je 0x408007
add ebx, 0xffffffe0
mov dword [ebp - 4], ebx
jmp 0x408011
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 4]
cmp dword [ebp + 0xc], 0
je 0x40808a
mov eax, dword [ebp + 8]
mov ecx, dword [ebx + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push edi
mov esi, eax
mov dword [ebp + 0xc], 0xffffffff
call fcn.00401a90
test eax, eax
je 0x40807e
mov edx, dword [edi]
mov dword [edx - 8], esi
mov eax, dword [edi]
xor ecx, ecx
mov word [eax + esi*2], cx
mov eax, dword [edi]
test eax, eax
je 0x40807e
lea edx, [esi + 1]
push edx
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov dword [ebp + 0xc], eax
call fcn.00401bb0
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [edi]
mov dword [ecx - 8], eax
mov edx, dword [edi]
xor ecx, ecx
mov word [edx + eax*2], cx
cmp dword [ebp + 0xc], esi
jge 0x4080d5
mov ebx, dword [ebp - 4]
xor esi, esi
jmp 0x4080a1
mov edi, dword [edi]
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 4]
push edi
push edx
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov esi, eax
test esi, esi
jne 0x4080ca
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
add ebx, 0x20
je 0x4080b3
lea eax, [ebx - 0x20]
jmp 0x4080b5
xor eax, eax
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 4]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0x10], 0
je 0x40811c
mov eax, dword [edi]
mov ecx, dword [eax - 8]
cmp ecx, dword [ebp + 0x14]
jle 0x40811c
mov esi, dword [ebp - 4]
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
add esi, 0x20
je 0x4080fa
lea eax, [esi - 0x20]
jmp 0x4080fc
xor eax, eax
mov edx, dword [ebp + 8]
mov eax, dword [eax + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40a4c3
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x421360], 0
push esi
push edi
jne 0x40a439
call fcn.0040a3a5
test eax, eax
je 0x40a47e
mov eax, dword [0x421360]
cmp eax, 1
jne 0x40a45a
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x40a47e
jmp 0x40a4c0
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x40a4c0
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x40a482
xor eax, eax
jmp 0x40a4c0
mov eax, dword [esi]
push dword [0x421360]
call edi
mov edi, eax
test edi, edi
je 0x40a4a4
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x40a4c0
lea edi, [esi + 0xff0]
push esi
push dword [0x421360]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x40a4aa
mov eax, esi
pop edi
pop esi
ret
jmp 0x40a425
Function at 0x40d34e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x420090]
jne 0x40d358
repz ret
jmp fcn.0040e95a

Function at 0x41293c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x420090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00411055
and dword [ebp - 0x14], 0
cmp dword [0x4220c0], 0
mov dword [ebp - 0x18], eax
jne 0x4129ef
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x412a97
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x412a97
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4220c0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4220c4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4220c8], eax
call edi
push eax
call esi
mov dword [0x4220d0], eax
test eax, eax
je 0x4129ef
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4220cc], eax
mov eax, dword [0x4220cc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x412a48
cmp dword [0x4220d0], ecx
je 0x412a48
push eax
call esi
push dword [0x4220d0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x412a48
test ebx, ebx
je 0x412a48
call edi
test eax, eax
je 0x412a3f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x412a3f
test byte [ebp - 8], 1
jne 0x412a48
or dword [ebp + 0x10], 0x200000
jmp 0x412a7b
mov eax, dword [0x4220c4]
cmp eax, dword [ebp - 0x18]
je 0x412a7b
push eax
call esi
test eax, eax
je 0x412a7b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x412a7b
mov eax, dword [0x4220c8]
cmp eax, dword [ebp - 0x18]
je 0x412a7b
push eax
call esi
test eax, eax
je 0x412a7b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4220c0]
call esi
test eax, eax
je 0x412a97
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x412a99
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040d34e
leave
ret
Function at 0x413ee0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48eeab
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.004831c5
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x413f62
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004810d7
mov eax, dword [eax]
push 0x585c78
push eax
call fcn.00473dd4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00483450
test bl, bl
je 0x413f62
push 0x585c78
lea ecx, [esp + 0xc]
call fcn.004837e0
push 0x585c84
lea ecx, [esp + 0xc]
call fcn.004837e0
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 0x413f9e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00483450
jmp 0x414069
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 0x414022
lea edx, [esp + 0x7c]
push 0x585c80
push edx
call fcn.00473dd4
add esp, 8
test eax, eax
je 0x414022
lea eax, [esp + 0x7c]
push 0x585c7c
push eax
call fcn.00473dd4
add esp, 8
test eax, eax
je 0x414022
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 0x413fb2
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.00483450
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 0x414890
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 0x4148f2
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 0x414900
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48ef2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x591378]
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 0x414a38
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x414966
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00483450
xor eax, eax
jmp 0x414aaf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0048358d
push esi
lea ecx, [esp + 0xc]
call fcn.0048381c
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 0x414a8d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.00414890
test eax, eax
jne 0x414a8d
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 SysReAllocString
mov ecx, edi
call fcn.00414890
test eax, eax
jne 0x414a8d
lea eax, [esp + 0x14]
push 0x585c94
push eax
call fcn.00474f20
mov esi, eax
add esp, 8
test esi, esi
jne 0x414a6c
lea ecx, [esp + 0x14]
push 0x585c90
push ecx
call fcn.00474ea0
mov esi, eax
add esp, 8
test esi, esi
jne 0x414a6c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x414a6f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0048353d
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41497e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00483450
xor eax, eax
jmp 0x414aaf
mov byte [esi], 0
push 0x585c8c
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.00483450
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 0x418d9a
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x48f488
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.00484a2b
xor ebp, ebp
mov dword [esi], 0x56fc24
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], fcn.00446160
call fcn.0040daa0
lea ecx, [edi + 0x30]
mov byte [esp + 0x38], 1
call fcn.0048264b
lea ebx, [edi + 0x44]
mov ecx, ebx
call fcn.0040daa0
mov dword [ebx], 0x56f98c
mov dword [edi], 0x56fb3c
mov dword [esi + 0xa0], ebp
mov dword [esi + 0x9c], 0x56f4b0
lea ecx, [esi + 0xb0]
call fcn.0040daa0
lea edi, [esi + 0xc8]
mov dword [edi + 4], ebp
mov dword [edi], 0x56fc18
mov byte [esp + 0x38], 5
mov dword [esi], 0x56fb44
mov dword [esi + 0xac], ebp
call fcn.0048d08c
mov eax, dword [eax + 0xc]
push 0x40e
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.0048a0c1
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 0x418f30
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x48f515
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], 0x56fb44
mov dword [esp + 0x18], 0
lea ecx, [esi + 0xc8]
mov dword [esp + 0xc], ecx
mov dword [ecx], method.CGdiObject.virtual_0
mov byte [esp + 0x18], 4
call fcn.0048a118
lea ecx, [esi + 0xb0]
mov byte [esp + 0x18], 2
mov dword [ecx], 0x56f498
call fcn.0040dca0
lea ecx, [esi + 0x9c]
mov dword [esp + 0xc], ecx
mov dword [ecx], method.CGdiObject.virtual_0
mov byte [esp + 0x18], 5
call fcn.0048a118
lea edi, [esi + 0x44]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x56f498
call fcn.0040dca0
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 6
call fcn.0048267e
lea ecx, [edi + 0x18]
mov byte [esp + 0x18], 0
mov dword [ecx], 0x56f498
call fcn.0040dca0
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.0048b514
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x428bb0
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 0x428c1e
cmp si, 0x69
ja 0x428c1e
add esi, 0xffd0
cmp si, 0x11
je 0x428bee
push 0x11
call edi
test ax, ax
jge 0x428bee
or esi, 0x2000
cmp si, 0x10
je 0x428c03
push 0x10
call edi
test ax, ax
jge 0x428c03
or esi, 0x4000
cmp si, 0x12
je 0x428c18
push 0x12
call edi
test ax, ax
jge 0x428c18
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x428c2b
mov esi, 0xbd
jmp 0x428bdf
cmp si, 0x6e
jne 0x428c38
mov esi, 0xbe
jmp 0x428bdf
cmp si, 0x6f
jne 0x428bd9
mov esi, 0xbf
jmp 0x428bdf

Function at 0x42a4f0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5a1b18]
xor edx, edx
cmp eax, edx
jne 0x42a516
xor eax, eax
mov byte [eax + 0x5a1a18], al
inc eax
cmp eax, 0x100
jl 0x42a4fe
mov dword [0x5a1b18], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5a1a18
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x42a5a7
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 0x42a57a
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 0x42a548
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x42a620
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 0x42a673
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 0x42a65a
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