joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f26e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x43f2ab
cmp dword [ebp + 0x14], edi
je 0x43f2ab
cmp ecx, edi
jne 0x43f2b2
call fcn.0043e402
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0043baeb
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x43f2c6
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x43f2e7
cmp ebx, 0xffffffff
je 0x43f2d6
push ebx
push edi
push ecx
call fcn.0043c510
add esp, 0xc
cmp esi, edi
je 0x43f293
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x43f293
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x43f303
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x43f30a
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x43f3fb
test word [esi + 0xc], 0x10c
je 0x43f35e
mov eax, dword [esi + 4]
test eax, eax
je 0x43f35e
jl 0x43f45c
cmp ebx, eax
mov edi, ebx
jb 0x43f32f
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x43f403
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00439d04
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x43f3f3
cmp ebx, dword [ebp - 0xc]
jb 0x43f3cb
cmp dword [ebp - 0xc], 0
je 0x43f388
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x43f37d
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x43f384
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x43f393
mov eax, SysReAllocString
cmp ebx, eax
ja 0x43f393
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x43f42f
push eax
push dword [ebp - 8]
push esi
call fcn.0043efb1
pop ecx
push eax
call fcn.0044b9c8
add esp, 0xc
test eax, eax
je 0x43f46e
cmp eax, 0xffffffff
je 0x43f45c
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x43f3f3
push esi
call fcn.0044b2e7
cmp eax, 0xffffffff
pop ecx
je 0x43f460
cmp dword [ebp - 4], 0
je 0x43f42f
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x43f312
mov eax, dword [ebp + 0x14]
jmp 0x43f2ad
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x43f41a
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.0043c510
add esp, 0xc
call fcn.0043e402
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x43f2a3
cmp dword [ebp + 0xc], 0xffffffff
je 0x43f445
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.0043c510
add esp, 0xc
call fcn.0043e402
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x43f2a3
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x43f2ad
or dword [esi + 0xc], 0x10
jmp 0x43f460
Function at 0x4410dc
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x46e910]
je 0x4410f7
inc edi
cmp edi, 0x17
jb 0x4410e8
cmp edi, 0x17
jae 0x441277
push ebp
push 3
call fcn.0044e364
cmp eax, 1
pop ecx
je 0x441243
push 3
call fcn.0044e364
test eax, eax
pop ecx
jne 0x44112b
cmp dword [0x46e748], 1
je 0x441243
cmp ebx, 0xfc
je 0x441276
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x471e80
push ebp
call fcn.00445679
add esp, 0xc
test eax, eax
je 0x441161
push esi
push esi
push esi
push esi
push esi
call fcn.0043b9ef
add esp, 0x14
push 0x104
mov esi, 0x471e99
push esi
push 0
mov byte [0x471f9d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4411a5
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00445679
add esp, 0xc
test eax, eax
je 0x4411a5
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0043b9ef
add esp, 0x14
push esi
call fcn.00445e40
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4411ea
push esi
call fcn.00445e40
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x472194
push 0x45c9b4
sub ecx, eax
push ecx
push eax
call fcn.004455c6
add esp, 0x14
test eax, eax
je 0x4411ea
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0043b9ef
add esp, 0x14
jmp 0x4411ec
xor esi, esi
push 0x45c9b0
push ebx
push ebp
call fcn.00445508
add esp, 0xc
test eax, eax
je 0x44120c
push esi
push esi
push esi
push esi
push esi
call fcn.0043b9ef
add esp, 0x14
push dword [edi*8 + 0x46e914]
push ebx
push ebp
call fcn.00445508
add esp, 0xc
test eax, eax
je 0x44122e
push esi
push esi
push esi
push esi
push esi
call fcn.0043b9ef
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0044e1a7
add esp, 0xc
jmp 0x441276
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x441276
cmp ebp, 0xffffffff
je 0x441276
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x46e914]
push dword [esi]
call fcn.00445e40
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x44e1a7
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00441ca0
xor ebx, ebx
cmp dword [0x472980], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x44e27d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x44e35d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x44e35d
push eax
call fcn.00441c32
mov dword [esp], 0x45ddb8
push edi
mov dword [0x472980], eax
call esi
push eax
call fcn.00441c32
mov dword [esp], 0x45dda4
push edi
mov dword [0x472984], eax
call esi
push eax
call fcn.00441c32
mov dword [0x472988], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0043b220
test eax, eax
pop ecx
pop ecx
je 0x44e24b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043b9ef
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x44e27d
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00441c32
cmp eax, ebx
pop ecx
mov dword [0x472990], eax
je 0x44e27d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00441c32
pop ecx
mov dword [0x47298c], eax
mov eax, dword [0x47298c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x44e302
cmp dword [0x472990], ecx
je 0x44e302
push eax
call fcn.00441ca9
push dword [0x472990]
mov esi, eax
call fcn.00441ca9
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x44e302
cmp edi, ebx
je 0x44e302
call esi
cmp eax, ebx
je 0x44e2cf
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x44e2cf
test byte [ebp - 0x18], 1
jne 0x44e302
lea eax, [ebp - 0x10]
push eax
call fcn.0043b257
test eax, eax
pop ecx
je 0x44e2ea
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043b9ef
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x44e2f9
or dword [ebp + 0x10], 0x200000
jmp 0x44e33d
or dword [ebp + 0x10], 0x40000
jmp 0x44e33d
mov eax, dword [0x472984]
cmp eax, dword [ebp - 8]
je 0x44e33d
push eax
call fcn.00441ca9
cmp eax, ebx
pop ecx
je 0x44e33d
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x44e33d
mov eax, dword [0x472988]
cmp eax, dword [ebp - 8]
je 0x44e33d
push eax
call fcn.00441ca9
cmp eax, ebx
pop ecx
je 0x44e33d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x472980]
call fcn.00441ca9
cmp eax, ebx
pop ecx
je 0x44e35d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x44e35f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x454b86
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x46e780]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00454b1b
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0043c510
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x454bd5
cmp dword [ebp - 0x1c], 5
jb 0x454bed
jmp 0x454be9
cmp dword [ebp - 0x10], 1
jne 0x454bed
cmp dword [ebp - 0x1c], 4
ja 0x454be9
jne 0x454bed
cmp dword [ebp - 0x18], 0
jbe 0x454bed
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x45edec
call fcn.004549ef
test eax, eax
jge 0x454c0e
mov byte [0x472df4], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00439c98
add ebp, 0x78
leave
ret
Function at 0x40c263
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x40c291
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x40c288
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x40c280
mov eax, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x40c2b2
mov esp, ebp
pop ebp
ret

