joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4dbc1c
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x4dbbf1
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4dbc0f
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
ror byte [ecx - 0x3e7443bb], cl
ror byte [ecx - 0x3e7443bb], cl
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x4dbc6d
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x4dbc54
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x4dbc5d
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x4dbc67
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x4dbc49
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x4dbbd3
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x4dbcba
dec eax
je 0x4dbcb1
sub eax, 3
je 0x4dbca8
mov dword [ebp - 4], 0x40
jmp 0x4dbcd7
mov dword [ebp - 4], 4
jmp 0x4dbcbd
mov dword [ebp - 4], 0x20
jmp 0x4dbcbd
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x4dbd09
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x4dbc89
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.004db51a
xchg edx, eax
pop esi
jp 0x4dbcfd
push dword [ebp + 0x14]
jne 0x4dbd14
push 1
push esi
call edi
mov eax, esi
jmp 0x4dbd15
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4dbe33
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [ebx]
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20

Function at 0x4fbd5c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x629d58]
jne 0x4fbd66
repz ret
jmp fcn.0050514c
Function at 0x4194d0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0xc
mov al, byte [0x4d104e]
push esi
mov esi, ecx
push edi
mov cl, byte [0x4d1043]
xor cl, al
mov al, byte [0x4d1041]
mov byte [0x4d1043], cl
mov cl, al
or cl, 0xc
shr cl, 2
and ecx, 0xff
mov dword [esp + 8], ecx
fild dword [esp + 8]
fdivr qword [0x4d4a18]
fadd qword [0x4d49b8]
fstp qword [0x4d4a18]
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x4195e5
mov dl, byte [0x4d1045]
mov cl, byte [0x4d104d]
or dl, 2
or al, cl
shr dl, 1
and edx, 0xff
mov byte [0x4d1041], al
mov dword [esp + 8], edx
fild dword [esp + 8]
fdivr qword [0x4d1058]
fadd qword [0x4cc9c0]
fstp qword [0x4d49b8]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
je 0x419593
mov edx, dword [0x4d4b04]
push 0x4d47f0
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov eax, dword [0x4d4b04]
push eax
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
mov dword [0x4d3fd8], eax
push 0x4d1074
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [0x4d103c]
mov edi, eax
mov dword [esp + 0x10], 0
lea edx, [ecx*4]
mov ecx, dword [0x4d1038]
or edx, ecx
mov dword [esp + 0xc], edx
fild qword [esp + 0xc]
fstp qword [0x4d1058]
call fcn.00419410
test edi, edi
mov dword [esi], edi
je 0x4195e5
push 0x4d1064
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 8], eax
pop edi
pop esi
add esp, 0xc
ret

Function at 0x4c6e85
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4d13b0
cmp edx, dword [eax]
je 0x4c6ea7
add eax, 8
inc ecx
cmp eax, 0x4d1440
jl 0x4c6e98
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4d13b0]
jne 0x4c6fd5
mov eax, dword [0x4d6de8]
cmp eax, 1
je 0x4c6faf
test eax, eax
jne 0x4c6ed8
cmp dword [0x4d12d8], 1
je 0x4c6faf
cmp edx, 0xfc
je 0x4c6fd5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c6f0f
lea eax, [ebp - 0x1a4]
push 0x4ccd40
push eax
call fcn.004c7870
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c7d00
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c6f52
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c7d00
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4ccd3c
push edi
call fcn.004c9bd0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4ccd20
push eax
call fcn.004c7870
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c7880
lea eax, [ebp - 0xa0]
push 0x4ccd1c
push eax
call fcn.004c7880
push dword [esi + 0x4d13b4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c7880
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4cccf4
push eax
call fcn.004c9b44
add esp, 0x2c
pop edi
jmp 0x4c6fd5
lea eax, [ebp + 8]
lea esi, [esi + 0x4d13b4]
push 0
push eax
push dword [esi]
call fcn.004c7d00
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 0x425294
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4252ed
test eax, edx
je 0x4252f0
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x4252ab
movzx eax, word [eax]
sub eax, ecx
jmp 0x4252d2
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x4252d3
add ecx, 4
js 0x4252c3
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x4252d0
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x4252d2
xor eax, eax
ret
test eax, eax
je 0x4252fc
test edx, edx
jne 0x42529c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x42eb10
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.0040a418
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040fb18
mov edi, eax
cmp edi, 0x104
jbe 0x42eabb
mov eax, edi
add eax, eax
call fcn.00406e90
mov esi, eax
jmp 0x42eabd
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040fb18
push esi
call fcn.00415e64
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x42eaf6
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x42eae0
mov eax, esp
cmp esi, eax
je 0x42eb03
mov eax, esi
call fcn.00406eac
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x42eb3c
cmp bl, 0
je 0x42eb38
cmp bl, 0x41
jl 0x42eb33
cmp bl, 0x5a
jg 0x42eb33
or bl, 0x20
xor al, bl
inc esi
jmp 0x42eb17
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x42ea7c
Function at 0x500ab1
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x500ab9
mov eax, edx
pop esi
pop ebx
ret

Function at 0x539acd
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x539ad3
ret
Function at 0x101b877c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10298530]
jne 0x101b8786
repz ret
jmp fcn.101b8a2d

Function at 0x101b8d8a
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa0
call fcn.1000108f
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x2c], ecx
je 0x101b8e98
jmp 0x101b8f05
lea eax, [esp + 0x30]
mov dword [esp], eax
call fcn.101b969b
lea ecx, [0x101b8cf0]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x44], edx
mov dword [esp + 0x78], 0x2f1800
mov edx, dword [0x102984f4]
mov dword [esp + 0x58], edx
mov edx, dword [0x102984f8]
mov dword [esp + 0x8c], edx
mov edx, dword [0x102984fc]
mov dword [esp + 0x4c], edx
mov edx, dword [0x10298500]
mov dword [esp + 0x48], edx
mov dword [0x1029850c], 0x19b2
mov edx, dword [0x10298504]
mov dword [esp + 0x80], edx
mov dword [0x10298508], 0x1c3
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
jmp 0x101b8ec2
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x40], ecx
mov dword [0x1029850c], 0x10cc
mov edx, dword [esp + 0x1c]
mov esi, dword [ecx + edx + 0x50]
add eax, 0x1c
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], eax
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [ecx], edx
mov dword [0x10298508], 0xfd
mov esi, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.101b92c1
mov ecx, esp
lea edx, [esp + 0x40]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x10], eax
jmp 0x101b8efd
lea eax, [esp + 0x40]
mov dword [0x10298508], 0x23dd
mov dword [esp + 0xc], eax
call fcn.101b8f7b
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x10], ecx
je 0x101b8db2
jmp 0x101b8efd
mov eax, dword [esp + 0x24]
cmp word [eax], 0x5a4d
mov dword [esp + 0x20], eax
jne 0x101b8ee9
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x1c], ecx
je 0x101b8e2d
mov eax, dword [esp + 0x20]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x24], eax
jmp 0x101b8ec2
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x101b8f7b
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x101b8ff3
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x101b8fda
mov dword [0x1029850c], 0x454
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
mov dx, word [eax + ecx*2 - 0xe]
mov word [ebp - 0x1a], dx
mov eax, 1
mov cx, word [ebp - 0x1a]
cmp cx, 0x6c
mov dword [ebp - 0x14], eax
jne 0x101b8fa7
mov eax, dword [ebp - 0x14]
add esp, 0x28
pop ebp
ret
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x101b905c
jmp 0x101b8fa7
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
je 0x101b9020
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], eax
jl 0x101b8ff3
mov eax, dword [ebp - 0x24]
mov ecx, dword [0x1029850c]
add ecx, 0xffffe365
mov dword [0x1029850c], ecx
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
jne 0x101b8fa7
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x101b8fe2
jmp 0x101b8fa7
mov dword [0x1029850c], 0x1fa8
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x14], 0x64
sete dl
mov byte [ebp - 0x25], dl
mov al, byte [ebp - 0x25]
test al, 1
jne 0x101b9085
jmp 0x101b8fa7
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x101b8fa7
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x101b8fae
jmp 0x101b8fa7
Function at 0x101b9135
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 8]
mov dword [0x10298508], 0x1573
mov dword [0x1029850c], 0x16cd
mov dword [ebp - 0x10], eax
call fcn.101b9dfe
mov ecx, eax
add eax, 0x3c
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x14]
mov edx, dword [esi + edx + 0x78]
mov dword [0x10298508], 0x18ab
add esi, dword [esi + edx + 0x20]
mov dword [0x1029850c], 0xfffff700
mov edi, dword [ebp - 0x14]
mov ebx, dword [edi + edx + 0x18]
cmp ebx, 0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], eax
je 0x101b92b6
jmp 0x101b91e9
mov eax, dword [ebp - 0x2c]
movzx ecx, word [eax]
mov dword [0x1029850c], 0xfffffc3d
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
add eax, dword [eax + ecx + 0x1c]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x30]
add edx, dword [eax + esi*4]
mov dword [0x10298508], 0x25e0
mov dword [ebp - 0x28], edx
jmp 0x101b92b6
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
xor edx, edx
mov esi, dword [ebp - 0x24]
mov edi, dword [esi + eax*4]
mov dword [0x10298508], 0x1573
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov ecx, eax
mov edx, dword [ebp - 0x40]
add ecx, edx
mov esi, dword [ebp - 0x14]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x49], bh
mov byte [ebp - 0x4a], cl
je 0x101b927c
mov eax, dword [ebp - 0x48]
add eax, 1
mov cl, byte [ebp - 0x49]
cmp cl, 0
setne dl
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x51], dl
mov al, byte [ebp - 0x4a]
mov cl, byte [ebp - 0x51]
and al, cl
mov edx, dword [ebp - 0x50]
cmp edx, 0x20
setb ah
and al, ah
test al, 1
mov dword [ebp - 0x44], edx
jne 0x101b921f
mov al, byte [ebp - 0x4a]
test al, 1
jne 0x101b91b1
jmp 0x101b9289
mov eax, dword [ebp - 0x2c]
add eax, 2
mov dword [ebp - 0x58], eax
xor eax, eax
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov edx, dword [ebp - 0x1c]
cmp ecx, edx
mov esi, dword [ebp - 0x58]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x28], eax
jb 0x101b91fb
mov eax, dword [ebp - 0x28]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101b92c1
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x101b9315
lea eax, [ebp - 0x24]
mov dword [0x10298508], 0x1da9
mov dword [ebp - 0x34], eax
call fcn.101b9c96
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
mov ecx, dword [ebp - 0x34]
mov dword [esp + 4], ecx
call fcn.101b9f5c
cmp eax, 0
mov dword [ebp - 0x3c], eax
je 0x101b93e3
jmp 0x101b933d
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x101bc572]
mov dl, byte [eax + 0x101bc543]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
je 0x101b92db
jmp 0x101b9315
mov eax, dword [ebp - 0x3c]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x40], eax
call fcn.101b9587
xor eax, eax
mov ecx, dword [ebp - 0x40]
mov word [ecx], 0x5a4d
mov dword [0x1029850c], 0x25b8
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x3c], ecx
mov ecx, dword [0x1029850c]
add ecx, 0xffffdb01
mov dword [0x10298508], ecx
mov ecx, dword [ebp - 0x40]
mov dword [edx + 0x14], ecx
add ecx, 0x15ce
mov esi, dword [ebp - 0x40]
cmp esi, 0
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], eax
je 0x101b93da
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
add esp, 0x54
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x54
pop esi
pop ebp
ret
Function at 0x101b93eb
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x10298510], 0
mov dword [0x10298514], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov dword [0x10298520], 0
mov ecx, dword [0x10298508]
add ecx, 0xfffff5dd
mov dword [0x10298508], ecx
mov edx, dword [ebp - 0x10]
cmp edx, 0
mov esi, eax
mov edi, eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], ecx
je 0x101b9572
jmp 0x101b9485
mov eax, dword [0x10298510]
mov ecx, dword [0x10298514]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
jmp 0x101b9485
mov eax, dword [0x10298508]
mov dword [ebp - 0x2c], eax
jmp 0x101b9572
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x28]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x34], eax
mov eax, ecx
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x10298510], edx
mov dword [0x10298508], 0x5da
mov ecx, dword [ebp - 0x1c]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x38]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x3c], edx
cdq
idiv esi
mov dword [0x10298514], edx
mov esi, dword [ebp - 0x3c]
mov cl, byte [ecx + esi]
mov byte [0x10298518], cl
mov dword [0x1029850c], 0xfffff29a
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x10298508], 0x1926
mov cl, byte [0x10298518]
mov edx, dword [0x10298514]
mov byte [edi + edx], cl
mov edx, dword [0x10298510]
movzx edx, byte [edi + edx]
mov ebx, dword [0x10298514]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x10298520], ebx
mov dword [0x10298508], 0x145c
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x34]
mov cl, byte [edx + ecx]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x34]
mov byte [ebx + edx], cl
mov ecx, dword [0x1029850c]
add ecx, 0x22d8
mov dword [0x1029850c], ecx
add edx, 1
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
mov dword [ebp - 0x30], edx
je 0x101b9478
jmp 0x101b945f
mov eax, dword [ebp - 0x2c]
add eax, 0xfffff31d
mov dword [0x10298508], eax
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101b9a43
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov edi, dword [0x10298508]
add edi, 0x2328
mov dword [0x10298508], edi
mov dword [0x10298514], 0
mov byte [0x10298518], 0
mov dword [0x1029850c], 0x7d9
mov dword [0x10298510], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x101b9b66
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x1029851c], 0
mov dword [0x10298508], 0x1ffd
mov edx, dword [0x10298514]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x1029851c], edi
mov dword [0x10298508], 0x23c4
mov eax, edi
cdq
idiv ecx
mov dword [0x10298514], edx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x10298518], cl
mov dword [0x1029850c], 0x1bb3
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov dword [0x10298508], 0x2629
mov dword [0x1029850c], 0xd8f
mov cl, byte [0x10298518]
mov edx, dword [0x10298514]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x10298510]
add edx, 1
mov dword [0x10298510], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x101b9a9f
jmp 0x101b9bbe
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x10298508], 0x21bf
mov dword [0x1029850c], 0x18c6
mov eax, dword [0x10298510]
add eax, 1
mov dword [0x10298510], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101b9b66
mov dword [0x10298508], 0x2160
mov dword [0x10298510], 0
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x101b9a9f
mov dword [0x10298508], 0x23ae
mov dword [0x1029850c], 0x13e9
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101ba0dc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [0x10298508], 0x2396
cmp ecx, 0
sete dl
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x15], dl
mov eax, 0xffffffff
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
sete dl
mov dh, byte [ebp - 0x15]
and dh, dl
test dh, 1
mov dword [ebp - 0x1c], eax
jne 0x101ba2f4
jmp 0x101ba1e5
xor eax, eax
mov ecx, dword [ebp - 0x20]
mov dword [0x1029850c], ecx
mov dword [0x10298508], 0x4ef
mov dword [ebp - 0x1c], eax
jmp 0x101ba2f4
mov eax, dword [ebp - 0x24]
mov ecx, eax
add ecx, 0x24
mov edx, dword [eax + 0x28]
mov esi, dword [eax + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x25]
and bh, bl
test bh, 1
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], esi
jne 0x101ba1a3
mov eax, 0xd99
xor ecx, ecx
mov edx, dword [ebp - 0x30]
mov si, word [edx]
shr si, 1
movzx edi, si
cmp si, 0
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
je 0x101ba1c7
jmp 0x101ba259
mov dword [0x1029850c], 0x1a58
mov dword [0x10298508], 0x4ef
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff8
mov dword [ebp - 0x1c], eax
jmp 0x101ba2f4
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x48]
cmp edx, esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
je 0x101ba12e
jmp 0x101ba14b
mov dword [0x10298508], 0x1b38
mov dword [0x1029850c], 0x133d
mov ecx, dword fs:[0x18]
xor eax, eax
mov dword [0x10298508], 0x1b91
mov edx, dword [0x1029850c]
add edx, 0xfffff7a6
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0xc]
mov esi, ecx
add esi, 0x14
mov ecx, dword [ecx + 0x14]
mov dword [0x10298508], edx
cmp ecx, esi
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x1c], eax
je 0x101ba2f4
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov edx, dword [ebp - 0x4c]
mov byte [ebp - 0x25], cl
mov dword [ebp - 0x24], edx
jmp 0x101ba14b
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x34]
mov dx, word [ecx + eax*2]
mov si, dx
add si, 0xffbf
mov di, dx
add di, 0x20
cmp si, 0x1a
mov dword [ebp - 0x50], eax
mov word [ebp - 0x52], dx
mov word [ebp - 0x54], di
jb 0x101ba28d
mov ax, word [ebp - 0x52]
mov word [ebp - 0x54], ax
mov ax, word [ebp - 0x54]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x50]
cmp word [ecx + edx*2], ax
sete bl
add edx, 1
cmp ax, 0
setne bh
mov al, bl
and al, bh
mov esi, dword [ebp - 0x3c]
cmp edx, esi
setb bh
and al, bh
test al, 1
mov byte [ebp - 0x55], bl
mov dword [ebp - 0x44], edx
jne 0x101ba259
mov eax, 0x16ea
mov cl, byte [ebp - 0x55]
test cl, 1
mov dword [ebp - 0x40], eax
jne 0x101ba2d8
jmp 0x101ba1c7
mov dword [0x1029850c], 0x16ea
mov dword [0x10298508], 0xaeb
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1c], eax
jmp 0x101ba2f4
mov eax, dword [ebp - 0x1c]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret