joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41220f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
lea eax, [ebp - 0x30]
push edi
push eax
call fcn.00411fc5
lea eax, [ebp - 0x10]
push eax
call fcn.00411fc5
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
pop ecx
pop ecx
xor edx, edx
movsx ecx, dx
mov eax, ecx
shl eax, 2
mov edi, dword [eax + esi]
xor edi, dword [eax + ebx]
lea ecx, [ecx*4 + 0x10]
mov dword [ebp + eax - 0x30], edi
mov edi, dword [ecx + esi]
xor edi, dword [ecx + ebx]
inc edx
mov dword [ebp + eax - 0x10], edi
cmp dx, 4
jb 0x412234
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00412109
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00412015
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00411fda
lea eax, [ebp - 0x10]
push eax
call fcn.00411f57
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
add esp, 0x20
cmp word [ecx], 0
je 0x4122cd
and dword [ebp + 0x14], 0
movsx eax, word [ebp + 0x14]
shl eax, 2
mov edx, dword [eax + esi]
xor edx, dword [eax + ebx]
xor edx, dword [eax + ecx + 4]
xor edx, dword [ebp + eax - 0x10]
xor edx, dword [ebp + eax - 0x20]
inc dword [ebp + 0x14]
cmp word [ebp + 0x14], 4
mov dword [eax + edi], edx
jb 0x4122a5
jmp 0x4122ed
xor ecx, ecx
movsx eax, cx
shl eax, 2
mov edx, dword [eax + esi]
xor edx, dword [eax + ebx]
xor edx, dword [ebp + eax - 0x10]
xor edx, dword [ebp + eax - 0x20]
inc ecx
mov dword [eax + edi], edx
cmp cx, 4
jb 0x4122cf
xor ecx, ecx
movsx eax, cx
shl eax, 2
mov edx, dword [eax + esi]
xor edx, dword [eax + edi]
inc ecx
mov dword [ebp + eax - 0x30], edx
cmp cx, 4
jb 0x4122ef
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00412015
add esp, 0xc
xor edx, edx
movsx eax, dx
lea ecx, [eax*4 + 0x10]
mov ebx, dword [ecx + esi]
shl eax, 2
xor ebx, dword [eax + edi]
xor ebx, dword [ebp + eax - 0x10]
inc edx
mov dword [ecx + edi], ebx
cmp dx, 4
jb 0x41231c
pop edi
pop esi
pop ebx
leave
ret

