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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov byte [ebp - 1], cl
sub edx, 0
inc edx
mov dword [ebp - 8], edx
mov esi, dword [ebp - 8]
dec esi
test esi, esi
jl 0x417411
inc esi
xor ecx, ecx
movzx edx, byte [eax]
movzx ebx, byte [ebp - 1]
mov byte [ebp - 9], bl
xor dl, byte [ebp - 9]
mov ebx, dword [ebp + 8]
add ebx, ecx
mov edi, ebx
mov byte [edi], dl
inc ecx
inc eax
dec esi
jne 0x4173f6
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
mov byte [eax], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
mov ebx, 0x408ecc
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
mov esi, 0x207575c9
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x406c2c24
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x30032398
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x30033f10
call fcn.3003260e
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x3006be98
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x30032188
cmp eax, esi
jne 0x3003217b
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x3003218b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x30032162
xor esi, esi
inc esi
mov eax, dword [0x3006be94]
cmp eax, esi
jne 0x3003219e
push 0x1f
call sub.MSVCR80.dll__amsg_exit
pop ecx
jmp 0x300321d9
mov eax, dword [0x3006be94]
test eax, eax
jne 0x300321d3
mov dword [0x3006be94], esi
push 0x3000130c
push 0x30001300
call fcn.301de000
pop ecx
pop ecx
test eax, eax
je 0x300321d9
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x300322b0
mov dword [0x3006bb50], esi
mov eax, dword [0x3006be94]
cmp eax, esi
jne 0x300321fd
push 0x300012fc
push 0x300012e4
call sub.MSVCR80.dll__initterm
pop ecx
pop ecx
mov dword [0x3006be94], 2
cmp dword [ebp - 0x1c], ebx
jne 0x3003220a
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x3006bea4], ebx
je 0x3003222b
push 0x3006bea4
call fcn.300329cc
pop ecx
test eax, eax
je 0x3003222b
push ebx
push 2
push ebx
call dword [0x3006bea4]
mov eax, dword [0x3006bb38]
mov ecx, dword [sym.imp.MSVCR80.dll___winitenv]
mov dword [ecx], eax
push dword [0x3006bb38]
push dword [0x3006bb3c]
push dword [0x3006bb34]
call fcn.3001d9bd
add esp, 0xc
mov dword [0x3006bb4c], eax
cmp dword [0x3006bb40], ebx
jne 0x30032296
push eax
call dword [sym.imp.MSVCR80.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.MSVCR80.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x3006bb50], ebx
jne 0x300322a4
call dword [sym.imp.MSVCR80.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x3006bb4c]
call fcn.30032653
ret
call fcn.30032029
jmp 0x30032140
Function at 0x402050
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x408048
call sym._EnterCriticalSection_4
mov ebx, dword [0x408040]
sub esp, 4
test ebx, ebx
je 0x40209b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x402094
test esi, esi
je 0x402094
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402070
mov dword [esp], 0x408048
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x402280
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x4022d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x4023a8
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x40230e
cmp eax, 4
jne 0x402330
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x40231e
cmp edx, 4
je 0x40231e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00402280
Function at 0x1016ee29
Capabilities:
Encode data using xor

Disassembly:
invalid
daa
adc byte [0xe73d3d85], cl
push ecx
or byte [edi], al
test dword [0x851e73d], edi
pop es
pop edi
pop ecx
push ds
pop ecx
inc ecx
stosb byte es:[edi], al
and byte [0xb6ffe059], al
add dl, dh
adc dword [ecx - 0x61], 0xa3d307ef
mov al, 0xcf
add dword [edx], edi
push ecx
adc byte [ecx], dh
xor bl, byte gs:[edi + 0x1f3bc6e6]
xor bl, byte gs:[edi + 0x1f3bc6e6]
xor bl, byte gs:[edi + 0x1f3bc6e6]
loope 0x1016ee05
or al, 0x6e
xlatb
dec edx
pushfd
inc ebx
jno 0x1016ee02
pop eax
cmp ebp, eax
mov eax, dword [edi]
cli
int 0x92
imul ebp, ebp, 0x2cf8b8d6
cld
mov eax, dword [0x5d599ea4]
loope 0x1016eddc
invalid

Function at 0x101c4e98
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x102852c8]
jne 0x101c4ea2
repz ret
jmp fcn.101c862c

Function at 0x101ca70e
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.101c4f33
and dword [ebp - 4], 0
cmp dword [0x1028729c], 0
mov ebx, eax
jne 0x101ca7bf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x101ca870
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x101ca870
push eax
call fcn.101c4ec1
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1028729c], eax
call esi
push eax
call fcn.101c4ec1
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x102872a0], eax
call esi
push eax
call fcn.101c4ec1
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x102872a4], eax
call esi
push eax
call fcn.101c4ec1
pop ecx
mov dword [0x102872ac], eax
test eax, eax
je 0x101ca7bf
push 0x101d82bc
push edi
call esi
push eax
call fcn.101c4ec1
pop ecx
mov dword [0x102872a8], eax
mov eax, dword [0x102872a8]
cmp eax, ebx
je 0x101ca817
cmp dword [0x102872ac], ebx
je 0x101ca817
push eax
call fcn.101c4f3c
push dword [0x102872ac]
mov esi, eax
call fcn.101c4f3c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x101ca817
test edi, edi
je 0x101ca817
call esi
test eax, eax
je 0x101ca80e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x101ca80e
test byte [ebp - 0xc], 1
jne 0x101ca817
or dword [ebp + 0x10], 0x200000
jmp 0x101ca850
mov eax, dword [0x102872a0]
cmp eax, ebx
je 0x101ca850
push eax
call fcn.101c4f3c
pop ecx
test eax, eax
je 0x101ca850
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x101ca850
mov eax, dword [0x102872a4]
cmp eax, ebx
je 0x101ca850
push eax
call fcn.101c4f3c
pop ecx
test eax, eax
je 0x101ca850
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1028729c]
call fcn.101c4f3c
pop ecx
test eax, eax
je 0x101ca870
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x101ca872
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x101d4ef8
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]
mov dword [0x10284d50], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov byte [0x10284d54], 0
mov dword [0x10284d44], 0x2578
mov dword [0x10284d4c], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [0x10284d48], 0xf4
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x10284d44], 0x198b
mov eax, dword [0x10284d4c]
add eax, 1
mov dword [0x10284d4c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101d4f3d
xor eax, eax
mov ecx, dword [0x10284d48]
add ecx, 0xffffee3c
mov dword [0x10284d44], ecx
mov dword [0x10284d4c], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x10284d58], 0
mov edi, dword [0x10284d50]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x10284d58], esi
mov dword [0x10284d44], 0x135a
mov eax, esi
cdq
idiv ecx
mov dword [0x10284d50], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x10284d54], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x10284d54]
mov esi, dword [0x10284d50]
mov byte [ebx + esi], cl
mov esi, dword [0x10284d4c]
add esi, 1
mov dword [0x10284d4c], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x101d4f98
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101d5373
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 8]
mov dword [0x10284d44], 0x5cf
mov dword [ebp - 0x10], eax
call fcn.101d4b5c
mov ecx, 0xfffff04b
xor edx, edx
mov esi, eax
mov dword [0x10284d44], 0x140d
mov edi, dword [eax + 0x3c]
mov ebx, esi
add ebx, edi
mov dword [0x10284d48], 0x276
cmp dword [eax + edi], 0x4550
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
je 0x101d543c
jmp 0x101d5454
mov eax, dword [ebp - 0x24]
add eax, 1
mov cl, byte [ebp - 0x25]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x26]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x2c], eax
jne 0x101d54c2
jmp 0x101d54ef
mov eax, dword [ebp - 0x30]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x34]
add edx, dword [edx + esi + 0x1c]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
add eax, dword [ecx + edx*4]
mov dword [ebp - 0x40], eax
jmp 0x101d5524
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x44]
add ecx, edx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], eax
jmp 0x101d549e
mov eax, 0xfffff7a0
mov ecx, dword [ebp - 0x14]
mov dword [0x10284d48], 0x9cb
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov dword [0x10284d44], ecx
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x18]
add ecx, dword [ecx + eax + 0x20]
mov esi, dword [ebp - 0x18]
mov edi, dword [esi + eax + 0x24]
mov dword [0x10284d48], 0x1d3a
mov ebx, dword [esi + eax + 0x18]
cmp ebx, 0
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edx
je 0x101d5524
jmp 0x101d542a
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
xor edx, edx
mov esi, dword [ebp - 0x54]
mov edi, dword [esi + eax*4]
mov dword [0x10284d44], 0x5cf
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov ecx, eax
mov edx, dword [ebp - 0x5c]
add ecx, edx
mov esi, dword [ebp - 0x18]
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 - 0x24], eax
mov byte [ebp - 0x25], bh
mov byte [ebp - 0x26], cl
jne 0x101d53cf
mov al, byte [ebp - 0x26]
test al, 1
jne 0x101d5400
jmp 0x101d54fc
xor eax, eax
mov ecx, dword [ebp - 0x30]
add ecx, 2
mov edx, dword [ebp - 0x58]
add edx, 1
mov esi, dword [ebp - 0x50]
cmp edx, esi
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x40], eax
jb 0x101d549e
mov eax, dword [ebp - 0x40]
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101d553a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov esi, dword [0x10284d44]
add esi, 0xffffecd2
mov dword [0x10284d44], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x101d7a44]
mov dh, byte [eax + 0x101d7a15]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
jne 0x101d5564
lea eax, [ebp - 0x24]
mov dword [0x10284d44], 0x1392
mov dword [0x10284d48], 0x3361
mov dword [ebp - 0x34], eax
call fcn.101d60bb
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.101d4cbb
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x101d5675
mov eax, dword [ebp - 0x38]
mov dword [0x10284d44], 0x74d
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 - 0x3c], eax
call fcn.101d4e10
mov eax, dword [ebp - 0x3c]
mov word [eax], 0x5a4d
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
mov dword [0x10284d44], 0x1a79
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x3c], ecx
mov dword [0x10284d48], 0x1509
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x34], ecx
add ecx, 0x1a1c
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x101d566c
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x101d5760
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x80]
lea ecx, [esp + 0x28]
mov edx, dword [0x10284d44]
add edx, 0xfffffe01
mov dword [0x10284d44], edx
mov dword [0x10284d48], 0x258d
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.101d5037
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x54], 0x131200
mov dword [esp + 0x20], eax
lea eax, [0x101d5b48]
mov dword [0x10284d44], 0x1bf6
mov ecx, dword [0x10284d30]
mov dword [esp + 0x7c], ecx
mov ecx, dword [0x10284d34]
mov dword [esp + 0x74], ecx
mov ecx, dword [0x10284d38]
mov dword [esp + 0x48], ecx
mov ecx, dword [0x10284d3c]
mov dword [esp + 0x3c], ecx
mov ecx, dword [0x10284d40]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
je 0x101d5815
jmp 0x101d5839
mov eax, dword [esp + 0x14]
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
add eax, 0x3c
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [esp + 0x18]
cmp dword [edx + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x101d584d
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x101d57fc
mov eax, dword [esp + 0x18]
mov dword [esp + 0x58], eax
mov dword [0x10284d44], 0x140d
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x2c], edx
mov dword [0x10284d48], 0xa8c
call fcn.101d5b8f
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x14], ecx
jne 0x101d580d
lea eax, [esp + 0x28]
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.101d553a
mov ecx, esp
lea edx, [esp + 0x28]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [esp + 0x14], eax
jmp 0x101d580d
Function at 0x101d5b8f
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x34
mov dword [ebp - 0xc], 0
mov eax, dword [0x10284d48]
add eax, 0xfffffc4a
mov dword [0x10284d44], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov edx, dword [0x10284d48]
mov esi, dword [ebp - 0xc]
mov esi, dword [esi + 0x10]
mov esi, dword [esi + 0x3c]
mov edi, edx
add edi, 0xffffe172
mov dword [0x10284d44], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
jmp 0x101d5bf7
xor eax, eax
mov dword [0x10284d48], 0x19ef
mov dword [ebp - 0x20], eax
jmp 0x101d5cfa
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
je 0x101d5c48
jmp 0x101d5c2a
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
mov dx, word [eax + ecx*2 - 0x18]
mov word [ebp - 0x2e], dx
mov ax, word [ebp - 0x2e]
cmp ax, 0x6f
je 0x101d5c5c
jmp 0x101d5be3
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
cmp eax, 0x104
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], ecx
jl 0x101d5bf7
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x2c], eax
je 0x101d5c0f
jmp 0x101d5be3
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff5
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x38]
cmp word [eax + ecx*2], 0x61
jne 0x101d5be3
mov eax, dword [ebp - 0x18]
add eax, 0xffffe77b
mov dword [0x10284d48], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
mov dx, word [eax + ecx*2 - 0x14]
mov word [ebp - 0x3a], dx
mov ax, word [ebp - 0x3a]
cmp ax, 0x64
jne 0x101d5be3
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
cmp word [eax + ecx*2 - 0x12], 0x64
sete dl
mov byte [ebp - 0x3b], dl
mov al, byte [ebp - 0x3b]
test al, 1
jne 0x101d5cc2
jmp 0x101d5be3
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x101d5be3
mov eax, 1
mov dword [0x10284d48], 0x1644
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x2c]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x20], eax
jne 0x101d5be3
mov eax, dword [ebp - 0x20]
add esp, 0x34
pop esi
pop edi
pop ebp
ret
Function at 0x101d5d04
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x10284d4c], 0
mov dword [0x10284d50], 0
mov dword [0x10284d5c], 0
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x101d5e3e
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x10284d4c], edx
mov ecx, dword [ebp - 0x20]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x10284d50], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x10284d54], cl
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x10284d54]
mov edx, dword [0x10284d50]
mov byte [edi + edx], cl
mov edx, dword [0x10284d4c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x10284d50]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x10284d5c], ebx
mov dword [0x10284d44], 0x1195
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x2c]
mov ch, byte [edx + ebx]
mov edx, dword [0x10284d48]
add edx, 0xffffed36
mov dword [0x10284d44], edx
xor ch, cl
mov edx, dword [ebp - 0x1c]
mov byte [edx + ebx], ch
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x101d5e3e
mov eax, dword [0x10284d4c]
mov ecx, dword [0x10284d50]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
jmp 0x101d5d5d
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret