joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41db7e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x20], ebx
mov eax, dword [ebx]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
movsx eax, word [ebx + 0x4c]
mov dword [ebp - 0x14], eax
mov esi, dword [ebx + eax*4 + 0x78]
movzx eax, word [ebx + eax*2 + 0x4e]
mov dword [ebp - 0x1c], esi
cmp ax, word [esi + 0x12]
jae 0x41dd55
cmp byte [ebx + 0x49], 1
jne 0x41dd55
mov ecx, eax
mov eax, dword [esi + 0x40]
mov dword [ebp - 0x10], ecx
movzx edi, byte [eax + ecx*2]
movzx eax, byte [eax + ecx*2 + 1]
shl edi, 8
or edi, eax
movzx eax, word [esi + 0x14]
and edi, eax
add edi, dword [esi + 0x38]
cmp byte [esi + 5], 0
jne 0x41dbfb
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push ebx
call fcn.0041b398
pop ecx
pop ecx
test eax, eax
jne 0x41dd58
mov edx, dword [ebx + 0x3c]
mov ecx, dword [ebp - 0xc]
push ebx
call fcn.00417eb5
pop ecx
test eax, eax
jne 0x41dd58
cmp dword [ebx + 0x10], eax
jne 0x41dc27
push dword [ebx + 0x1c]
mov ecx, dword [ebp - 4]
xor edx, edx
push dword [ebx + 0x18]
call fcn.00417dc3
pop ecx
pop ecx
mov ecx, dword [esi + 0x44]
call fcn.00415643
test eax, eax
jne 0x41dd58
lea eax, [ebp - 4]
mov edx, edi
push eax
mov ecx, esi
call fcn.0041bc54
mov edx, dword [ebp - 0x10]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
pop ecx
push eax
movzx eax, word [ebp - 4]
mov ecx, esi
push eax
call fcn.0041bfe8
mov eax, dword [ebp - 8]
pop ecx
pop ecx
test eax, eax
jne 0x41dd58
cmp byte [esi + 5], al
jne 0x41dd06
movsx eax, word [ebx + 0x4c]
mov esi, dword [ebx + eax*4 + 0x78]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], esi
movzx ecx, word [esi + 0x12]
mov eax, dword [ebx + eax*4 + 0x7c]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x40]
movzx ebx, byte [eax + ecx*2 - 2]
movzx eax, byte [eax + ecx*2 - 1]
mov ecx, esi
shl ebx, 8
or ebx, eax
movzx eax, word [esi + 0x14]
and ebx, eax
add ebx, dword [esi + 0x38]
mov edx, ebx
call fcn.0041831a
mov ecx, dword [ebp - 4]
movzx edi, ax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ecx + 0x44]
mov esi, dword [eax + 0x50]
call fcn.00415643
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x18]
lea eax, [edi + 4]
push esi
push eax
lea eax, [ebx - 4]
push eax
call fcn.0041c0ef
add esp, 0x14
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov ecx, eax
push edi
movzx edx, word [eax + 0x12]
dec edx
call fcn.0041bfe8
mov eax, dword [ebp - 8]
pop ecx
pop ecx
test eax, eax
jne 0x41dd58
mov ebx, dword [ebp - 0x20]
mov ecx, ebx
call fcn.0041d843
mov esi, eax
test esi, esi
jne 0x41dd51
movsx ecx, word [ebx + 0x4c]
mov edi, dword [ebp - 0x14]
cmp ecx, edi
jle 0x41dd4a
movzx edx, word [ebx + 0x4c]
movsx eax, dx
mov ecx, dword [ebx + eax*4 + 0x78]
lea eax, [edx - 1]
mov word [ebx + 0x4c], ax
call fcn.00418d5f
movsx eax, word [ebx + 0x4c]
cmp eax, edi
jg 0x41dd1e
mov ecx, ebx
call fcn.0041d843
mov esi, eax
test esi, esi
jne 0x41dd51
mov ecx, ebx
call fcn.0041ab96
mov eax, esi
jmp 0x41dd58
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42f20a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, edx
mov ebx, ecx
mov dword [ebp - 0xc], ebx
push edi
test esi, esi
je 0x42f26f
xor eax, eax
push eax
push 8
mov dword [ebp - 0x10], eax
call fcn.0040b8eb
mov edi, eax
mov dword [ebp - 0x14], edi
pop ecx
pop ecx
test edi, edi
je 0x42f26f
test byte [ebp + 8], 1
mov ecx, dword [esi]
mov dword [edi], ecx
jne 0x42f24d
xor ecx, ecx
inc ecx
cmp dword [esi], ecx
jle 0x42f24d
add ecx, ecx
cmp ecx, dword [esi]
jl 0x42f247
imul eax, ecx, 0x18
mov ecx, ebx
push 0
push eax
call fcn.0040b8eb
mov ebx, eax
mov dword [edi + 4], ebx
pop ecx
pop ecx
test ebx, ebx
jne 0x42f276
mov ecx, dword [ebp - 0xc]
mov edx, edi
call fcn.0040b6e5
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
cmp dword [esi], 0
mov ecx, dword [esi + 4]
mov dword [ebp - 4], ecx
jle 0x42f2f8
mov edi, dword [ebp - 0xc]
lea eax, [ebx + 0x10]
mov dword [ebp - 8], eax
sub ebx, ecx
mov edx, dword [ecx]
mov ecx, edi
push dword [ebp + 8]
call fcn.0042f1f4
pop ecx
mov ecx, dword [ebp - 4]
mov dword [ebx + ecx], eax
mov edx, dword [ecx + 4]
mov ecx, edi
call fcn.0040ba43
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [ecx - 0xc], eax
mov ecx, edi
mov edx, dword [edx + 8]
call fcn.0040ba43
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [edx - 8], eax
mov al, byte [ecx + 0xc]
and dword [edx], 0xfffffffe
mov byte [edx - 4], al
mov eax, dword [ecx + 0x10]
xor eax, dword [edx]
and eax, 2
xor dword [edx], eax
mov eax, dword [ecx + 0x14]
add ecx, 0x18
mov dword [edx + 4], eax
add edx, 0x18
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ecx
cmp eax, dword [esi]
jl 0x42f28c
mov edi, dword [ebp - 0x14]
mov eax, edi
jmp 0x42f271
Function at 0x473cc0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0x14]
xor dl, dl
push ebx
mov ebx, dword [esp + 0x10]
mov eax, 0
test bl, 3
push ebp
sete al
push esi
test eax, eax
mov eax, dword [esp + 0x1c]
push edi
mov dword [esp + 0x14], eax
je 0x473e17
test al, 3
mov eax, 0
sete al
test eax, eax
je 0x473e13
test ecx, ecx
je 0x473e13
mov edx, ecx
mov dword [esp + 0x10], 0
shr edx, 2
xor esi, esi
test edx, edx
je 0x473dca
mov ebp, dword [esp + 0x20]
cmp edx, 8
jb 0x473d95
mov edi, edx
lea eax, [ebp + 0x10]
mov ecx, ebx
and edi, 0xfffffff8
sub ecx, ebp
xorps xmm3, xmm3
mov dword [esp + 0x14], ecx
movaps xmm2, xmm3
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x14]
movups xmm0, xmmword [eax - 0x10]
lea eax, [eax + 0x20]
movups xmm1, xmmword [ebx + esi*4]
add esi, 8
pxor xmm1, xmm0
por xmm3, xmm1
movups xmm1, xmmword [eax + ebp - 0x20]
movups xmm0, xmmword [eax - 0x20]
pxor xmm1, xmm0
por xmm2, xmm1
cmp esi, edi
jb 0x473d44
mov ebp, dword [esp + 0x20]
por xmm2, xmm3
movaps xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movaps xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movd dword [esp + 0x10], xmm2
cmp esi, edx
jae 0x473dce
mov ebx, dword [esp + 0x1c]
lea edi, [esi*4]
add edi, ebp
sub ebx, ebp
mov ebp, dword [esp + 0x10]
sub edx, esi
add esi, edx
mov eax, dword [edi + ebx]
lea edi, [edi + 4]
xor eax, dword [edi - 4]
or ebp, eax
sub edx, 1
jne 0x473db0
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x10], ebp
jmp 0x473dd2
xor ebp, ebp
jmp 0x473dd2
mov ebp, dword [esp + 0x10]
shl esi, 2
sub ecx, esi
jne 0x473de8
pop edi
xor eax, eax
test ebp, ebp
pop esi
pop ebp
sete al
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x10]
add ebx, esi
mov ebp, dword [esp + 0x20]
mov edx, eax
shr eax, 0x10
add ebp, esi
shr edx, 0x18
or dl, al
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x10]
shr eax, 8
or dl, al
mov eax, ebp
or dl, byte [esp + 0x10]
jmp 0x473e17
mov eax, dword [esp + 0x20]
xor edi, edi
test ecx, ecx
je 0x473ed4
cmp ecx, 0x20
jb 0x473eb5
mov esi, ecx
xorps xmm3, xmm3
and esi, 0xffffffe0
movaps xmm2, xmm3
mov dword [esp + 0x1c], esi
mov esi, ebx
sub esi, dword [esp + 0x14]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x10]
nop dword [eax + eax]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmm1, xmmword [eax + ebp - 0x20]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x10]
por xmm3, xmm1
movups xmm1, xmmword [ebx + edi + 0x10]
add edi, 0x20
pxor xmm1, xmm0
por xmm2, xmm1
cmp edi, esi
jb 0x473e50
por xmm2, xmm3
movaps xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movaps xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movaps xmm0, xmm2
psrldq xmm0, 2
por xmm2, xmm0
movaps xmm0, xmm2
psrldq xmm0, 1
por xmm2, xmm0
movd eax, xmm2
or dl, al
mov ebp, dword [esp + 0x14]
cmp edi, ecx
jae 0x473ed4
sub ebx, ebp
lea esi, [edi + ebp]
sub ecx, edi
mov al, byte [esi + ebx]
lea esi, [esi + 1]
xor al, byte [esi - 1]
or dl, al
sub ecx, 1
jne 0x473ec4
pop edi
pop esi
test dl, dl
pop ebp
sete al
pop ebx
add esp, 8
ret

