joyce8/EMBER2024-capa huggingface dataset:
Function at 0x80ad8b
Capabilities:
Enumerate pe sections

Disassembly:
call fcn.007e1e7e
jmp 0x7e1ea0

Function at 0x80b7ee
Capabilities:
Encrypt data using rc4 prga

Disassembly:
call fcn.007e41ca
lea esp, [esp + 4]
jmp 0x80b811
jmp 0x7e4380

Function at 0x80b81e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lea esp, [esp + 4]
jmp 0x7e4380

Function at 0x81f365
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, dword [eax + 0x78]
add esi, ecx
mov eax, dword [eax + 0x7c]
mov dword [ebp - 0x18], eax
je 0x81f389
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x81f3d5
jmp 0x81f389
leave
ret 8
push ebp
mov ebp, esp
sub esp, 0x18
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x3c]
and dword [ebp - 0xc], 0
add eax, ecx
mov edx, 0x10b
cmp word [eax + 0x18], dx
je 0x81f319
xor eax, eax
jmp 0x81f348
xor eax, eax
jmp 0x81f56f
and dword [ebp - 4], 0
jmp 0x81f41e
xor esi, esi
jmp 0x81f713
add eax, ecx
push ebx
mov ebx, dword [esi + 0x18]
push edi
mov edi, dword [esi + 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x1c]
add edi, ecx
add eax, ecx
dec ebx
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], eax
js 0x81f401
mov eax, dword [ebp - 4]
add eax, ebx
cdq
sub eax, edx
mov edi, eax
mov eax, dword [ebp - 0x10]
sar edi, 1
mov edx, dword [eax + edi*4]
add edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
call fcn.0080bb49
test eax, eax
jne 0x81f47a
mov eax, dword [ebp - 8]
jmp 0x81f532
cmp dword [ebp - 4], ebx
je 0x81f5aa
test eax, eax
jle 0x81f58c
lea ebx, [edi - 1]
jmp 0x81f5fc
test eax, eax
jne 0x81f60d
jmp 0x81f5aa
test eax, eax
jne 0x81f551
jmp 0x81f5fc
movzx eax, word [eax + edi*2]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + eax*4]
add eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
cmp eax, esi
jb 0x81f507
mov ecx, dword [ebp - 0x18]
add ecx, esi
cmp eax, ecx
jb 0x81f4e9
jmp 0x81f507
pop edi
pop ebx
jmp 0x81f56f
pop esi
jmp 0x81f348
inc edi
mov dword [ebp - 4], edi
jmp 0x81f5fc
mov edi, dword [ebp - 8]
jmp 0x81f401
cmp dword [ebp - 4], ebx
jle 0x81f43b
jmp 0x81f5aa
mov eax, dword [ebp - 0xc]
jmp 0x81f551
movzx eax, word [edi + esi*2]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + eax*4]
add eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
jmp 0x81f60d
test ebx, ebx
jl 0x81f60d
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + esi*4]
add edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
call 0x80bb4f
test eax, eax
je 0x81f6d4
inc esi
cmp esi, ebx
jle 0x81f71b
jmp 0x81f60d
Function at 0x845cc6
Capabilities:
Parse pe header

