joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45d570
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48b989
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4b3014]
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 esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x20], 0
push eax
push str.iexplore.exe
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
mov dword [esi], 0
call fcn.0040f790
mov ecx, eax
test ecx, ecx
jne 0x45d5f2
push 0x80004005
call fcn.00420010
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 1
test ebx, ebx
je 0x45d681
push ebx
call fcn.0045f476
add esp, 4
mov edi, eax
push edi
push ebx
push dword [ebp - 0x14]
push str.iexplore.exe
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x45d678
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x49a36c
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x45d678
cmp dword [ebp - 0x18], 0
je 0x45d678
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx], 0xfeef04bd
jne 0x45d678
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
push esi
call fcn.00430100
add esp, 0x18
push edi
call fcn.0045f430
add esp, 4
mov eax, esi
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.0045f41f
mov esp, ebp
pop ebp
ret
Function at 0x45dd90
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ba60
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4b3014]
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, ecx
mov dword [ebp - 0x24], edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0
call fcn.0045dbc0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jne 0x45de1d
push 0x4a2210
mov ecx, edi
call fcn.0042dad0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45df1f
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x45df1f
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push ecx
push eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
push 0x4a2210
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov esi, eax
call fcn.0042dad0
mov byte [ebp - 4], 1
test esi, esi
je 0x45decf
push esi
call fcn.0045f476
add esp, 4
mov ebx, eax
push ebx
push esi
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x45dec6
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x49a36c
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x45dec6
cmp dword [ebp - 0x20], 0
je 0x45dec6
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0xfeef04bd
jne 0x45dec6
movzx esi, word [eax + 0xa]
movzx edx, word [eax + 8]
movzx ecx, word [eax + 0xe]
movzx eax, word [eax + 0xc]
push eax
push ecx
push edx
push esi
lea eax, [ebp - 0x18]
push str._d._d._d._d
push eax
call fcn.00430100
add esp, 0x18
push ebx
call fcn.0045f430
add esp, 4
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.0042f1b0
add eax, 0x10
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x18]
or esi, 0xffffffff
mov dword [edi], eax
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45df00
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x45df1f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
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.0045f41f
mov esp, ebp
pop ebp
ret
Function at 0x45e650
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ba60
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4b3014]
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, ecx
mov dword [ebp - 0x24], edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0
call fcn.0045e480
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jne 0x45e6dd
push 0x4a2210
mov ecx, edi
call fcn.0042dad0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45e7df
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x45e7df
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push ecx
push eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
push 0x4a2210
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov esi, eax
call fcn.0042dad0
mov byte [ebp - 4], 1
test esi, esi
je 0x45e78f
push esi
call fcn.0045f476
add esp, 4
mov ebx, eax
push ebx
push esi
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x45e786
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x49a36c
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x45e786
cmp dword [ebp - 0x20], 0
je 0x45e786
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0xfeef04bd
jne 0x45e786
movzx esi, word [eax + 0xa]
movzx edx, word [eax + 8]
movzx ecx, word [eax + 0xe]
movzx eax, word [eax + 0xc]
push eax
push ecx
push edx
push esi
lea eax, [ebp - 0x18]
push str._d._d._d._d
push eax
call fcn.00430100
add esp, 0x18
push ebx
call fcn.0045f430
add esp, 4
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.0042f1b0
add eax, 0x10
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x18]
or esi, 0xffffffff
mov dword [edi], eax
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45e7c0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x45e7df
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
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.0045f41f
mov esp, ebp
pop ebp
ret
Function at 0x45e950
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48adb8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4b3014]
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 esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], 0
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, eax
shr eax, 8
movzx eax, al
movzx ebx, cl
mov dword [ebp - 0x18], eax
cmp ecx, 0x80000000
jae 0x45e9aa
mov edi, ecx
shr edi, 0x10
cmp ebx, 6
jb 0x45e9bd
cmp eax, 2
jb 0x45e9bd
mov ecx, esi
call fcn.0045ec90
jmp 0x45ea28
call fcn.0040f790
mov ecx, eax
test ecx, ecx
jne 0x45e9d2
push 0x80004005
call fcn.00420010
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push edi
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push ebx
push str._d._d___d_
push eax
call fcn.00430100
mov edi, dword [ebp - 0x14]
add esp, 0x14
add edi, 0xfffffff0
mov ecx, edi
call fcn.0042f1b0
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
mov dword [esi], eax
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x45ea28
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
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.0045f41f
mov esp, ebp
pop ebp
ret