Function at 0x490dac
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00490c22
Function at 0x4962a5
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00495df8
Function at 0x1000a4a7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10278760]
jne 0x1000a4b1
repz ret
jmp fcn.1000d03b

Function at 0x1000f55f
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.1000cca0
and dword [ebp - 4], 0
cmp dword [0x1027a660], 0
mov ebx, eax
jne 0x1000f610
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1000f6c1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1000f6c1
push eax
call fcn.1000cc2e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1027a660], eax
call esi
push eax
call fcn.1000cc2e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1027a664], eax
call esi
push eax
call fcn.1000cc2e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1027a668], eax
call esi
push eax
call fcn.1000cc2e
pop ecx
mov dword [0x1027a670], eax
test eax, eax
je 0x1000f610
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000cc2e
pop ecx
mov dword [0x1027a66c], eax
mov eax, dword [0x1027a66c]
cmp eax, ebx
je 0x1000f668
cmp dword [0x1027a670], ebx
je 0x1000f668
push eax
call fcn.1000cca9
push dword [0x1027a670]
mov esi, eax
call fcn.1000cca9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1000f668
test edi, edi
je 0x1000f668
call esi
test eax, eax
je 0x1000f65f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1000f65f
test byte [ebp - 0xc], 1
jne 0x1000f668
or dword [ebp + 0x10], 0x200000
jmp 0x1000f6a1
mov eax, dword [0x1027a664]
cmp eax, ebx
je 0x1000f6a1
push eax
call fcn.1000cca9
pop ecx
test eax, eax
je 0x1000f6a1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1000f6a1
mov eax, dword [0x1027a668]
cmp eax, ebx
je 0x1000f6a1
push eax
call fcn.1000cca9
pop ecx
test eax, eax
je 0x1000f6a1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1027a660]
call fcn.1000cca9
pop ecx
test eax, eax
je 0x1000f6c1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1000f6c3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001084a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.1001035a
lea ecx, [esp + 0x38]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x64], edx
mov dword [esp + 0x3c], 0x13c800
mov edx, dword [0x102786e4]
mov dword [esp + 0x5c], edx
mov edx, dword [0x102786e8]
mov dword [esp + 0x38], edx
mov dword [0x102786f8], 0x5bf
mov edx, dword [0x102786ec]
mov dword [esp + 0x80], edx
mov edx, dword [0x102786f0]
add ecx, 0x44
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
lea eax, [0x10010fd6]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [ecx], edx
mov esi, dword [0x102786f4]
mov dword [esp + 0x50], esi
mov dword [esp + 0x14], eax
jmp 0x100108f4
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x100108e2
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
cmp dword [eax + ecx], 0x4550
jne 0x100108e2
mov eax, dword [esp + 0x10]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x70], edx
mov dword [0x102786f8], 0x1307
call fcn.10011750
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
jne 0x1001098d
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10010ad7
mov dword [0x102786fc], 0x1f85
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x102786f8], 0x1c7
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x10010ad7
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [0x102786fc], 0x1b1
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
xor eax, eax
mov dword [0x102786f8], 0x132c
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax + 0x100121f5]
mov dl, byte [eax + 0x100121c6]
sub dl, cl
mov byte [ebp + eax - 0x20], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x2c], eax
jne 0x10010b02
lea eax, [ebp - 0x20]
mov dword [0x102786f8], 0xfffefc67
mov dword [ebp - 0x30], eax
call fcn.10011af7
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.10010ccf
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
je 0x10010c08
jmp 0x10010b81
mov eax, dword [ebp - 0x3c]
add eax, 0x16c2
mov dword [ebp - 0x40], eax
mov dword [0x102786f8], 0x16db
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
jmp 0x10010c08
mov eax, dword [ebp - 0x34]
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 - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.10010e75
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
mov dword [0x102786fc], 0x32b
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x1c], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x14], ecx
mov dword [0x102786f8], 0xc1f
cmp ecx, 0
mov dword [ebp - 0x38], eax
jne 0x10010b61
mov eax, dword [ebp - 0x38]
add esp, 0x50
pop ebp
ret
Function at 0x10011093
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
cmp eax, 0
sete bl
mov esi, dword [0x102786f8]
cmp ecx, 0
sete bh
add esi, 0x446
mov dword [0x102786f8], esi
and bh, bl
test bh, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x100112b0
jmp 0x100110f6
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov edx, dword [ebp - 0x1c]
mov byte [ebp - 0x1d], cl
mov dword [ebp - 0x24], edx
jmp 0x1001115d
mov eax, dword [0x102786fc]
add eax, 0xffffd93b
mov dword [0x102786fc], eax
mov dword [0x102786f8], 0x268e
mov ecx, dword fs:[0x18]
mov eax, 0x25c3
mov dword [0x102786f8], 0xbfb
mov ecx, dword [ecx + 0x30]
mov dword [0x102786fc], 0x19f0
mov ecx, dword [ecx + 0xc]
mov edx, ecx
add edx, 0x14
mov dword [0x102786f8], 0x25c3
mov ecx, dword [ecx + 0x14]
cmp ecx, edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], eax
je 0x1001129e
jmp 0x100110e0
mov eax, dword [ebp - 0x24]
mov cx, word [eax + 0x24]
mov edx, dword [eax + 0x28]
mov dword [0x102786f8], 0x1e46
mov esi, dword [eax + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x1d]
and bh, bl
test bh, 1
mov dword [ebp - 0x30], eax
mov word [ebp - 0x32], cx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], esi
jne 0x10011195
jmp 0x100111a5
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff8
mov dword [ebp - 0x18], eax
jmp 0x100112b0
mov eax, 0x240
xor ecx, ecx
mov dx, word [ebp - 0x32]
shr dx, 1
mov dword [0x102786f8], 0x240
movzx esi, dx
cmp dx, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], eax
je 0x10011277
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x38]
mov dx, word [ecx + eax*2]
mov si, dx
add si, 0xffbf
mov di, dx
add di, 0x20
cmp si, 0x1a
mov dword [ebp - 0x4c], eax
mov word [ebp - 0x4e], dx
mov word [ebp - 0x50], di
jb 0x10011209
mov ax, word [ebp - 0x4e]
mov word [ebp - 0x50], ax
mov ax, word [ebp - 0x50]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x4c]
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 - 0x44]
cmp edx, esi
setb bh
and al, bh
test al, 1
mov byte [ebp - 0x51], bl
mov dword [ebp - 0x40], edx
jne 0x100111d5
mov dword [0x102786f8], 0xef1
mov eax, 0xef1
mov dword [0x102786fc], 0x1b45
mov cl, byte [ebp - 0x51]
test cl, 1
mov dword [ebp - 0x48], eax
jne 0x10011265
jmp 0x10011277
mov dword [0x102786f8], 0x1542
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x18], eax
jmp 0x100112b0
mov eax, dword [ebp - 0x48]
mov ecx, eax
add ecx, 0xfffffed7
mov dword [0x102786fc], ecx
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x28]
cmp edx, esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x2c], eax
jne 0x1001115d
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
add eax, 0xffffe5ec
mov dword [0x102786fc], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10011395
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 dword [0x10278704], 0
mov byte [0x10278708], 0
mov dword [0x102786f8], 0xffffeadc
mov dword [0x10278700], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x100114b2
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x1027870c], 0
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x102786f8], 0xf1e
mov edi, dword [0x10278704]
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 [0x1027870c], esi
mov dword [0x102786f8], 0x1e0c
mov eax, esi
cdq
idiv ecx
mov dword [0x10278704], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x10278708], cl
mov dword [0x102786f8], 0x104f
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x10278708]
mov esi, dword [0x10278704]
mov byte [ebx + esi], cl
mov esi, dword [0x102786f8]
add esi, 0xfffff4c8
mov dword [0x102786f8], esi
mov esi, dword [0x10278700]
add esi, 1
mov dword [0x10278700], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x100113df
jmp 0x100114ee
mov dword [0x10278700], 0
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x100113df
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov dword [0x102786fc], 0x668
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x102786f8], 0x19bf
mov eax, dword [0x10278700]
add eax, 1
mov dword [0x10278700], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x100114b2
jmp 0x1001149e
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10011750
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x34
mov dword [ebp - 8], 0
mov dword [0x102786fc], 0x840
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x3c]
mov edx, dword [0x102786f8]
mov esi, edx
add esi, 0x1f19
mov dword [0x102786fc], esi
mov esi, edx
add esi, 0x12e0
add edx, 0x883
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x100117e0
mov dword [0x102786fc], 0x342
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x10011867
xor eax, eax
mov dword [0x102786f8], 0x23d9
mov dword [ebp - 0x24], eax
jmp 0x100118eb
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, dword [ebp - 0x14]
mov esi, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], esi
je 0x1001183d
jmp 0x10011819
mov dword [0x102786fc], 0x100a
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x10011889
jmp 0x100117cc
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
cmp eax, 0x104
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jl 0x100117e0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffff257
mov dword [0x102786f8], ecx
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
je 0x100117af
jmp 0x100117cc
mov dword [0x102786f8], 0x5f4
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x100117fe
jmp 0x100117cc
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
mov dx, word [eax + ecx*2 - 0x12]
mov word [ebp - 0x36], dx
mov ax, word [ebp - 0x36]
cmp ax, 0x64
jne 0x100117cc
mov dword [0x102786f8], 0x1fa3
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x100117cc
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0xe], 0x6c
sete dl
mov byte [ebp - 0x37], dl
mov eax, 1
mov cl, byte [ebp - 0x37]
test cl, 1
mov dword [ebp - 0x24], eax
jne 0x100118eb
jmp 0x100117cc
mov eax, dword [ebp - 0x24]
add esp, 0x34
pop esi
pop ebp
ret
Function at 0x100118f4
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 [0x102786fc], 0x2149
mov dword [0x10278700], 0
mov dword [0x10278704], 0
mov dword [0x10278710], 0
mov dword [0x102786f8], 0x202b
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 0x10011a46
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x102786f8], 0x204a
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x10278700], 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 [0x10278704], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x10278708], cl
mov dword [0x102786f8], 0x42b7
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x10278708]
mov edx, dword [0x10278704]
mov byte [edi + edx], cl
mov dword [0x102786fc], 0x1159
mov edx, dword [0x10278700]
movzx edx, byte [edi + edx]
mov ebx, dword [0x10278704]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov dword [0x102786f8], 0x1178
and ebx, 0xff
mov dword [0x10278710], ebx
mov dword [0x102786fc], 0x63f
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x2c]
mov ch, byte [edx + ebx]
mov dword [0x102786fc], 0x1eeb
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
jne 0x10011a58
mov dword [0x102786f8], 0x900
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x10278700]
mov ecx, dword [0x10278704]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
jmp 0x10011961

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219