joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4535e0
Capabilities:
Decode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 4]
push ecx
push 0
lea edx, [ebp - 0x10]
push edx
push 0
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.004635b0
add esp, 4
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x453631
xor eax, eax
jmp 0x45369c
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.00463cd9
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x453650
xor eax, eax
jmp 0x45369c
mov ecx, dword [ebp - 0xc]
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.00463640
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.004635b0
add esp, 4
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x453691
xor eax, eax
jmp 0x45369c
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x454eb0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
cmp dword [ebp + 0xc], 0
jne 0x454ec2
jmp 0x455024
push 0x4d5b04
mov eax, dword [ebp + 0xc]
push eax
call fcn.004675ba
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x454f5b
push 0x51a753
call fcn.00447ad0
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004635b0
add esp, 4
mov esi, eax
mov edx, dword [ebp + 0xc]
push edx
call fcn.004635b0
add esp, 4
lea eax, [esi + eax + 0x32]
push eax
call fcn.00455b10
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 0x4d5b08
mov eax, dword [ebp - 4]
push eax
call fcn.00466eca
add esp, 0x10
push 0x4d5b10
mov ecx, dword [ebp - 4]
push ecx
call fcn.004675ba
add esp, 8
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x14]
push edx
call fcn.00463da3
add esp, 4
mov eax, dword [ebp - 4]
push eax
call fcn.00463da3
add esp, 4
cmp dword [ebp - 8], 0
jne 0x454f88
push 0xe
call fcn.00447170
add esp, 4
mov ecx, dword [ebp + 0xc]
push ecx
push str.RawLoad_Failed_to_open_file__s_n
call fcn.00463e31
add esp, 8
call fcn.004470a0
push 0
call fcn.00466d62
mov edx, dword [ebp - 8]
push edx
call fcn.004496f0
add esp, 4
add eax, dword [0x51aa40]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.00455b10
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
sub edx, dword [0x51aa40]
push edx
push 1
mov eax, dword [ebp - 0x10]
push eax
call fcn.004681fe
add esp, 0x10
mov ecx, dword [ebp - 8]
push ecx
call fcn.00467296
add esp, 4
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
push str.RawLoad_0x_x_bytes_at_0x_x_from_file__s_n
call fcn.00463e31
add esp, 0x10
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00447ff0
add esp, 8
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [0x51aa58]
push ecx
call fcn.00446700
add esp, 0x10
mov edx, dword [ebp - 0x10]
push edx
call fcn.00463da3
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x459530
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call fcn.00455c10
mov dword [ebp - 4], eax
call fcn.00455c10
mov dword [ebp - 0xc], eax
call fcn.00455c10
mov dword [ebp - 8], eax
call fcn.00455c10
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0x900000
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
jbe 0x459578
push 0x4d6fd8
call fcn.00463e31
add esp, 4
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.00455b10
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [0x51aa58]
push eax
call fcn.00445f90
add esp, 0x10
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
push str._x_t_lwrite_h_x__buf_x__n
call fcn.00463e31
add esp, 0x10
movzx ecx, byte [0x51a964]
test ecx, ecx
je 0x4595e1
cmp dword [ebp - 0x14], 0
je 0x4595e1
cmp dword [ebp - 0x10], 0
jbe 0x4595e1
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.00449d60
add esp, 8
mov ecx, dword [0x51aa54]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0x18], edx
cmp dword [0x51a948], 0
je 0x45961b
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 1
mov edx, dword [ebp - 0x14]
push edx
call fcn.00467474
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00455ed0
add esp, 4
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00463da3
add esp, 4
mov edx, dword [ebp - 4]
push edx
mov eax, dword [0x51aa54]
push eax
call fcn.0043d400
add esp, 8
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x463ff8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x517e60]
jne 0x464002
repz ret
jmp fcn.0046b317