Function at 0x40c2b6
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0x10]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x40c322
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x40c34f
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x40c33e
xor ecx, eax
xor edx, ebx
dec edi
jne 0x40c32f
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x40c375
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x40c316
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
pop ecx
pop edx
pop edi
pop ebx
pop esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x40c3a1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40c997
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x40c9a7
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
cmp dword [ebp + 8], 0
jle 0x40c9fc
push dword [ebp + 8]
call fcn.0040cba8
mov dword [ebp - 0x24], eax
cmp word [ebp - 0x24], 0x5a4d
jne 0x40c9fc
xor eax, eax
jmp 0x40ca01
mov eax, 1
test eax, eax
je 0x40ca13
mov eax, 0
jmp 0x40cba2
push 0x3c
push dword [ebp + 8]
call fcn.0040cbea
push eax
call fcn.0040cbc4
push eax
push dword [ebp + 8]
call fcn.0040cbea
mov dword [ebp - 4], eax
push dword [ebp - 4]
call fcn.0040cbc4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x4550
jne 0x40ca6e
push 0x7c
push dword [ebp - 4]
call fcn.0040cbea
push eax
call fcn.0040cbc4
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x40ca6e
xor eax, eax
jmp 0x40ca73
mov eax, 1
test eax, eax
je 0x40ca85
mov eax, 0
jmp 0x40cba2
push 0x78
push dword [ebp - 4]
call fcn.0040cbea
push eax
call fcn.0040cbc4
push eax
push dword [ebp + 8]
call fcn.0040cbea
mov dword [ebp - 8], eax
push 0x20
push dword [ebp - 8]
call fcn.0040cbea
push eax
call fcn.0040cbc4
push eax
push dword [ebp + 8]
call fcn.0040cbea
push eax
call fcn.0040cbc4
push eax
push dword [ebp + 8]
call fcn.0040cbea
mov dword [ebp - 0xc], eax
push 0x18
push dword [ebp - 8]
call fcn.0040cbea
push eax
call fcn.0040cbc4
mov dword [ebp - 0x10], eax
push 1
push dword [ebp - 0x10]
call fcn.0040cc11
push eax
lea eax, [ebp - 0x10]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x40cb95
push dword [ebp - 0x18]
push dword [ebp - 0xc]
call fcn.0040cbea
mov dword [ebp - 0x14], eax
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call fcn.0040cc38
test eax, eax
je 0x40cb78
push 0x1c
push dword [ebp - 8]
call fcn.0040cbea
push eax
call fcn.0040cbc4
push eax
push dword [ebp + 8]
call fcn.0040cbea
mov dword [ebp - 0x24], eax
push 4
push dword [ebp - 0x10]
call fcn.0040cc6c
push eax
push dword [ebp - 0x24]
call fcn.0040cbea
push eax
call fcn.0040cbc4
push eax
push dword [ebp + 8]
call fcn.0040cbea
jmp 0x40cba2
push dword [ebp - 0x14]
call fcn.0040cc94
push eax
push dword [ebp - 0x18]
call fcn.0040cbea
mov dword [ebp - 0x18], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x40cb01
add esp, 0xc
mov eax, 0
jmp 0x40cba2
mov esp, ebp
pop ebp
ret 8
Function at 0x4683b0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d03eb
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.004c48bc
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x468432
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004c2708
mov eax, dword [eax]
push 0x92c134
push eax
call fcn.004ad300
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004c4b47
test bl, bl
je 0x468432
push 0x92c134
lea ecx, [esp + 0xc]
call fcn.004c4ed7
push 0x92fdfc
lea ecx, [esp + 0xc]
call fcn.004c4ed7
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 0x46846e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004c4b47
jmp 0x468539
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 0x4684f2
lea edx, [esp + 0x7c]
push 0x92fdf8
push edx
call fcn.004ad300
add esp, 8
test eax, eax
je 0x4684f2
lea eax, [esp + 0x7c]
push 0x92fdf4
push eax
call fcn.004ad300
add esp, 8
test eax, eax
je 0x4684f2
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 0x468482
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.004c4b47
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 0x468d50
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 0x468db2
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 0x468dc0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d046b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x9363a0]
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 0x468ef8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x468e26
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c4b47
xor eax, eax
jmp 0x468f6f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004c4c84
push esi
lea ecx, [esp + 0xc]
call fcn.004c4f13
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 0x468f4d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.00468d50
test eax, eax
jne 0x468f4d
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.00468d50
test eax, eax
jne 0x468f4d
lea eax, [esp + 0x14]
push 0x92fe10
push eax
call fcn.004ae4e5
mov esi, eax
add esp, 8
test esi, esi
jne 0x468f2c
lea ecx, [esp + 0x14]
push 0x92fe0c
push ecx
call fcn.004ae320
mov esi, eax
add esp, 8
test esi, esi
jne 0x468f2c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x468f2f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004c4c34
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x468e3e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c4b47
xor eax, eax
jmp 0x468f6f
mov byte [esi], 0
push 0x92fe08
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.004c4b47
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 0x472266
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
mov eax, dword [esi + 0x3ac]
test eax, eax
jne 0x47228e
lea eax, [esp + 4]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x3ac], eax
pop esi
add esp, 0x190
ret
Function at 0x47c500
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 0x47c56e
cmp si, 0x69
ja 0x47c56e
add esi, 0xffd0
cmp si, 0x11
je 0x47c53e
push 0x11
call edi
test ax, ax
jge 0x47c53e
or esi, 0x2000
cmp si, 0x10
je 0x47c553
push 0x10
call edi
test ax, ax
jge 0x47c553
or esi, 0x4000
cmp si, 0x12
je 0x47c568
push 0x12
call edi
test ax, ax
jge 0x47c568
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x47c57b
mov esi, 0xbd
jmp 0x47c52f
cmp si, 0x6e
jne 0x47c588
mov esi, 0xbe
jmp 0x47c52f
cmp si, 0x6f
jne 0x47c529
mov esi, 0xbf
jmp 0x47c52f

Function at 0x47dfd0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x944be0]
xor edx, edx
cmp eax, edx
jne 0x47dff6
xor eax, eax
mov byte [eax + 0x944ae0], al
inc eax
cmp eax, 0x100
jl 0x47dfde
mov dword [0x944be0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x944ae0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x47e087
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 0x47e05a
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 0x47e028
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x47e100
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 0x47e153
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 0x47e13a
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