joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f751
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x459848]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x14
mov eax, 0x444251
call fcn.00428631
mov eax, dword [ebp + 0x214]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x218]
xor ebx, ebx
push ebx
mov dword [ebp - 0x18], eax
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x10]
push eax
push 0x44bdac
push 1
push ebx
push 0x44bdbc
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x43f7d6
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.00426668
add ebp, 0x20c
leave
ret
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ebx
push dword [ebp - 0x18]
push eax
call dword [ecx + 0x44]
push esi
lea ecx, [ebp - 0x14]
call fcn.004013b4
mov dword [ebp - 4], ebx
push 0x5c
push dword [ebp - 0x14]
call fcn.0042736a
cmp eax, ebx
pop ecx
pop ecx
jne 0x43f818
or eax, 0xffffffff
jmp 0x43f81b
sub eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.004016d2
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00401d5f
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004010b9
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push 0x44bdfc
push eax
call dword [ecx]
test eax, eax
jge 0x43f87c
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004010b9
mov eax, ebx
jmp 0x43f7b3
push 0x104
lea eax, [ebp]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x20]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push 2
lea edx, [ebp]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor ebx, ebx
inc ebx
jmp 0x43f864
Function at 0x43f8b8
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x459848]
xor eax, ebp
mov dword [ebp + 0x98], eax
mov eax, dword [ebp + 0xa4]
push ebx
push esi
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0xa8]
push edi
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0xac]
xor ebx, ebx
push 0x103
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x73]
push ebx
push eax
mov esi, ecx
mov byte [ebp - 0x74], bl
call fcn.004281f0
add esp, 0xc
push ebx
push ebx
lea eax, [ebp - 0x74]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [ebp + eax - 0x75], 0x5c
lea eax, [ebp - 0x74]
jne 0x43f935
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x43f94a
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x44c7b8
push eax
call edi
push esi
lea eax, [ebp - 0x74]
push eax
call edi
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
lea edi, [ebp + 0x91]
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x78]
mov eax, dword [eax]
lea esi, [ebp + 0x90]
mov dword [ebp + 0x90], eax
call fcn.0043e109
mov eax, esi
push str.http
push eax
call fcn.00426b90
test eax, eax
pop ecx
pop ecx
jne 0x43f9a0
push str..url
push dword [ebp - 0x7c]
call fcn.00426b90
test eax, eax
pop ecx
pop ecx
jne 0x43f9a0
mov esi, dword [ebp - 0x78]
xor edi, edi
jmp 0x43f9a6
mov edi, dword [ebp - 0x78]
mov esi, dword [ebp - 0x7c]
push dword [ebp - 0x80]
lea eax, [ebp - 0x74]
push eax
call fcn.0043f751
pop ecx
pop ecx
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00426668
add ebp, 0x9c
leave
ret
Function at 0x440e3f
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x459848]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp dword [esi + 0x100c], ebx
mov dword [ebp - 0x18], eax
je 0x440e67
xor eax, eax
jmp 0x440ff0
mov eax, esi
call fcn.00440e25
mov eax, dword [esi + 0x1084]
cmp eax, ebx
je 0x440e7f
push eax
call fcn.00402474
pop ecx
mov eax, dword [esi + 0x108c]
cmp eax, ebx
je 0x440e90
push eax
call fcn.00402474
pop ecx
push edi
lea edi, [esi + 0x109c]
mov eax, dword [edi]
cmp eax, ebx
je 0x440ea6
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [edi], ebx
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
push dword [ebp - 0x18]
mov dword [esi + 0x108c], ebx
mov dword [esi + 0x1084], ebx
mov dword [esi + 0x1070], ebx
mov dword [esi + 0x105c], ebx
mov dword [esi + 0x1050], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp - 0x18], edi
je 0x440fed
lea eax, [ebp - 0x24]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [ebp - 0x20], eax
jne 0x440f04
push edi
jmp 0x440fe7
push ebx
lea eax, [ebp - 0x1c]
push eax
push 0xd
lea eax, [ebp - 0x14]
push eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
call edi
cmp dword [ebp - 0x1c], 0xd
jne 0x440fe4
cmp byte [ebp - 0x14], 0x47
jne 0x440fe4
cmp byte [ebp - 0x13], 0x49
jne 0x440fe4
cmp byte [ebp - 0x12], 0x46
jne 0x440fe4
cmp byte [ebp - 0x11], 0x38
jne 0x440fe4
cmp byte [ebp - 0x10], 0x37
je 0x440f5a
cmp byte [ebp - 0x10], 0x39
jne 0x440fe4
cmp byte [ebp - 0xf], 0x61
jne 0x440fe4
movzx eax, word [ebp - 0xe]
movzx ecx, byte [ebp - 0xa]
test cl, cl
mov dword [esi + 0x10a0], eax
movzx eax, word [ebp - 0xc]
mov dword [esi + 0x10a4], eax
movzx eax, byte [ebp - 9]
mov dword [esi + 0x104c], eax
jns 0x440fff
xor eax, eax
and ecx, 7
inc eax
inc ecx
shl eax, cl
mov dword [esi + 0x105c], eax
imul eax, eax, 3
push eax
call fcn.00402479
pop ecx
push ebx
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [esi + 0x105c]
imul ecx, ecx, 3
push ecx
push eax
push dword [ebp - 0x18]
mov dword [esi + 0x1084], eax
call edi
mov eax, dword [esi + 0x105c]
imul eax, eax, 3
cmp dword [ebp - 0x1c], eax
je 0x440fff
push dword [esi + 0x1084]
call fcn.00402474
pop ecx
mov dword [esi + 0x1084], ebx
mov dword [esi + 0x105c], ebx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00426668
leave
ret 4
mov ecx, dword [esi + 0x105c]
mov eax, dword [ebp - 0x20]
add ecx, 4
imul ecx, ecx, 3
sub eax, ecx
push eax
mov dword [esi + 0x1050], eax
call fcn.00402479
pop ecx
push ebx
lea ecx, [ebp - 0x1c]
push ecx
push dword [esi + 0x1050]
mov dword [esi + 0x108c], eax
push eax
push dword [ebp - 0x18]
mov dword [esi + 0x1090], eax
call edi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x440fef
Function at 0x441cc1
Capabilities:
Create thread