Function at 0x412342
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.00411fda
lea eax, [ebp - 0x10]
push eax
call fcn.00411fc5
add esp, 0xc
xor edx, edx
movsx eax, dx
mov ecx, eax
mov eax, dword [esi + eax*4 + 0x10]
shl ecx, 2
xor eax, dword [ecx + esi]
inc edx
mov dword [ebp + ecx - 0x10], eax
cmp dx, 4
jb 0x412364
push dword [ebp + 0x14]
lea eax, [ebp - 0x20]
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.0041220f
add esp, 0x10
pop esi
leave
ret
Function at 0x412396
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
mov ebx, dword [ebp + 8]
push esi
lea eax, [ebp - 0x30]
push eax
push ebx
call fcn.00412109
lea eax, [ebp - 0x20]
push eax
lea eax, [ebx + 0x10]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00412015
add esp, 0x14
xor ecx, ecx
movsx eax, cx
shl eax, 2
mov edx, dword [eax + ebx]
xor edx, dword [ebp + eax - 0x20]
inc ecx
mov dword [ebp + eax - 0x10], edx
cmp cx, 4
jb 0x4123c1
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00411fda
lea eax, [ebp - 0x40]
push eax
call fcn.00411f57
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
add esp, 0xc
cmp word [ecx], 0
je 0x412421
xor edx, edx
movsx eax, dx
shl eax, 2
mov ebx, dword [eax + ecx + 4]
xor ebx, dword [ebp + eax - 0x40]
xor ebx, dword [ebp + eax - 0x10]
inc edx
mov dword [eax + esi], ebx
cmp dx, 4
jb 0x412400
mov ebx, dword [ebp + 8]
jmp 0x41243b
xor ecx, ecx
movsx eax, cx
shl eax, 2
mov edx, dword [ebp + eax - 0x40]
xor edx, dword [ebp + eax - 0x10]
inc ecx
mov dword [eax + esi], edx
cmp cx, 4
jb 0x412423
lea eax, [ebp - 0x20]
push eax
call fcn.00411ffa
pop ecx
xor edx, edx
movsx eax, dx
shl eax, 2
lea ecx, [ebp + eax - 0x20]
mov eax, dword [ebp + eax - 0x10]
xor dword [ecx], eax
inc edx
cmp dx, 4
jb 0x412447
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.00412015
lea eax, [ebp - 0x30]
push eax
push ebx
call fcn.00411fda
lea eax, [ebp - 0x30]
push eax
call fcn.00411f57
add esp, 0x18
xor ecx, ecx
movsx eax, cx
mov edx, dword [ebp + eax*4 - 0x40]
xor edx, dword [ebp + eax*4 - 0x30]
inc ecx
mov dword [esi + eax*4 + 0x10], edx
cmp cx, 4
jb 0x412484
pop esi
pop ebx
leave
ret
Function at 0x4125c2
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d8
push ebx
xor ecx, ecx
push esi
inc ecx
push edi
mov eax, ecx
xor edi, edi
mov esi, 0xe3
cwde
mov word [ebp + eax*2 - 0x1d8], di
add eax, eax
cdq
mov ebx, esi
idiv ebx
inc edi
cmp di, 0x71
movzx eax, dx
jl 0x4125da
cmp ax, cx
jne 0x41261c
mov eax, 0xe2
xor edi, edi
cwde
mov word [ebp + eax*2 - 0x1d8], di
add eax, eax
cdq
mov ebx, esi
idiv ebx
inc edi
cmp di, 0x71
movzx eax, dx
jl 0x412600
jmp 0x41263d
push 0x71
pop edi
cwde
mov word [ebp + eax*2 - 0x1d8], di
add eax, eax
cdq
mov ebx, esi
idiv ebx
inc edi
movzx eax, dx
mov edx, 0xe2
cmp di, dx
jl 0x41261f
mov eax, ecx
mov word [0x412c38], ax
or eax, 0xffffffff
mov word [0x412dfe], ax
mov edi, ecx
mov dword [ebp - 8], 0x70
lea eax, [ecx + ecx]
cdq
mov ecx, esi
idiv ecx
movzx eax, dx
movsx ecx, ax
lea eax, [ecx + ecx]
mov edx, eax
neg edx
mov bx, word [ebp + edx - 0x10]
mov dx, word [ebp + edx - 0x14]
mov word [ebp - 0xe], dx
mov dx, word [ebp + eax - 0x1da]
mov ax, word [ebp + eax - 0x1d6]
mov word [ebp - 0xc], dx
xor edx, edx
mov word [ebp - 0x10], bx
mov word [ebp - 0xa], ax
mov dword [ebp - 4], edx
movsx eax, word [ebp - 4]
movzx eax, word [ebp + eax*2 - 0x10]
cmp ax, 0x71
jge 0x4126be
movsx ebx, dx
imul ebx, ebx, 0xe3
add ebx, edi
mov word [ebx*2 + 0x412c38], ax
inc edx
inc dword [ebp - 4]
cmp dx, 2
jl 0x41269b
inc edi
dec dword [ebp - 8]
jne 0x412657
push 0x70
pop ebx
xor eax, eax
push 0x10
mov word [0x412c18], ax
pop eax
mov edx, eax
mov edi, 0xffff0000
mov esi, edi
and esi, ebx
je 0x4126f1
add word [0x412c18], dx
mov ebx, esi
cdq
sub eax, edx
sar eax, 1
movzx edx, ax
movsx eax, dx
mov esi, edi
mov ecx, eax
shr esi, cl
xor edi, esi
test dx, dx
jne 0x4126e2
pop edi
pop esi
pop ebx
leave
ret
Function at 0x412785
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
xor eax, eax
xor ecx, ecx
push esi
mov esi, dword [ebp + 8]
movsx edx, cx
or eax, dword [esi + edx*4]
inc ecx
cmp cx, 4
jb 0x412790
test eax, eax
jne 0x4127ca
mov esi, dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
call fcn.00411fda
push esi
call fcn.00411f8d
lea eax, [esi + 0x10]
push eax
push esi
call fcn.00411fda
add esp, 0x14
xor eax, eax
jmp 0x41290e
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.00412109
lea eax, [ebp - 0x14]
push eax
call fcn.00411f57
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
call fcn.00412015
lea eax, [ebp - 0x24]
push eax
call fcn.00411f8d
add esp, 0x1c
xor eax, eax
xor ecx, ecx
movsx edx, cx
xor eax, dword [ebp + edx*4 - 0x24]
inc ecx
cmp cx, 4
jb 0x4127fd
or edx, 0xffffffff
mov dword [ebp - 4], 0x10
movsx ecx, word [ebp - 4]
sar word [ebp - 4], 1
shr edx, cl
mov esi, eax
shr esi, cl
mov ecx, edx
and ecx, eax
xor esi, ecx
cmp word [ebp - 4], 0
mov eax, esi
jg 0x412815
push edi
test eax, eax
je 0x412855
xor edi, edi
inc edi
mov esi, dword [ebp + 0x10]
push esi
call fcn.00411fc5
add esi, 0x10
push esi
call fcn.00411fc5
pop ecx
pop ecx
mov eax, edi
jmp 0x41290d
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.00411fc5
xor ebx, ebx
inc ebx
pop ecx
xor eax, eax
mov dword [ebp - 4], 0x71
mov ecx, eax
shr ecx, 5
push 3
lea edi, [eax + 1]
pop edx
sub edx, ecx
mov eax, edi
shr eax, 5
push 3
movzx edx, dx
pop ecx
sub ecx, eax
movzx esi, cx
movsx ecx, dx
shl ecx, 2
mov eax, dword [ebp + ecx - 0x14]
xor eax, dword [ebp + ecx - 0x24]
and eax, ebx
cmp si, dx
jne 0x4128ad
movsx ecx, si
add eax, eax
lea ecx, [ebp + ecx*4 - 0x14]
or dword [ecx], eax
add ebx, ebx
jmp 0x4128bb
xor ebx, ebx
inc ebx
test eax, eax
je 0x4128bb
movsx eax, si
mov dword [ebp + eax*4 - 0x14], ebx
dec dword [ebp - 4]
mov eax, edi
jne 0x41286c
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 0x24]
pop ebx
test eax, 0x10000
je 0x4128d8
push 2
pop edi
jmp 0x41283a
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
push esi
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.00412015
lea eax, [esi + 0x10]
push eax
call fcn.00411fc5
add esp, 0x10
xor ecx, ecx
movsx eax, cx
mov edx, dword [edi + eax*4]
xor edx, dword [esi + eax*4]
inc ecx
mov dword [esi + eax*4 + 0x10], edx
cmp cx, 4
jb 0x4128f7
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x414091
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call fcn.00411b01
xor edi, edi
cmp dword [ebp + 0x14], 2
mov esi, eax
jne 0x414143
lea eax, [edi + 2]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
call fcn.00412b1f
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp + eax - 0x28]
xor dword [ebp + eax - 0x18], ecx
add eax, 4
cmp eax, 0x10
jl 0x4140d0
inc edi
cmp edi, 4
jl 0x4140bb
call fcn.00411b01
mov ebx, eax
call fcn.00411b01
mov dword [ebp + 0x14], eax
xor edi, edi
push ebx
push 0x20
push esi
call fcn.00411d59
push dword [ebp + edi*4 - 0x18]
push dword [ebp + 0x14]
call fcn.00411b63
push esi
push dword [ebp + 0x14]
push ebx
call fcn.00412cbe
add esp, 0x20
inc edi
cmp edi, 4
jl 0x4140f7
mov eax, dword [ebp + 0x10]
push dword [eax]
push dword [ebp + 0xc]
push esi
call fcn.0041305f
push dword [ebp + 0x14]
call fcn.00411b18
push ebx
call fcn.00411b18
add esp, 0x14
jmp 0x414205
inc edi
cmp dword [ebp + 0x14], edi
jne 0x4141e4
call fcn.00411b01
mov dword [ebp - 8], eax
call fcn.00411b01
mov dword [ebp + 0x14], eax
call fcn.00411b01
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.00412a1a
push eax
push esi
call fcn.00411b63
push esi
push dword [ebp - 4]
call fcn.00411b36
add esp, 0x14
cmp dword [ebp + 0x18], ebx
jle 0x4141b9
push dword [ebp - 8]
push 0x20
push esi
call fcn.00411d59
push dword [ebp + 8]
lea edi, [ebx + 2]
call fcn.00412a1a
push eax
push dword [ebp + 0x14]
call fcn.00411b63
push esi
push dword [ebp + 0x14]
push dword [ebp - 8]
call fcn.00412cbe
add esp, 0x24
inc ebx
cmp ebx, dword [ebp + 0x18]
jl 0x414185
mov eax, dword [ebp + 0x10]
push dword [eax]
push dword [ebp + 0xc]
push dword [ebp - 4]
push esi
call fcn.00413f7f
push dword [ebp - 4]
call fcn.00411b18
push dword [ebp + 0x14]
call fcn.00411b18
push dword [ebp - 8]
call fcn.00411b18
jmp 0x414202
push dword [ebp + 8]
call fcn.00412a1a
push eax
push esi
call fcn.00411b63
mov eax, dword [ebp + 0x10]
push dword [eax]
push dword [ebp + 0xc]
push esi
push esi
call fcn.00413f7f
add esp, 0x1c
push esi
call fcn.00411b18
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x419410
Capabilities:
Accept command line arguments
Read .ini file