Function at 0x478c3c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00478abb

Function at 0x47a718
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0047a3d8
Function at 0x41da90
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4ca09c]
xor eax, esp
mov dword [esp + 0x208], eax
mov eax, dword [esp + 0x214]
push ebx
mov ebx, dword [esp + 0x214]
push ebp
mov ebp, dword [esp + 0x220]
push esi
push edi
push ebp
push ebx
mov esi, ecx
push str.bInitDriver__s___d__n
push esi
mov dword [esp + 0x24], eax
call fcn.00495a80
add esp, 0x10
lea edi, [esi + 4]
push edi
push 0x200
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push edi
push str.GetCurrentDirectory___s_n
push esi
call fcn.00495a80
add esp, 0xc
push 0x200
lea ecx, [esp + 0x1c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x18]
push edx
push str.GetModuleFileName___s_n
push esi
call fcn.00495a80
mov eax, dword [esi + 0x960]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x4a1be4
push 0
push 0
mov dword [esi + 0x960], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push eax
push str.m_hDriverMutex___X
push esi
mov dword [esi + 0x960], eax
call fcn.00495a80
add esp, 0xc
cmp dword [esi + 0x960], 0
jne 0x41db6f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.__err_d
push esi
call fcn.00495a80
add esp, 0xc
push 0x4a0854
push esi
call fcn.00495a80
add esp, 8
test ebx, ebx
mov dword [esi + 0x20c], ebp
lea edi, [esi + 0x410]
je 0x41db9e
push ebx
push 0x200
push edi
call fcn.00481ba5
add esp, 0xc
jmp 0x41dbaa
push edi
push 0x200
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push edi
push str.m_szPath___s_n
push esi
call fcn.00495a80
push 0x4a1be4
lea edi, [esi + 0x810]
push 0x100
push edi
call fcn.00481ba5
add esp, 0x18
mov ecx, esi
call fcn.0041d810
mov eax, dword [esi + 0x950]
sub eax, 1
je 0x41dc68
sub eax, 1
je 0x41dbf9
mov dword [esp + 0x10], 0x5002
xor edi, edi
jmp 0x41dca8
push str.cpuz129
lea ecx, [esi + 0x910]
push 0x40
push ecx
call fcn.00481ba5
add esp, 0xc
cmp dword [esi + 0x954], 0
je 0x41dc1f
push str.cpuz_x64.sys
jmp 0x41dc34
cmp dword [esi + 0x958], 0
je 0x41dc2f
push str.cpuz_ia64.sys
jmp 0x41dc34
push str.cpuz_x32.sys
push 0x100
push edi
call fcn.00481ba5
add esp, 0xc
push edi
push str.m_szFilename___s_n
push esi
call fcn.00495a80
add esp, 0xc
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.0041d990
mov ecx, esi
mov edi, eax
call fcn.0041da30
jmp 0x41dca8
push str.cpuz.vxd
push 0x100
push edi
call fcn.00481ba5
push 0x4a1be4
lea eax, [esi + 0x910]
push 0x40
push eax
call fcn.00481ba5
push edi
push str.m_szFilename___s_n
push esi
call fcn.00495a80
add esp, 0x24
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.0041dfd0
mov edi, eax
mov edx, dword [esp + 0x10]
push edx
push str.bInitDriver_returned__d_n
push esi
call fcn.00495a80
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
add esp, 0xc
test edi, edi
mov dword [ecx], eax
jne 0x41dcd2
push 1
mov ecx, esi
call fcn.0041d920
mov ecx, dword [esp + 0x218]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004811b7
add esp, 0x20c
ret 0xc
Function at 0x497750
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push esi
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSetServicesSharedAccessParametersFirewallPolicyStandardProfile
push reloc.OLEAUT32.dll_SysReAllocString
or esi, 0xffffffff
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x49777e
or eax, esi
pop esi
add esp, 0x10
ret
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push str.EnableFirewall
push ecx
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4977b6
cmp dword [esp + 0xc], 4
jne 0x4977b6
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 4]
test eax, eax
je 0x4977c5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10
ret