Disassembly:
push ecx
push esi
xor esi, esi
cmp dword [eax + 0x1000], esi
je 0x441d15
lea edx, [eax + 0x108c]
cmp dword [edx], esi
je 0x441d15
push ebx
lea ecx, [eax + 0x1098]
mov ebx, dword [ecx]
cmp ebx, 5
pop ebx
je 0x441d15
mov edx, dword [edx]
mov dword [eax + 0x1090], edx
mov dword [eax + 0x1070], esi
mov dword [ecx], 5
lea ecx, [esp + 4]
push ecx
push esi
push eax
push 0x441cb1
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ecx
ret
Function at 0x4f811e
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x4f813e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x4f812a
add dl, dl
jne 0x4f8149
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x4f819a
xor eax, eax
add dl, dl
jne 0x4f8156
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x4f823b
add dl, dl
jne 0x4f8165
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x4f8170
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x4f817b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x4f8186
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x4f8190
push edi
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x4f8135
mov eax, 1
add dl, dl
jne 0x4f81a8
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x4f81b3
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x4f819f
sub eax, ebx
mov ebx, 1
jne 0x4f81e6
mov ecx, 1
add dl, dl
jne 0x4f81cc
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x4f81d7
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x4f81c3
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x4f8135
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x4f81fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x4f8208
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x4f81f4
cmp eax, 0x7d00
jae 0x4f822b
cmp eax, 0x500
jb 0x4f8226
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x4f8135
cmp eax, 0x7f
ja 0x4f822e
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x4f8135
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x4f825c
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 0x4f8135
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x55df00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.OEM1
lea edi, [esi - 0xdf000]
push edi
or ebp, 0xffffffff
jmp 0x55df22
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x55df29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x55df18
mov eax, 1
add ebx, ebx
jne 0x55df3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x55df4c
jne 0x55df6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x55df6b
dec eax
add ebx, ebx
jne 0x55df58
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x55df30
add ebx, ebx
jne 0x55df67
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x55dfbd
xor ecx, ecx
sub eax, 3
jb 0x55df83
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x55dff2
sar eax, 1
mov ebp, eax
jmp 0x55df8e
add ebx, ebx
jne 0x55df8e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x55df5c
inc ecx
add ebx, ebx
jne 0x55df9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x55df5c
add ebx, ebx
jne 0x55dfa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x55df9e
jne 0x55dfba
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x55df9e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x55dfdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x55dfce
jmp 0x55df1e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x55dfdc
add edi, ecx
jmp 0x55df1e
pop esi
mov edi, esi
mov ecx, 0x4f18
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x55dffa
cmp byte [edi], 0x21
jne 0x55dffa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x55dfff
lea edi, [esi + 0x15a000]
mov eax, dword [edi]
or eax, eax
je 0x55e06e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x170af0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x170be0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x55e02c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x170be4]
or eax, eax
je 0x55e068
mov dword [ebx], eax
add ebx, 4
jmp 0x55e049
call dword [esi + 0x170bec]
mov ebp, dword [esi + 0x170be8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x55e0a2
sub esp, 0xffffff80
jmp 0x49f43c
Function at 0x100104b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100711a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebp
push esi
push edi
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x10]
call fcn.100666b1
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.100116c0
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x10010504
jmp dword [ecx*4 + 0x1001066c]
mov al, byte [esi]
test al, al
je 0x10010532
cmp al, 0x20
je 0x1001051e
cmp al, 0xa1
jne 0x10010532
cmp byte [esi + 1], al
jne 0x10010532
test al, 0x80
je 0x1001052a
mov al, byte [esi + 1]
inc esi
test al, al
je 0x10010532
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10010511
test ecx, ecx
je case.default.0x10010504
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x10010504
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x10010578
cmp dl, 0xa1
jne 0x1001056c
cmp byte [eax + 1], 0xa1
jne 0x1001056c
test ecx, ecx
jne 0x10010564
mov edi, eax
mov ecx, 1
inc eax
jmp 0x1001058c
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x100105a6
jmp 0x1001058c
cmp dl, 0x20
jne 0x1001058a
test ecx, ecx
jne 0x10010583
mov edi, eax
mov ecx, 1
jmp 0x1001058c
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x1001054c
cmp ecx, 1
jne case.default.0x10010504
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10010504
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10010504
mov al, byte [esi]
test al, al
je 0x100105fe
test al, 0x80
mov byte [esp + 0x3c], al
je 0x100105e4
mov cl, byte [esi + 1]
test cl, cl
je 0x100105fe
cmp al, 0xa1
jne 0x100105d4
cmp cl, al
je 0x100105e1
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.10011990
inc esi
jmp 0x100105f6
cmp al, 0x20
je 0x100105f6
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.100119d0
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x100105bd
push 0
lea ecx, [esp + 0x14]
call fcn.100119d0
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1001bb60
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x10010631
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x106b56b0
call fcn.100118c0
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.10066643
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x10016560
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x1007165b
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.100663b8
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x100165e2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.10064307
mov eax, dword [eax]
push 0x106c41f4
push eax
call fcn.10057254
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.10066643
test bl, bl
je 0x100165e2
push 0x106c41f4
lea ecx, [esp + 0xc]
call fcn.100669d3
push 0x106c7d50
lea ecx, [esp + 0xc]
call fcn.100669d3
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 0x1001661e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.10066643
jmp 0x100166e9
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 0x100166a2
lea edx, [esp + 0x7c]
push 0x106c7d4c
push edx
call fcn.10057254
add esp, 8
test eax, eax
je 0x100166a2
lea eax, [esp + 0x7c]
push 0x106c7d48
push eax
call fcn.10057254
add esp, 8
test eax, eax
je 0x100166a2
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 0x10016632
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.10066643
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 0x10016ee0
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 0x10016f42
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 0x10016f50
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x100716db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x106ce1f0]
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 0x10017088
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x10016fb6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.10066643
xor eax, eax
jmp 0x100170ff
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.10066780
push esi
lea ecx, [esp + 0xc]
call fcn.10066a0f
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 0x100170dd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.10016ee0
test eax, eax
jne 0x100170dd
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.10016ee0
test eax, eax
jne 0x100170dd
lea eax, [esp + 0x14]
push 0x106c7d64
push eax
call fcn.10058290
mov esi, eax
add esp, 8
test esi, esi
jne 0x100170bc
lea ecx, [esp + 0x14]
push 0x106c7d60
push ecx
call fcn.10058210
mov esi, eax
add esp, 8
test esi, esi
jne 0x100170bc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x100170bf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.10066730
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x10016fce
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.10066643
xor eax, eax
jmp 0x100170ff
mov byte [esi], 0
push 0x106c7d5c
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.10066643
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 0x10027660
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 0x100276ce
cmp si, 0x69
ja 0x100276ce
add esi, 0xffd0
cmp si, 0x11
je 0x1002769e
push 0x11
call edi
test ax, ax
jge 0x1002769e
or esi, 0x2000
cmp si, 0x10
je 0x100276b3
push 0x10
call edi
test ax, ax
jge 0x100276b3
or esi, 0x4000
cmp si, 0x12
je 0x100276c8
push 0x12
call edi
test ax, ax
jge 0x100276c8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x100276db
mov esi, 0xbd
jmp 0x1002768f
cmp si, 0x6e
jne 0x100276e8
mov esi, 0xbe
jmp 0x1002768f
cmp si, 0x6f
jne 0x10027689
mov esi, 0xbf
jmp 0x1002768f

Function at 0x10028e90
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x106de858]
xor edx, edx
cmp eax, edx
jne 0x10028eb6
xor eax, eax
mov byte [eax + 0x106de758], al
inc eax
cmp eax, 0x100
jl 0x10028e9e
mov dword [0x106de858], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x106de758
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x10028f47
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 0x10028f1a
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 0x10028ee8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x10028fc0
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 0x10029013
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 0x10028ffa
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