Function at 0x4702ab
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x4702dc
call fcn.00469e5a
mov dword [eax], esi
call fcn.00469e47
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00464d85
add esp, 0x14
push 0x16
pop eax
jmp 0x470331
test dword [ebp + 0xc], 0xfffffff9
jne 0x4702b8
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x470309
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
call fcn.00469e6d
pop ecx
call fcn.00469e47
mov eax, dword [eax]
jmp 0x470331
test al, 0x10
jne 0x47032f
test al, 1
je 0x47032f
test byte [ebp + 0xc], 2
je 0x47032f
call fcn.00469e5a
mov dword [eax], 5
call fcn.00469e47
mov dword [eax], 0xd
jmp 0x470300
xor eax, eax
pop esi
pop ebp
ret
Function at 0x472625
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0046be97
and dword [ebp - 4], 0
cmp dword [0x51b7ac], 0
mov ebx, eax
jne 0x4726d6
push 0x4da5a4
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x472787
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x472787
push eax
call fcn.0046be25
mov dword [esp], 0x4da588
push edi
mov dword [0x51b7ac], eax
call esi
push eax
call fcn.0046be25
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x51b7b0], eax
call esi
push eax
call fcn.0046be25
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x51b7b4], eax
call esi
push eax
call fcn.0046be25
pop ecx
mov dword [0x51b7bc], eax
test eax, eax
je 0x4726d6
push 0x4da540
push edi
call esi
push eax
call fcn.0046be25
pop ecx
mov dword [0x51b7b8], eax
mov eax, dword [0x51b7b8]
cmp eax, ebx
je 0x47272e
cmp dword [0x51b7bc], ebx
je 0x47272e
push eax
call fcn.0046bea0
push dword [0x51b7bc]
mov esi, eax
call fcn.0046bea0
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x47272e
test edi, edi
je 0x47272e
call esi
test eax, eax
je 0x472725
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x472725
test byte [ebp - 0xc], 1
jne 0x47272e
or dword [ebp + 0x10], 0x200000
jmp 0x472767
mov eax, dword [0x51b7b0]
cmp eax, ebx
je 0x472767
push eax
call fcn.0046bea0
pop ecx
test eax, eax
je 0x472767
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x472767
mov eax, dword [0x51b7b4]
cmp eax, ebx
je 0x472767
push eax
call fcn.0046bea0
pop ecx
test eax, eax
je 0x472767
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x51b7ac]
call fcn.0046bea0
pop ecx
test eax, eax
je 0x472787
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x472789
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x5c41688
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x433060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x50ea5827
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x180fb6c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x181b520]
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.01806e52
and dword [ebp - 0x14], 0
cmp dword [0x185d558], 0
mov dword [ebp - 0x18], eax
jne 0x180fc1f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x180fcc7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x180fcc7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x185d558], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x185d55c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x185d560], eax
call edi
push eax
call esi
mov dword [0x185d568], eax
test eax, eax
je 0x180fc1f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x185d564], eax
mov eax, dword [0x185d564]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x180fc78
cmp dword [0x185d568], ecx
je 0x180fc78
push eax
call esi
push dword [0x185d568]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x180fc78
test ebx, ebx
je 0x180fc78
call edi
test eax, eax
je 0x180fc6f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x180fc6f
test byte [ebp - 8], 1
jne 0x180fc78
or dword [ebp + 0x10], 0x200000
jmp 0x180fcab
mov eax, dword [0x185d55c]
cmp eax, dword [ebp - 0x18]
je 0x180fcab
push eax
call esi
test eax, eax
je 0x180fcab
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x180fcab
mov eax, dword [0x185d560]
cmp eax, dword [ebp - 0x18]
je 0x180fcab
push eax
call esi
test eax, eax
je 0x180fcab
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x185d558]
call esi
test eax, eax
je 0x180fcc7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x180fcc9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.018013cb
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x414f6f
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push 4
pop eax
call fcn.00415300
mov ebx, esp
lea eax, [ebp - 0x24]
push 0x1c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x414fc8
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 4], eax
lea esi, [eax - 1]
not esi
and esi, ebx
sub esi, eax
call fcn.00415023
dec eax
neg eax
sbb eax, eax
and ax, 0x1000
add eax, 0x11000
add eax, edi
cmp esi, eax
jae 0x414fcc
xor eax, eax
jmp 0x41501b
call fcn.00415023
cmp eax, 1
je 0x414ffc
cmp esi, edi
jbe 0x414feb
mov eax, esi
push 0x4000
sub eax, edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push 4
push 0x1000
push dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
call fcn.00415023
dec eax
lea ecx, [ebp - 8]
neg eax
sbb eax, eax
push ecx
and eax, 0x103
inc eax
push eax
push dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x54]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
nop
mov ebx, 0x408ed0
nop
mov ecx, 0x1a121205
nop
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x10423e2e
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x43e200
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e853b
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.004da8b2
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x43e282
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004d80a0
mov eax, dword [eax]
push 0x9fbd5c
push eax
call fcn.004b5604
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004dab3d
test bl, bl
je 0x43e282
push 0x9fbd5c
lea ecx, [esp + 0xc]
call fcn.004daf19
push 0x9fbd68
lea ecx, [esp + 0xc]
call fcn.004daf19
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 0x43e2be
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004dab3d
jmp 0x43e389
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 0x43e342
lea edx, [esp + 0x7c]
push 0x9fbd64
push edx
call fcn.004b5604
add esp, 8
test eax, eax
je 0x43e342
lea eax, [esp + 0x7c]
push 0x9fbd60
push eax
call fcn.004b5604
add esp, 8
test eax, eax
je 0x43e342
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 0x43e2d2
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.004dab3d
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 0x43f620
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 0x43f682
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 0x43f690
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e869b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0xa06cc0]
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 0x43f7c8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x43f6f6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004dab3d
xor eax, eax
jmp 0x43f83f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004dacc6
push esi
lea ecx, [esp + 0xc]
call fcn.004daf55
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x9fbdac
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x43f81d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0043f620
test eax, eax
jne 0x43f81d
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 accept
mov ecx, edi
call fcn.0043f620
test eax, eax
jne 0x43f81d
lea eax, [esp + 0x14]
push 0x9fbd88
push eax
call fcn.004b6830
mov esi, eax
add esp, 8
test esi, esi
jne 0x43f7fc
lea ecx, [esp + 0x14]
push 0x9fbd84
push ecx
call fcn.004b67b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x43f7fc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x43f7ff
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004dac76
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x43f70e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004dab3d
xor eax, eax
jmp 0x43f83f
mov byte [esi], 0
push 0x9fbd80
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.004dab3d
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 0x452000
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 0x45206e
cmp si, 0x69
ja 0x45206e
add esi, 0xffd0
cmp si, 0x11
je 0x45203e
push 0x11
call edi
test ax, ax
jge 0x45203e
or esi, 0x2000
cmp si, 0x10
je 0x452053
push 0x10
call edi
test ax, ax
jge 0x452053
or esi, 0x4000
cmp si, 0x12
je 0x452068
push 0x12
call edi
test ax, ax
jge 0x452068
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x45207b
mov esi, 0xbd
jmp 0x45202f
cmp si, 0x6e
jne 0x452088
mov esi, 0xbe
jmp 0x45202f
cmp si, 0x6f
jne 0x452029
mov esi, 0xbf
jmp 0x45202f

Function at 0x453c50
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xa19360]
xor edx, edx
cmp eax, edx
jne 0x453c76
xor eax, eax
mov byte [eax + 0xa19260], al
inc eax
cmp eax, 0x100
jl 0x453c5e
mov dword [0xa19360], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xa19260
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x453d07
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 0x453cda
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 0x453ca8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x453d80
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 0x453dd3
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 0x453dba
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