Function at 0x497870
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push edi
lea eax, [esp + 4]
push eax
push 0x20019
xor edi, edi
push edi
push str.HTTP_shellopencommand
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x49789c
xor eax, eax
pop edi
add esp, 0xc
ret
mov eax, dword [esp + 4]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
push ecx
push 0
lea edx, [esp + 0x14]
push edx
push 0
push 0x4a0305
push eax
call esi
test eax, eax
jne 0x4978ea
cmp dword [esp + 0xc], 1
jne 0x4978ea
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push 0x4a0305
push ecx
call esi
mov edi, 1
mov eax, dword [esp + 8]
test eax, eax
pop esi
je 0x4978fa
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
add esp, 0xc
ret
Function at 0x40ff50
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x489e4b
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.0047c305
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40ffd2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00479abd
mov eax, dword [eax]
push 0x692210
push eax
call fcn.0046c534
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0047c590
test bl, bl
je 0x40ffd2
push 0x692210
lea ecx, [esp + 0xc]
call fcn.0047c96c
push 0x695da0
lea ecx, [esp + 0xc]
call fcn.0047c96c
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 0x41000e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0047c590
jmp 0x4100d9
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 0x410092
lea edx, [esp + 0x7c]
push 0x695d9c
push edx
call fcn.0046c534
add esp, 8
test eax, eax
je 0x410092
lea eax, [esp + 0x7c]
push 0x695d98
push eax
call fcn.0046c534
add esp, 8
test eax, eax
je 0x410092
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 0x410022
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.0047c590
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 0x411330
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 0x411392
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 0x4113a0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x489fab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x6a2688]
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 0x4114d8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x411406
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047c590
xor eax, eax
jmp 0x41154f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0047c719
push esi
lea ecx, [esp + 0xc]
call fcn.0047c9a8
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x695dd8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41152d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00411330
test eax, eax
jne 0x41152d
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.00411330
test eax, eax
jne 0x41152d
lea eax, [esp + 0x14]
push 0x695db4
push eax
call fcn.0046d610
mov esi, eax
add esp, 8
test esi, esi
jne 0x41150c
lea ecx, [esp + 0x14]
push 0x695db0
push ecx
call fcn.0046d590
mov esi, eax
add esp, 8
test esi, esi
jne 0x41150c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41150f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0047c6c9
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41141e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047c590
xor eax, eax
jmp 0x41154f
mov byte [esi], 0
push 0x695dac
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.0047c590
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 0x425980
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 0x4259ee
cmp si, 0x69
ja 0x4259ee
add esi, 0xffd0
cmp si, 0x11
je 0x4259be
push 0x11
call edi
test ax, ax
jge 0x4259be
or esi, 0x2000
cmp si, 0x10
je 0x4259d3
push 0x10
call edi
test ax, ax
jge 0x4259d3
or esi, 0x4000
cmp si, 0x12
je 0x4259e8
push 0x12
call edi
test ax, ax
jge 0x4259e8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4259fb
mov esi, 0xbd
jmp 0x4259af
cmp si, 0x6e
jne 0x425a08
mov esi, 0xbe
jmp 0x4259af
cmp si, 0x6f
jne 0x4259a9
mov esi, 0xbf
jmp 0x4259af

Function at 0x4270a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x6b3498]
xor edx, edx
cmp eax, edx
jne 0x4270c6
xor eax, eax
mov byte [eax + 0x6b3398], al
inc eax
cmp eax, 0x100
jl 0x4270ae
mov dword [0x6b3498], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x6b3398
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x427157
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 0x42712a
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 0x4270f8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4271d0
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 0x427223
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 0x42720a
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 0x42e0c0
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 0x42e258
cmp ebp, ebx
jle 0x42e258
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, reloc.OLEAUT32.dll_VariantInit
mov dword [esp + 0x10], edi
jns 0x42e11e
dec eax
or eax, 0xfffffff8
inc eax
je 0x42e125
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x42e134
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x42e13b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0047c2d1
add esp, 4
cmp eax, ebx
je 0x42e15c
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.0047c2d1
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 0x42e24e
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 0x42e235
mov al, byte [edx]
cmp al, 0xc0
jbe 0x42e221
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x42e216
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 0x42e224
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x42e224
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x42e1c0
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 0x42e1b1
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