Disassembly:
push ecx
and cl, byte [edx]
shr dword [esi], 0x3d
inc ebp
or dword [0x97f74a67], ebx
adc al, byte [edi]
in al, 0x5f
ret
call 0x845c48
jmp 0x845e74
inc dword [eax + 0x7de36d]
push 0x9c06cf27
add dword [esp], 0x64766546
push 0
jmp 0x845ce7
call 0x845c78
jmp 0x845d0a
push eax
jmp 0x845c43
call 0x845cc6
push ebx
popal
outsb dx, byte gs:[esi]
imul ebp, dword [bp + 0x65], 0x63694c20
outsb dx, byte gs:[esi]
jae 0x845d25
jb 0x845cd8
inc esp
insd dword es:[edi], dx
outsd dx, dword [esi]
and byte [esi + 0x31], dh
cmp byte cs:[esi], ch
xor byte [esi], ch
xor byte [eax], al
lea esp, [esp + 4]
pushal
mov eax, dword fs:[0x30]
jmp 0x845d53
and cl, dl
lcall 0x50b2, 0x17e49d0d
retf 0x3f58
push 0
push 0xeb72f7a2
add dword [esp], 0x150a35d8
call fcn.007eb90a
call fcn.007eacdb
popal
jmp 0x8422a1
pop eax
xor ax, ax
cmp word [eax], 0x5a4d
je 0x845d36
sub eax, 0x10000
jmp 0x845d0e
pushal
pop es
pop ebx
mov dl, 0x29
mov ecx, 0xf3962bd8
jae 0x845d15
xchg byte [ebp - 0x26], dh
inc eax
movzx ebx, word [eax + 0x3c]
jmp 0x845d72
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
push eax
jmp 0x845c73
add ebx, eax
cmp word [ebx], 0x4550
je 0x845c8a
jmp 0x845d15
pop eax
sub eax, 0x845c48
cmp dword [eax + 0x7de36d], 0
je 0x845c5c
lea esp, [esp + 8]
popal
jmp 0x8422a1
Function at 0x401ab5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x425090]
jne 0x401abf
repz ret
jmp fcn.00402898

Function at 0x40a046
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.004068be
and dword [ebp - 4], 0
cmp dword [0x427df8], 0
mov ebx, eax
jne 0x40a0f7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a1a8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40a1a8
push eax
call fcn.0040684c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x427df8], eax
call esi
push eax
call fcn.0040684c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x427dfc], eax
call esi
push eax
call fcn.0040684c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x427e00], eax
call esi
push eax
call fcn.0040684c
pop ecx
mov dword [0x427e08], eax
test eax, eax
je 0x40a0f7
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040684c
pop ecx
mov dword [0x427e04], eax
mov eax, dword [0x427e04]
cmp eax, ebx
je 0x40a14f
cmp dword [0x427e08], ebx
je 0x40a14f
push eax
call fcn.004068c7
push dword [0x427e08]
mov esi, eax
call fcn.004068c7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a14f
test edi, edi
je 0x40a14f
call esi
test eax, eax
je 0x40a146
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a146
test byte [ebp - 0xc], 1
jne 0x40a14f
or dword [ebp + 0x10], 0x200000
jmp 0x40a188
mov eax, dword [0x427dfc]
cmp eax, ebx
je 0x40a188
push eax
call fcn.004068c7
pop ecx
test eax, eax
je 0x40a188
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a188
mov eax, dword [0x427e00]
cmp eax, ebx
je 0x40a188
push eax
call fcn.004068c7
pop ecx
test eax, eax
je 0x40a188
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x427df8]
call fcn.004068c7
pop ecx
test eax, eax
je 0x40a1a8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a1aa
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40bbdf
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x1f6ec04], 0x930
jne 0x40bbfc
push str.semaseniwonedic
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
cmp dword [0x1f6ec04], 0x114e
mov eax, dword [ebp + 8]
mov dword [0x1f6ea48], eax
jne 0x40bc1c
lea eax, [ebp - 0x1c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
leave
ret
Function at 0x401f32
Capabilities:
Get common file path

Disassembly:
sub esp, 0x584
and dword [esp + 0xc], 0
push ebx
mov ebx, ecx
lea ecx, [esp + 0x10]
push ebp
push esi
mov esi, edx
mov dword [esp + 0x2c], ebx
mov eax, dword [ebx]
mov dword [esp + 0x20], eax
push edi
mov eax, dword [esi]
mov edi, dword [ebx + 4]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x34], eax
call fcn.00401dd8
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi + 0xc]
add ebp, 0x23f
mov ebx, dword [esi + 8]
push 0x20
mov dword [esp + 0x20], ebp
mov dword [esp + 0x30], eax
pop esi
mov dword [esp + 0x28], 2
add dword [esp + 0x28], 3
mov edx, dword [esp + 0x24]
mov eax, edx
shl eax, 4
add eax, ebx
mov dword [esp + 0x18], 0xedeb2e40
cmp dword [0x2d05e84], 0xfa9
mov dword [esp + 0x10], eax
mov eax, dword [0x2d05ec8]
cmove eax, dword [esp + 0x18]
and dword [esp + 0x18], 0
cmp dword [0x2d05e84], 0x3eb
mov dword [0x2d05ec8], eax
mov eax, dword [0x2d05ed0]
cmove eax, dword [esp + 0x18]
mov dword [0x2d05ed0], eax
lea eax, [edx + ebp]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
shr eax, 5
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x10]
xor ebp, ebp
mov eax, dword [esp + 0x14]
xor ecx, dword [esp + 0x18]
add eax, dword [esp + 0x2c]
xor eax, ecx
mov dword [0x2d05ecc], 0xf4ea3dee
cmp dword [0x2d05e84], 0x213
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jne 0x40207f
push ebp
push ebp
push ebp
lea eax, [esp + 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
push ebp
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
lea eax, [esp + 0x194]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x30
lea eax, [esp + 0x4c]
mov dword [esp + 0x48], ebp
push ebp
push eax
call fcn.004041d0
add esp, 0xc
lea eax, [esp + 0x44]
push eax
push ebp
push 0x4102c8
call dword [sym.imp.KERNEL32.dll_CommConfigDialogW]
mov eax, dword [esp + 0x14]
sub edi, eax
mov eax, edi
mov dword [esp + 0x38], edi
shl eax, 4
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
add dword [esp + 0x10], eax
mov dword [esp + 0x20], ebp
mov eax, dword [esp + 0x1c]
add dword [esp + 0x20], eax
mov eax, dword [esp + 0x38]
nop
add dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x28]
mov eax, edi
shr eax, cl
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x34]
add dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
xor eax, dword [esp + 0x18]
xor dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
sub dword [esp + 0x24], eax
mov edx, 0x9e3779b9
lea ecx, [esp + 0x1c]
call fcn.00401f29
dec esi
je 0x4020f5
mov ebp, dword [esp + 0x1c]
jmp 0x401f83
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
mov dword [ebx + 4], edi
pop edi
pop esi
pop ebp
mov dword [ebx], eax
pop ebx
add esp, 0x584
ret
Function at 0x40c234
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4aa480]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004091f6
mov dword [ebp - 0x14], eax
cmp dword [0x2d06db8], esi
jne 0x40c327
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40c2b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40c407
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40c407
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c407
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x2d06db8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x2d06dbc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x2d06dc0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x2d06dc8], eax
test eax, eax
je 0x40c324
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x2d06dc4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40c34c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40c33f
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40c361
push 4
pop eax
jmp 0x40c409
cmp dword [ebp - 0x14], esi
je 0x40c361
push dword [0x2d06db8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40c346
mov eax, dword [0x2d06dc4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40c3bf
cmp dword [0x2d06dc8], edi
je 0x40c3bf
push eax
call ebx
push dword [0x2d06dc8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40c3bf
test eax, eax
je 0x40c3bf
call ecx
test eax, eax
je 0x40c3b4
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40c3b4
test byte [ebp - 8], 1
jne 0x40c3bf
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40c3ef
mov eax, dword [0x2d06dbc]
cmp eax, edi
je 0x40c3ec
push eax
call ebx
test eax, eax
je 0x40c3ec
call eax
mov esi, eax
test esi, esi
je 0x40c3ec
mov eax, dword [0x2d06dc0]
cmp eax, edi
je 0x40c3ec
push eax
call ebx
test eax, eax
je 0x40c3ec
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x2d06db8]
call ebx
test eax, eax
je 0x40c407
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40c409
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004045de
mov esp, ebp
pop ebp
ret
Function at 0x10034020
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009cd30
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.10092233
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.100350c0
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x10034074
jmp dword [ecx*4 + 0x100341dc]
mov al, byte [esi]
test al, al
je 0x100340a2
cmp al, 0x20
je 0x1003408e
cmp al, 0xa1
jne 0x100340a2
cmp byte [esi + 1], al
jne 0x100340a2
test al, 0x80
je 0x1003409a
mov al, byte [esi + 1]
inc esi
test al, al
je 0x100340a2
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10034081
test ecx, ecx
je case.default.0x10034074
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x10034074
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x100340e8
cmp dl, 0xa1
jne 0x100340dc
cmp byte [eax + 1], 0xa1
jne 0x100340dc
test ecx, ecx
jne 0x100340d4
mov edi, eax
mov ecx, 1
inc eax
jmp 0x100340fc
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x10034116
jmp 0x100340fc
cmp dl, 0x20
jne 0x100340fa
test ecx, ecx
jne 0x100340f3
mov edi, eax
mov ecx, 1
jmp 0x100340fc
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x100340bc
cmp ecx, 1
jne case.default.0x10034074
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10034074
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10034074
mov al, byte [esi]
test al, al
je 0x1003416e
test al, 0x80
mov byte [esp + 0x3c], al
je 0x10034154
mov cl, byte [esi + 1]
test cl, cl
je 0x1003416e
cmp al, 0xa1
jne 0x10034144
cmp cl, al
je 0x10034151
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.10035350
inc esi
jmp 0x10034166
cmp al, 0x20
je 0x10034166
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.10035390
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1003412d
push 0
lea ecx, [esp + 0x14]
call fcn.10035390
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10046530
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x100341a1
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x1017f7b0
call fcn.100352c0
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.100921c5
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x1003f070
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x1009d76b
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.10091f3a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x1003f0f2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.1008fce0
mov eax, dword [eax]
push 0x10190220
push eax
call fcn.10082984
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.100921c5
test bl, bl
je 0x1003f0f2
push 0x10190220
lea ecx, [esp + 0xc]
call fcn.10092555
push 0x10193da8
lea ecx, [esp + 0xc]
call fcn.10092555
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 0x1003f12e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.100921c5
jmp 0x1003f1f9
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 0x1003f1b2
lea edx, [esp + 0x7c]
push 0x10193da4
push edx
call fcn.10082984
add esp, 8
test eax, eax
je 0x1003f1b2
lea eax, [esp + 0x7c]
push 0x10193da0
push eax
call fcn.10082984
add esp, 8
test eax, eax
je 0x1003f1b2
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 0x1003f142
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.100921c5
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 0x10040450
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 0x100404b2
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 0x100404c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x1009d8cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x1019a320]
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 0x100405f8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x10040526
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.100921c5
xor eax, eax
jmp 0x1004066f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.10092302
push esi
lea ecx, [esp + 0xc]
call fcn.10092591
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 0x1004064d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.10040450
test eax, eax
jne 0x1004064d
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.10040450
test eax, eax
jne 0x1004064d
lea eax, [esp + 0x14]
push 0x10193dbc
push eax
call fcn.100839c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x1004062c
lea ecx, [esp + 0x14]
push 0x10193db8
push ecx
call fcn.10083940
mov esi, eax
add esp, 8
test esi, esi
jne 0x1004062c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x1004062f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.100922b2
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x1004053e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.100921c5
xor eax, eax
jmp 0x1004066f
mov byte [esi], 0
push 0x10193db4
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.100921c5
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 0x10052170
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 0x100521de
cmp si, 0x69
ja 0x100521de
add esi, 0xffd0
cmp si, 0x11
je 0x100521ae
push 0x11
call edi
test ax, ax
jge 0x100521ae
or esi, 0x2000
cmp si, 0x10
je 0x100521c3
push 0x10
call edi
test ax, ax
jge 0x100521c3
or esi, 0x4000
cmp si, 0x12
je 0x100521d8
push 0x12
call edi
test ax, ax
jge 0x100521d8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x100521eb
mov esi, 0xbd
jmp 0x1005219f
cmp si, 0x6e
jne 0x100521f8
mov esi, 0xbe
jmp 0x1005219f
cmp si, 0x6f
jne 0x10052199
mov esi, 0xbf
jmp 0x1005219f

Function at 0x100539a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x101aab90]
xor edx, edx
cmp eax, edx
jne 0x100539c6
xor eax, eax
mov byte [eax + 0x101aaa90], al
inc eax
cmp eax, 0x100
jl 0x100539ae
mov dword [0x101aab90], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x101aaa90
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x10053a57
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 0x10053a2a
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 0x100539f8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x10053ad0
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 0x10053b23
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 0x10053b0a
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