Disassembly:
sub esp, 0x414
lea eax, [esp + 0x20c]
push ebx
push ebp
push esi
push edi
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea ecx, [esp + 0x21c]
push ecx
mov edi, eax
call ebx
push str.system.ini
lea edx, [esp + 0x18]
mov esi, eax
push 0x104
push edx
push esi
push str.shell
push str.boot
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveArgsW]
lea ecx, [esp + 0x10]
push ecx
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
lea edx, [esp + 0x14]
mov edi, eax
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveBlanksW]
lea eax, [esp + 0x14]
push eax
call ebx
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test edi, edi
mov ebp, eax
je 0x4194b5
mov ecx, dword [0x4d28dc]
push 0x4d25e0
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push ebp
push esi
push ebx
call dword [sym.imp.SHELL32.dll_StrCmpNIW]
test eax, eax
je 0x4194df
push str.install.exe
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4194df
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x414
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x414
ret

Function at 0x4c6c86
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4cf488
cmp edx, dword [eax]
je 0x4c6ca8
add eax, 8
inc ecx
cmp eax, 0x4cf518
jl 0x4c6c99
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4cf488]
jne 0x4c6dd6
mov eax, dword [0x4d3b6c]
cmp eax, 1
je 0x4c6db0
test eax, eax
jne 0x4c6cd9
cmp dword [0x4cf3cc], 1
je 0x4c6db0
cmp edx, 0xfc
je 0x4c6dd6
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c6d10
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004c73a0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c75d0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c6d53
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c75d0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4cae28
push edi
call fcn.004c8da0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004c73a0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c73b0
lea eax, [ebp - 0xa0]
push 0x4cae08
push eax
call fcn.004c73b0
push dword [esi + 0x4cf48c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c73b0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004c8d14
add esp, 0x2c
pop edi
jmp 0x4c6dd6
lea eax, [ebp + 8]
lea esi, [esi + 0x4cf48c]
push 0
push eax
push dword [esi]
call fcn.004c75d0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x409a10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x456b00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
xor edx, edx
mov eax, 0x45fe2c
push edi
mov edi, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x30]
mov ebp, dword [0x45b0e8]
push 0xf
push 0xf
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push eax
push ecx
push edx
push edx
mov byte [esp + 0x40], 1
lea ebx, [edi + 0x214]
call ebp
push eax
mov ecx, ebx
call fcn.0044ed07
mov eax, dword [esi + 8]
push 0x19
push eax
push 0
push 0
call dword [0x45b0dc]
push eax
lea ecx, [esp + 0x14]
call fcn.0044ed07
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
sub eax, 3
push 0xc
sub ecx, 3
push 0xc
push eax
push ecx
push 0
push 3
call ebp
push eax
lea ecx, [esp + 0x1c]
call fcn.0044ed07
push 1
push 1
push 0
push 0
lea ebp, [edi + 0x20c]
call dword [0x45b0dc]
push eax
mov ecx, ebp
call fcn.0044ed07
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
neg eax
sbb eax, eax
and eax, edx
test ebx, ebx
je 0x409ae3
mov ebx, dword [ebx + 4]
push 4
push eax
mov eax, dword [edi + 0x210]
push ebx
mov ebx, dword [0x45b0e0]
push eax
call ebx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
neg eax
sbb eax, eax
and eax, edx
test ebp, ebp
je 0x409b0b
mov ebp, dword [ebp + 4]
mov ecx, dword [edi + 0x210]
push 4
push eax
push ebp
push ecx
call ebx
mov eax, dword [esi + 0xc]
mov esi, dword [esi + 8]
sub eax, 3
push 0xc
sub esi, 3
push 0xc
push eax
push esi
push 0
push 3
lea ebx, [edi + 0x21c]
call dword [0x45b0e8]
push eax
mov ecx, ebx
call fcn.0044ed07
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
neg eax
sbb eax, eax
and eax, edx
test ebx, ebx
je 0x409b57
mov ebx, dword [ebx + 4]
mov edx, dword [edi + 0x220]
push 4
push eax
push ebx
push edx
call dword [0x45b0e0]
lea ecx, [esp + 0x10]
call fcn.0044ed5e
lea ecx, [esp + 0x18]
call fcn.0044ed5e
mov esi, 0x45f600
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 2
call fcn.0044ed5e
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 3
call fcn.0044ed5e
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x41b4d0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4812db
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.00475da2
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41b552
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0047351d
mov eax, dword [eax]
push 0x4a8c84
push eax
call fcn.00466304
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0047602d
test bl, bl
je 0x41b552
push 0x4a8c84
lea ecx, [esp + 0xc]
call fcn.004763bd
push 0x4a8c90
lea ecx, [esp + 0xc]
call fcn.004763bd
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 0x41b58e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0047602d
jmp 0x41b659
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 0x41b612
lea edx, [esp + 0x7c]
push 0x4a8c8c
push edx
call fcn.00466304
add esp, 8
test eax, eax
je 0x41b612
lea eax, [esp + 0x7c]
push 0x4a8c88
push eax
call fcn.00466304
add esp, 8
test eax, eax
je 0x41b612
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 0x41b5a2
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.0047602d
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 0x41be50
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 0x41beb2
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 0x41bec0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48135b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4af434]
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 0x41bff8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41bf26
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047602d
xor eax, eax
jmp 0x41c06f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0047616a
push esi
lea ecx, [esp + 0xc]
call fcn.004763f9
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 0x41c04d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0041be50
test eax, eax
jne 0x41c04d
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.0041be50
test eax, eax
jne 0x41c04d
lea eax, [esp + 0x14]
push 0x4a8ca0
push eax
call fcn.00467340
mov esi, eax
add esp, 8
test esi, esi
jne 0x41c02c
lea ecx, [esp + 0x14]
push 0x4a8c9c
push ecx
call fcn.004672c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41c02c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41c02f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0047611a
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41bf3e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047602d
xor eax, eax
jmp 0x41c06f
mov byte [esi], 0
push 0x4a8c98
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.0047602d
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 0x4312e0
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 0x43134e
cmp si, 0x69
ja 0x43134e
add esi, 0xffd0
cmp si, 0x11
je 0x43131e
push 0x11
call edi
test ax, ax
jge 0x43131e
or esi, 0x2000
cmp si, 0x10
je 0x431333
push 0x10
call edi
test ax, ax
jge 0x431333
or esi, 0x4000
cmp si, 0x12
je 0x431348
push 0x12
call edi
test ax, ax
jge 0x431348
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x43135b
mov esi, 0xbd
jmp 0x43130f
cmp si, 0x6e
jne 0x431368
mov esi, 0xbe
jmp 0x43130f
cmp si, 0x6f
jne 0x431309
mov esi, 0xbf
jmp 0x43130f

Function at 0x432b30
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4bfba8]
xor edx, edx
cmp eax, edx
jne 0x432b56
xor eax, eax
mov byte [eax + 0x4bfaa8], al
inc eax
cmp eax, 0x100
jl 0x432b3e
mov dword [0x4bfba8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4bfaa8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x432be7
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 0x432bba
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 0x432b88
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x432c60
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 0x432cb3
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 0x432c9a
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