joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4023e0
Capabilities:
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x405e06
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push ebp
push esi
lea eax, [esp + 0x114]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTempPathA]
push eax
mov esi, ecx
push 0x104
call edi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x118]
lea edx, [esp + 0xc]
push ecx
push str._sInstallerIni.ini
push edx
mov dword [esp + 0x230], 0
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x18]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0xc
push eax
call ebp
push str.http:__baike.360.cn_index.php_cclientagetpidinfopid
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x53c]
mov byte [esp + 0x224], 1
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push edx
push eax
call fcn.00402360
add esp, 8
test al, al
je 0x4024a7
mov ecx, dword [esp + 0xc]
push ebx
push ecx
mov ecx, esi
call fcn.004020a0
mov edx, dword [esp + 0x10]
mov bl, al
push edx
call ebp
test bl, bl
pop ebx
jne 0x4024d0
lea ecx, [esp + 0x10]
mov byte [esp + 0x224], 0
call fcn.004056c4
lea ecx, [esp + 0xc]
mov dword [esp + 0x224], 0xffffffff
call fcn.004056c4
xor al, al
jmp 0x402533
lea eax, [esp + 0x14]
push eax
push 0x104
call edi
mov esi, dword [esi + 0x330]
lea ecx, [esp + 0x14]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push ecx
call esi
lea edx, [esp + 0x14]
push str..exe
push edx
call esi
lea eax, [esp + 0x14]
push eax
push 0x40a534
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x10]
mov byte [esp + 0x224], 0
call fcn.004056c4
lea ecx, [esp + 0xc]
mov dword [esp + 0x224], 0xffffffff
call fcn.004056c4
mov al, 1
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x21c
ret
Function at 0x4028b0
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x405fd7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
mov ebp, dword [esp + 0x40]
push esi
lea eax, [esp + 0xc]
push edi
xor ebx, ebx
push eax
push ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
cmp edi, ebx
jg 0x402902
mov esi, dword [esp + 0x44]
push 0x40a934
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov eax, esi
jmp 0x402a15
push edi
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
cmp esi, ebx
mov dword [esp + 0x24], esi
setne bl
mov byte [esp + 0x20], bl
push esi
push edi
push 0
push ebp
mov dword [esp + 0x4c], 1
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x40294d
mov edi, dword [esp + 0x44]
push 0x40a934
mov ecx, edi
call sub.MFC42.DLL_CString::CString_1
test bl, bl
je 0x402a13
jmp 0x402a0a
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push edx
push 0x40a22c
push esi
mov dword [esp + 0x24], 0
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x10]
mov dx, word [eax + 0x10]
shr ecx, 0x10
mov word [esp + 0x28], cx
mov ecx, dword [eax + 0x14]
shr ecx, 0x10
mov word [esp + 0x2a], dx
mov dx, word [eax + 0x14]
mov word [esp + 0x2c], cx
lea ecx, [esp + 0x48]
mov word [esp + 0x2e], dx
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x2e]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x2a]
and eax, 0xffff
push eax
mov eax, dword [esp + 0x2c]
and ecx, 0xffff
and edx, 0xffff
push ecx
and eax, 0xffff
push edx
push eax
lea ecx, [esp + 0x58]
push str._d._d._d._d
push ecx
mov byte [esp + 0x54], 2
call sub.MFC42.DLL_CString::Format
mov edi, dword [esp + 0x5c]
add esp, 0x18
lea edx, [esp + 0x48]
mov ecx, edi
push edx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x48]
mov dword [esp + 0x1c], 1
mov byte [esp + 0x3c], 1
call fcn.004056c4
test bl, bl
je 0x402a13
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 8
Function at 0x402a30
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x406006
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x18], ecx
lea eax, [esp + 0x14]
xor ebx, ebx
push eax
push 0xf003f
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push 0x80000002
mov dword [esp + 0x144], ebx
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x402b46
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x25]
mov byte [esp + 0x24], bl
rep stosd dword es:[edi], eax
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x20]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edx, [esp + 0x24]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
push ebx
push ebx
push esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], 0x104
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x402ad6
push esi
call edi
xor esi, esi
mov dword [esp + 0x1c], esi
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x24]
push ecx
call ebp
test eax, eax
je 0x402b3f
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x24]
lea eax, [esp + 0x10]
push edx
push eax
call fcn.004028b0
mov ecx, dword [esp + 0x10]
push ecx
call ebp
test eax, eax
jne 0x402b12
mov byte [esp + 0x130], bl
lea ecx, [esp + 0x10]
jmp 0x402b3a
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x324]
push eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
mov byte [esp + 0x130], bl
test eax, eax
lea ecx, [esp + 0x10]
jge 0x402b4a
call fcn.004056c4
cmp esi, ebx
je 0x402b46
push esi
call edi
mov al, 1
jmp 0x402b58
call fcn.004056c4
cmp esi, ebx
je 0x402b56
push esi
call edi
xor al, al
mov ecx, dword [esp + 0x128]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x124
ret
Function at 0x403340
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x406096
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push ebx
push ebp
push esi
mov ebp, ecx
push edi
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x1c]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor esi, esi
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x128], ebx
push ecx
push 0xf003f
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x4033c0
mov esi, dword [esp + 0x14]
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp + 0x53c]
lea eax, [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x18]
push str.__s____s_
push ecx
mov byte [esp + 0x138], 1
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x20]
add esp, 0x10
mov edi, eax
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push edi
push 1
push ebx
push str.360Install
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x403421
push esi
call edi
xor esi, esi
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x128], bl
call fcn.004056c4
cmp esi, ebx
je 0x403438
push esi
call edi
mov ecx, dword [esp + 0x120]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x11c
ret

Function at 0x403460
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ecx
lea eax, [esp]
push esi
xor esi, esi
push eax
push 0xf003f
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
mov dword [esp + 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40348b
mov esi, dword [esp + 4]
push str.360Install
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test esi, esi
je 0x4034a2
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop esi
pop ecx
ret
Function at 0x4037c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4060ff
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
xor ebx, ebx
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], ebx
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x30]
mov edi, 1
cmp eax, 0x400
mov dword [esp + 0x24], edi
jae 0x403827
push eax
lea eax, [esp + 0x10]
push 0x40a374
push eax
call sub.MFC42.DLL_CString::Format
mov esi, dword [esp + 0x38]
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x10], edi
jmp 0x40388b
jbe 0x40384d
cmp eax, 0x100000
jae 0x40384d
shr eax, 0xa
push eax
lea edx, [esp + 0x10]
push 0x40a370
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0xc]
push eax
jmp 0x40387c
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
fild qword [esp + 0x14]
sub esp, 8
lea ecx, [esp + 0x14]
fmul dword [0x407b9c]
fstp qword [esp]
push str._.2fM
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea edx, [esp + 0xc]
push edx
mov esi, dword [esp + 0x30]
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x10], edi
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], bl
call fcn.004056c4
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 8

Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret
Function at 0xfe30b0
Capabilities:
Decompress data using aplib

Disassembly:
call 0xfe3200
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xfe30d6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xfe30c2
add dl, dl
jne 0xfe30e1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xfe3134
xor eax, eax
add dl, dl
jne 0xfe30ee
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xfe31d5
add dl, dl
jne 0xfe30fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfe3108
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfe3113
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfe311e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xfe312a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xfe30cd
mov eax, 1
add dl, dl
jne 0xfe3142
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfe314d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xfe3139
sub eax, ebx
mov ebx, 1
jne 0xfe3180
mov ecx, 1
add dl, dl
jne 0xfe3166
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xfe3171
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xfe315d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xfe30cd
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xfe3197
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xfe31a2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xfe318e
cmp eax, 0x7d00
jae 0xfe31c5
cmp eax, 0x500
jb 0xfe31c0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xfe30cd
cmp eax, 0x7f
ja 0xfe31c8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xfe30cd
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xfe31f6
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xfe30cd
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x40cab0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46ce9b
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.004618e6
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40cb32
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045f7fd
mov eax, dword [eax]
push 0x4e01c0
push eax
call fcn.00452664
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00461b71
test bl, bl
je 0x40cb32
push 0x4e01c0
lea ecx, [esp + 0xc]
call fcn.00461f01
push 0x4e3d34
lea ecx, [esp + 0xc]
call fcn.00461f01
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 0x40cb6e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00461b71
jmp 0x40cc39
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 0x40cbf2
lea edx, [esp + 0x7c]
push 0x4e3d30
push edx
call fcn.00452664
add esp, 8
test eax, eax
je 0x40cbf2
lea eax, [esp + 0x7c]
push 0x4e3d2c
push eax
call fcn.00452664
add esp, 8
test eax, eax
je 0x40cbf2
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 0x40cb82
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.00461b71
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 0x40d430
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 0x40d492
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 0x40d4a0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46cf1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4ea5f0]
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 0x40d5d8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40d506
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00461b71
xor eax, eax
jmp 0x40d64f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00461cae
push esi
lea ecx, [esp + 0xc]
call fcn.00461f3d
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 0x40d62d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0040d430
test eax, eax
jne 0x40d62d
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 closesocket
mov ecx, edi
call fcn.0040d430
test eax, eax
jne 0x40d62d
lea eax, [esp + 0x14]
push 0x4e3d48
push eax
call fcn.004536a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40d60c
lea ecx, [esp + 0x14]
push 0x4e3d44
push ecx
call fcn.00453620
mov esi, eax
add esp, 8
test esi, esi
jne 0x40d60c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40d60f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00461c5e
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40d51e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00461b71
xor eax, eax
jmp 0x40d64f
mov byte [esi], 0
push 0x4e3d40
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.00461b71
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 0x41e9a0
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 0x41ea0e
cmp si, 0x69
ja 0x41ea0e
add esi, 0xffd0
cmp si, 0x11
je 0x41e9de
push 0x11
call edi
test ax, ax
jge 0x41e9de
or esi, 0x2000
cmp si, 0x10
je 0x41e9f3
push 0x10
call edi
test ax, ax
jge 0x41e9f3
or esi, 0x4000
cmp si, 0x12
je 0x41ea08
push 0x12
call edi
test ax, ax
jge 0x41ea08
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41ea1b
mov esi, 0xbd
jmp 0x41e9cf
cmp si, 0x6e
jne 0x41ea28
mov esi, 0xbe
jmp 0x41e9cf
cmp si, 0x6f
jne 0x41e9c9
mov esi, 0xbf
jmp 0x41e9cf

Function at 0x4200c0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4fac48]
xor edx, edx
cmp eax, edx
jne 0x4200e6
xor eax, eax
mov byte [eax + 0x4fab48], al
inc eax
cmp eax, 0x100
jl 0x4200ce
mov dword [0x4fac48], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4fab48
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x420177
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 0x42014a
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 0x420118
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4201f0
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 0x420243
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 0x42022a
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
Function at 0x426c80
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x426e18
cmp ebp, ebx
jle 0x426e18
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x426cde
dec eax
or eax, 0xfffffff8
inc eax
je 0x426ce5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x426cf4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x426cfb
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.004618b2
add esp, 4
cmp eax, ebx
je 0x426d1c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.004618b2
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x426e0e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x426df5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x426de1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x426dd6
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x426de4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x426de4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x426d80
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x426d71
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret