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

Disassembly:
or al, byte [eax + 0x7d1d8fbf]
xor eax, 0x681f7c86
sbb dh, byte [ebx - 0x39ea8f64]
pop esp
push esi
adc dword [esi + 0x2c], edi
lea esi, [edi]
mov edi, 0xebf0bb8e
cli
inc ebp
jl 0x534f5c
ficomp word ds:[ebx - 0x70c59686]
mov eax, dword [0xbdeee64f]
mov dword [0x5f0d5fde], eax
pop ebp
jnp 0x534ebd
push ss
sub al, 0xa
out 0xb0, al
sbb al, 0xc
mov eax, dword [0xe81599ae]
call 0x6d304c8c
cmp al, 0xe
call 0x6d304c8c
cmp al, 0xe
and ebx, dword [edi + 9]
xor al, 0xbc
xchg ecx, eax
mov ecx, 0x8b836937
sub eax, 0xca5ad01b
mov bh, byte [esi]
cmp bl, byte [edi - 0xff3c9cd]
cld
mov edi, 0x7bab5b5b
pushfd
cmp al, 8
dec edx
jns 0x534ed5
dec edi
cmp byte [ecx + 0x5c], ch
call 0xa7339a4f
push ss
les ebx, [esi + esi]
invalid
cmp eax, 0x8f6b7334
pop edx
mov eax, 0xde335d1b
cmp dword [esi], edx
xor al, 0x73
imul ecx, dword [edi + 0x5d1bb85a], 0x33
fidivr word [ecx]
push ss
sub ecx, dword [esi + 0x1f887168]
ja 0x534f5d
mov dword [esi - 0x56994d87], edi
cmp bl, bl
ljmp 0x809c
Function at 0x5c4c82
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
add byte [eax], al
add byte [eax + 0xd508d23], al
add byte [eax], al
xor eax, eax
nop dword [eax + eax]
mov edx, dword [ebp + eax*4 + 0xd54]
mov esi, edx
and esi, 0x7ffffffe
or esi, ecx
shr esi, 1
mov ecx, edx
and edx, 1
neg edx
and edx, 0x9908b0df
xor edx, dword [ebp + eax*4 + 4]
xor edx, esi
mov dword [ebp + eax*4 + 0x390], edx
and ecx, 0x80000000
inc eax
cmp eax, 0x18c
jne 0x5c4c96
mov eax, dword [ebp + 4]
mov edx, eax
and edx, 0x7ffffffe
or edx, ecx

Function at 0x5c4cde
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
shr edx, 1
and eax, 1
neg eax
and eax, 0x9908b0df
xor eax, dword [ebp + 0x634]
xor eax, edx
mov dword [ebp + 0x9c0], eax
mov dword [ebp], 0
xor eax, eax
lea ecx, [eax + 1]
mov dword [ebp], ecx
mov eax, dword [ebp + eax*4 + 4]
mov ecx, eax
shr ecx, 0xb
and ecx, dword [ebp + 0x1384]
xor ecx, eax
mov eax, ecx
shl eax, 7
and eax, 0x9d2c5680
xor eax, ecx
mov ecx, eax
shl ecx, 0xf
and ecx, 0xefc60000
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
add eax, edi
xor eax, 0x80000000
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x63730a
Capabilities:
Encode data using xor

Disassembly:
lds ecx, [ebp + 0x554eeb23]
mov dword [0x52aff649], eax
xchg esi, eax
add byte [esi - 0x56], ch
pop edi
mov eax, dword [0xd1dee89e]
jb 0x637319
fistp qword [ebp - 0x4d]
cmp edx, dword [eax - 0x22]
arpl word [esi + 0x71ce32f0], cx
mov bh, 0xd0
loope 0x6372ef
out 0x14, eax
movsd dword es:[edi], dword [esi]
mov eax, dword [0x7dcf80de]
sub eax, 0x113a4e2a
test dword [eax - 0x63], esi
xor dword [esi - 0x22], ebp
cdq
sub dh, byte [ebx + 0x3ea45f7a]
and al, 0x11
push ss
shr dword [ebp - 0x213f071d], 0x98
adc dword [esi + edx - 0x3f], esp
lodsd eax, dword [esi]
jecxz 0x637309
rcr dh, 0x98
mov bl, 0x92
sub ah, byte [edi + 0x535dfc96]
cld
pop ebp
push ebx
or ah, byte [edx]
jl 0x6372c7
mov cl, 0x87
cmp al, 0xc3
outsd dx, dword gs:[esi]
mov ebx, 0x5c3d4236
cmp eax, 0xa151b15c
cmp cl, 0x8a
adc byte [edx], 0xcf
Function at 0x401000
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xor eax, esi
mov esi, ebx
xor ebx, eax
xor esi, eax
xor esi, ebx
xor esi, eax
mov ebx, esi
mov esi, ebx
mov eax, eax
sub edx, 0x2e
sub eax, 0x2c
inc eax
not eax
rcr ebx, 0xca
inc esi
add edi, 0x5c
imul edi
rol edx, 0x69
not edx
sbb esi, 0x33
ror ebx, 0x40
inc edi
and edx, 0x98
bswap esi
not esi
rol edx, 9
dec edx
add eax, 0x33
neg edi
add edi, 0x56
inc edx
neg eax
sbb edx, 0x5a
or edx, 0x26
neg edi
dec ebx
inc edi
rcr ebx, 0x2d
rcr ebx, 0xee
rcl edi, 0x4f
not ebx
or edx, 0x8a
mov edx, 0xe8
dec esi
bswap ebx
sub ebx, 0xc3
ror edx, 0xb0
inc ebx
or esi, 0x17
ror edx, 0x69
mov edi, 0xa9
bswap edi
add edx, 0xf0
inc eax
sbb ebx, 0xcb
sbb edi, 0x5a
imul edi
inc edi
imul edi
xor ecx, ecx
xor edi, edi
xor esi, esi
mov eax, ebx
xor eax, eax
mov esi, ebx
xor esi, esi
mov ebx, esi
rcl ebx, 0xc5
mov edx, 0xf
sub ebx, 0x7e
and eax, 0xae
dec edi
imul eax
not edx
ror esi, 8
and edi, 0xec
imul edi
inc edx
add esi, 0x5e
imul edx
sub eax, 0xa7
neg ebx
bswap esi
imul edi
dec ebx
mov eax, 0x5e
dec edi
neg esi
not esi
dec eax
and eax, 0x4a
sbb ebx, 0xe2
imul edx
neg edx
or esi, 0x5c
neg eax
rcr esi, 0x53
rcl ebx, 0xe1
rol edx, 0x6c
bswap edi
inc esi
dec esi
bswap esi
inc ebx
not edx
add edx, 0xa2
dec esi
not ebx
bswap esi
add edx, 0x5f
sbb ebx, 0xc9
sbb ebx, 0xeb
add esi, 0x37
bswap esi
imul eax
inc edi
dec eax
mov ebx, esi
mov eax, ebx
mov esi, ebx
xor ebx, eax
mov esi, esi
mov eax, eax
mov ebx, esi
mov ebx, ebx
xor eax, eax
mov ecx, dword [ebp + 0xc]
bswap edx
and eax, 0x7b
sub eax, 0x93
not edi
dec ebx
sbb eax, 0x46
bswap edx
rcr edi, 7
imul esi
neg edi
mov edx, 0x9a
not edx
rcl esi, 0xd1
rol eax, 0xd6
sbb esi, 0x23
inc edx
mov esi, 0x5b
or ebx, 0xe
bswap esi
bswap ebx
imul edx
bswap eax
sbb esi, 0x56
inc esi
add edx, 0xc
rcr eax, 0xd3
dec eax
and ebx, 0x6e
inc edi
dec edi
not eax
neg ebx
or esi, 0x81
dec eax
sbb esi, 0xd3
sbb esi, 0xa3
dec eax
or edx, 0xe9
or eax, 0x4d
inc esi
imul edi
dec ebx
rol edx, 0xf
or ebx, 0xb6
rcr esi, 0xdb
bswap eax
add eax, 0x66
not edx
bswap esi
inc ebx
mov edi, dword [ebp + 8]
mov eax, ebx
mov esi, ebx
xor eax, eax
xor esi, esi
xor eax, esi
xor eax, eax
xor ebx, ebx
mov esi, eax
mov esi, esi
not byte [edi]
xor eax, ebx
xor eax, esi
mov esi, eax
mov eax, ebx
mov eax, esi
xor esi, esi
xor ebx, ebx
mov eax, eax
xor eax, esi
mov eax, eax
mov eax, eax
xor esi, eax
sub byte [edi], 0x1d
add byte [edi], 0x40
mov ebx, esi
xor esi, esi
mov esi, eax
xor esi, esi
xor eax, eax
xor ebx, esi
xor eax, esi
xor esi, esi
xor esi, esi
imul byte [edi]
inc edi
loop 0x4011db
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4047e8
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x404827
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x404827
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x404827
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x404827
cmp dword [ecx + 0x74], 0xe
jbe 0x404827
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40a51b
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x40a5b8
push ebx
push esi
call fcn.0040a4e4
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0040a478
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40a565
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40a5b7
push edi
push eax
call fcn.00408e7b
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40a585
call fcn.00408ec9
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40a5b6
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040a478
add esp, 0x20
test eax, eax
jne 0x40a5a4
push edi
call fcn.00408ec9
jmp 0x40a5ac
push ebx
call fcn.00408ec9
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x40b7c7
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x463fe0
push 0x463fd8
push str.FlsAlloc
push 0x1f
call fcn.0040b686
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40b7fb
push dword [ebp + 8]
mov ecx, esi
call dword [0x412130]
call esi
jmp 0x40b801
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40b845
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x463ff0
push 0x463fe8
push str.FlsGetValue
push 0x21
call fcn.0040b686
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40b87c
push dword [ebp + 8]
mov ecx, esi
call dword [0x412130]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40b884
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x463ff8
push 0x463ff0
push str.FlsSetValue
push 0x22
call fcn.0040b686
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40b8be
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x412130]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x410c80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x410cad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x410cad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40601c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x406028
push 0x406024
push 0x406020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x406028]
push dword [0x406024]
push dword [0x406020]
mov dword [0x406014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret

Function at 0x40129c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x84], 0
call fcn.00401994
mov esi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov eax, esi
or al, 0x40
push eax
lea eax, [0x4044a5]
lea edx, [fcn.00401a04]
sub eax, edx
push eax
push fcn.00401a04
call sub.KERNEL32.dll_VirtualProtect
cmp dword [ebp - 4], 0
je 0x401337
push esi
call fcn.0040188f
lea eax, [ebp - 0x84]
push eax
push esi
call fcn.004018dd
mov eax, esi
add eax, 0x1cc00
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x84]
push eax
mov edi, dword [ebp - 0x88]
mov eax, esi
mov ecx, edi
or cl, 1
cdq
idiv ecx
mov ebx, eax
add ebx, edi
push ebx
lea edi, [0x4060e4]
mov ebx, esi
dec ebx
and edi, ebx
push edi
call fcn.00401a04
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401994
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push edi
and dword [ebp - 0x118], 0
xor edi, edi
mov dword [ebp - 0x114], 0xa
mov byte [ebp - 0x104], 0
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x10e]
push eax
push 1
push 1
lea eax, [ebp - 0x104]
push eax
call sub.CRYPT32.DLL_CryptBinaryToStringA
call sub.KERNEL32.dll_GetLastError
push 0
push 0
call sub.SHLWAPI.DLL_PathAppendA
movsx edi, byte [ebp - 0x10e]
sub edi, 0x41
mov eax, edi
pop edi
leave
ret
Function at 0x401e00
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
lea eax, [esp + 8]
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000002
call esi
mov ecx, dword [esp + 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push str.System_Windows_Internet_Service
push ecx
call edi
lea edx, [esp + 8]
push edx
push 0x20006
push 0
push str.SoftwareMicrosoftWindowsCurrentVersion
push 0x80000002
call esi
mov eax, dword [esp + 8]
push str.SystemService
push eax
call edi
pop edi
pop esi
pop ecx
ret

Function at 0x4027a9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40e028]
jne 0x4027b3
repz ret
jmp fcn.00402f21
Function at 0x407653
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00403c43
xor ebx, ebx
cmp dword [0x40f7a0], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x407728
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x407693
xor eax, eax
jmp 0x4077ec
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40768c
push eax
call fcn.00403be0
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40f7a0], eax
call esi
push eax
call fcn.00403be0
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40f7a4], eax
call esi
push eax
call fcn.00403be0
mov dword [0x40f7a8], eax
lea eax, [ebp - 8]
push eax
call fcn.00404332
test eax, eax
pop ecx
pop ecx
je 0x4076f6
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00402a78
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x407728
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00403be0
cmp eax, ebx
pop ecx
mov dword [0x40f7b0], eax
je 0x407728
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403be0
pop ecx
mov dword [0x40f7ac], eax
mov eax, dword [0x40f7ac]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4077a1
cmp dword [0x40f7b0], esi
je 0x4077a1
push eax
call fcn.00403c4c
pop ecx
call eax
cmp eax, ebx
je 0x40776e
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x40f7b0]
call fcn.00403c4c
pop ecx
call eax
test eax, eax
je 0x40776e
test byte [ebp - 0x18], 1
jne 0x4077a1
lea eax, [ebp - 0xc]
push eax
call fcn.00404369
test eax, eax
pop ecx
je 0x407789
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00402a78
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x407798
or dword [ebp + 0x10], 0x200000
jmp 0x4077d2
or dword [ebp + 0x10], 0x40000
jmp 0x4077d2
mov eax, dword [0x40f7a4]
cmp eax, esi
je 0x4077d2
push eax
call fcn.00403c4c
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4077d2
mov eax, dword [0x40f7a8]
cmp eax, esi
je 0x4077d2
push dword [ebp - 4]
push eax
call fcn.00403c4c
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x40f7a0]
call fcn.00403c4c
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0xb88860
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xbe0f80
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0xbf80c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], 0xbeaef4
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.00bba801
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00bb8297
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.00b88800
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10252118
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 dword [0x1025bc30], 0x1938
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 + 0x102542ae]
mov dh, byte [eax + 0x1025427f]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
jne 0x1025213a
lea eax, [ebp - 0x24]
mov dword [0x1025bc34], 0x14f9
mov dword [ebp - 0x34], eax
call fcn.10251f91
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.10251aed
mov ecx, dword [0x1025bc30]
add ecx, 0xfffffb5f
mov dword [0x1025bc34], ecx
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x10252246
mov eax, dword [ebp - 0x38]
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.10252559
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
mov dword [0x1025bc30], 0x2cd
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x40], ecx
mov dword [0x1025bc34], 0x2226
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x28], ecx
add ecx, 0x1ad8
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x1025223d
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 0x10252259
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
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 [0x1025bc30], 0x512
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x102522c8
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x10252343
jmp 0x1025235a
mov eax, dword [ebp - 0x18]
mov dword [0x1025bc34], 0x11c4
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
je 0x102522f7
jmp 0x1025235a
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
je 0x102522a7
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], eax
jl 0x102522c8
jmp 0x102522a7
mov dword [0x1025bc34], 0x2624
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x1025235a
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x1025235a
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x1025235a
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x1025228f
jmp 0x1025235a
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x20], eax
je 0x10252369
xor eax, eax
mov dword [0x1025bc34], 0x1864
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
add esp, 0x20
pop ebp
ret
Function at 0x10252371
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov ecx, dword [0x1025bc34]
add ecx, 0x77c
mov dword [0x1025bc34], ecx
mov dword [ebp - 0x10], eax
call fcn.10252cd6
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov dword [0x1025bc34], 0x10e8
mov edi, dword [0x1025bc30]
add edi, 0xfffffe9f
mov dword [0x1025bc34], edi
mov esi, dword [eax + esi + 0x78]
mov dword [0x1025bc30], 0x171d
mov ebx, edx
add ebx, dword [eax + esi + 0x20]
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ecx
je 0x102524ea
jmp 0x1025246e
mov eax, dword [ebp - 0x2c]
mov ecx, eax
mov edx, dword [ebp - 0x30]
add ecx, edx
mov esi, dword [ebp - 0x1c]
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 - 0x34], eax
mov byte [ebp - 0x35], bh
mov byte [ebp - 0x36], cl
je 0x102524b7
mov al, byte [ebp - 0x35]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x34]
add edx, 1
mov ah, byte [ebp - 0x36]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x2c], edx
jne 0x102523f1
jmp 0x102524b7
mov eax, dword [ebp - 0x3c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov dword [0x1025bc30], 0xfffff748
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [ebp - 0x28], edi
jmp 0x102524ea
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x44]
xor esi, esi
add edx, 0x77c
mov edi, dword [ebp - 0x14]
mov ebx, dword [edi + eax*4]
mov dword [0x1025bc34], edx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x2c], esi
jmp 0x102523f1
mov al, byte [ebp - 0x36]
test al, 1
jne 0x10252449
jmp 0x102524c0
xor eax, eax
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov edx, dword [ebp - 0x3c]
add edx, 2
mov esi, dword [ebp - 0x18]
cmp ecx, esi
mov edi, dword [ebp - 0x50]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x28], eax
jb 0x10252486
mov eax, dword [ebp - 0x28]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10252aca
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x1025bc3c], 0
mov byte [0x1025bc40], 0
mov dword [0x1025bc38], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10252b20
xor eax, eax
mov ecx, 0x1fdd
mov dword [0x1025bc38], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jmp 0x10252b52
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x1025bc30], 0x1fdd
mov eax, dword [0x1025bc38]
add eax, 1
mov dword [0x1025bc38], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10252b20
jmp 0x10252b07
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0x100
mov dword [0x1025bc44], 0
add eax, 0xfffff6b9
mov dword [ebp - 0x28], eax
mov eax, ecx
xor esi, esi
mov dword [ebp - 0x2c], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [0x1025bc3c]
mov ebx, dword [ebp - 0x18]
movzx esi, byte [ebx + ecx]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x1025bc44], esi
mov dword [0x1025bc34], 0x1dfc
mov eax, esi
cdq
mov esi, dword [ebp - 0x2c]
idiv esi
mov dword [0x1025bc3c], edx
mov esi, dword [ebp - 0x28]
mov dword [0x1025bc30], esi
mov bl, byte [ebx + ecx]
mov byte [0x1025bc40], bl
mov dword [0x1025bc34], 0xe30
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov ecx, dword [0x1025bc34]
add ecx, 0xfffffd81
mov dword [0x1025bc30], ecx
mov bl, byte [0x1025bc40]
mov ecx, dword [0x1025bc3c]
mov byte [esi + ecx], bl
mov ecx, dword [0x1025bc38]
add ecx, 1
mov dword [0x1025bc38], ecx
cmp ecx, 0x100
mov dword [ebp - 0x30], ecx
jge 0x10252c29
mov eax, dword [0x1025bc30]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], eax
jmp 0x10252b52
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret