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

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0xc]
push edi
xor ebp, ebp
xor edi, edi
mov eax, dword [esi + 0x6af90]
mov dword [esi + 0x6af80], 2
test eax, eax
je 0x48ba4d
push ebx
mov ebx, 0x7fff
cmp eax, 3
jb 0x48b8ab
mov ecx, dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af7c]
and edx, 0x3ff
movzx eax, byte [ecx + esi + 0x1af72]
and eax, ebx
shl edx, 5
xor eax, edx
and ecx, ebx
mov dword [esi + 0x6af7c], eax
mov ebp, dword [esi + eax*4 + 0x4af70]
mov dword [esi + ecx*4 + 0x2af70], ebp
mov eax, dword [esi + 0x6af7c]
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
test ebp, ebp
je 0x48b8e7
mov eax, dword [esi + 0x6af84]
sub eax, ebp
cmp eax, 0x7efa
ja 0x48b8e7
mov ecx, dword [esi + 0x6af90]
lea eax, [esi + 0x6afa0]
cmp dword [eax], ecx
jbe 0x48b8d0
mov dword [eax], ecx
push ebp
push esi
call fcn.0048b545
mov edi, eax
mov eax, dword [esi + 0x6af90]
pop ecx
cmp edi, eax
pop ecx
jbe 0x48b8e7
mov edi, eax
cmp edi, 3
jb 0x48b9c4
lea eax, [edi - 3]
push eax
mov eax, dword [esi + 0x6af84]
sub eax, dword [esi + 0x6af88]
push eax
push esi
call fcn.0048ad7d
sub dword [esi + 0x6af90], edi
add esp, 0xc
cmp edi, dword [esi + 0x6af98]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x6af90]
ja 0x48b97d
cmp eax, 3
jb 0x48b97d
dec edi
inc dword [esi + 0x6af84]
mov ecx, dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af7c]
movzx eax, byte [esi + ecx + 0x1af72]
and edx, 0x3ff
and eax, ebx
shl edx, 5
xor eax, edx
and ecx, ebx
mov dword [esi + 0x6af7c], eax
dec edi
mov ebp, dword [esi + eax*4 + 0x4af70]
mov dword [esi + ecx*4 + 0x2af70], ebp
mov eax, dword [esi + 0x6af7c]
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
jne 0x48b928
jmp 0x48b9e8
add dword [esi + 0x6af84], edi
mov eax, dword [esi + 0x6af84]
lea edx, [esi + 0x6af7c]
push str.Call_UPDATE_HASH___MIN_MATCH_3_more_times
lea ecx, [eax + esi]
push 1
push esi
xor edi, edi
movzx eax, byte [ecx + 0x1af70]
mov dword [edx], eax
and eax, 0x3ff
movzx ecx, byte [ecx + 0x1af71]
and ecx, ebx
shl eax, 5
xor ecx, eax
mov dword [edx], ecx
call fcn.00489f96
add esp, 0xc
jmp 0x48b9ee
mov eax, dword [esi + 0x6af84]
movzx eax, byte [eax + esi + 0x1af70]
push eax
push 0
push esi
call fcn.0048ad7d
add esp, 0xc
dec dword [esi + 0x6af90]
mov dword [esp + 0x14], eax
inc dword [esi + 0x6af84]
cmp dword [esp + 0x14], 0
je 0x48ba2b
mov eax, dword [esi + 0x6af74]
test eax, eax
jl 0x48ba08
lea ecx, [eax + esi + 0x1af70]
jmp 0x48ba0a
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 0
sub edx, eax
push edx
push ecx
push esi
call fcn.0048ab6d
mov eax, dword [esi + 0x6af84]
add esp, 0x10
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x48ba3e
push esi
call fcn.0048b708
pop ecx
mov eax, dword [esi + 0x6af90]
test eax, eax
jne 0x48b85c
pop ebx
mov eax, dword [esi + 0x6af74]
test eax, eax
jl 0x48ba60
lea ecx, [eax + esi + 0x1af70]
jmp 0x48ba62
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 1
sub edx, eax
push edx
push ecx
push esi
call fcn.0048ab6d
add esp, 0x10
pop edi
pop esi
pop ebp
ret
Function at 0x48c5a5
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x48c5b3
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x10], 8
push esi
push edi
not eax
mov ecx, 0xff
jb 0x48c694
mov edi, dword [ebp + 0x10]
push ebx
shr edi, 3
movzx ebx, byte [edx]
mov esi, eax
sub dword [ebp + 0x10], 8
and esi, ecx
xor esi, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [esi*4 + 0x4a3e48]
xor eax, ebx
inc edx
mov esi, eax
movzx ebx, byte [edx]
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x4a3e48]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x4a3e48]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x4a3e48]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x4a3e48]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x4a3e48]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x4a3e48]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
shr eax, 8
mov esi, dword [esi*4 + 0x4a3e48]
xor eax, esi
inc edx
dec edi
jne 0x48c5d0
pop ebx
cmp dword [ebp + 0x10], 0
je 0x48c6b5
movzx edi, byte [edx]
mov esi, eax
and esi, ecx
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4a3e48]
xor eax, esi
inc edx
dec dword [ebp + 0x10]
jne 0x48c69a
pop edi
pop esi
not eax
pop ebp
ret

Function at 0x48c6bb
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 4]
push esi
push edi
mov edx, 0xff
mov esi, dword [ecx]
movzx edi, byte [esp + 0x10]
mov eax, esi
and eax, edx
xor eax, edi
shr esi, 8
mov eax, dword [eax*4 + 0x4a3e48]
xor eax, esi
mov esi, dword [ecx + 8]
mov dword [ecx], eax
and eax, edx
add eax, dword [ecx + 4]
mov edi, esi
and edi, edx
imul eax, eax, 0x8088405
inc eax
mov dword [ecx + 4], eax
shr eax, 0x18
xor eax, edi
pop edi
shr esi, 8
mov eax, dword [eax*4 + 0x4a3e48]
xor eax, esi
pop esi
mov dword [ecx + 8], eax
ret
Function at 0x48c874
Capabilities:
Get file size
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x4c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x48c897
mov eax, 0x200
jmp 0x48ca0c
mov ecx, dword [ebp - 0x4c]
push ebx
push esi
push 1
mov edx, ecx
pop eax
xor ebx, ebx
and edx, eax
mov dword [ebp - 8], ebx
je 0x48c8ad
mov dword [ebp - 8], eax
test cl, 2
je 0x48c8b6
or dword [ebp - 8], 2
test cl, 4
je 0x48c8bf
or dword [ebp - 8], 4
mov eax, ecx
and eax, 0x10
je 0x48c8ca
or dword [ebp - 8], 0x10
test cl, 0x20
je 0x48c8d3
or dword [ebp - 8], 0x20
cmp eax, ebx
je 0x48c8dd
or byte [ebp - 5], 0x40
jmp 0x48c8e1
or byte [ebp - 5], 0x80
or byte [ebp - 5], 1
cmp edx, ebx
jne 0x48c8ed
or byte [ebp - 6], 0x80
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x28
mov dword [ebp - 0x10], eax
jbe 0x48c988
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
push ebx
push ebx
push edi
call esi
lea eax, [ebp - 0xc]
push ebx
push eax
lea eax, [ebp - 2]
push 2
push eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
call edi
push ebx
push ebx
push 0x24
push dword [ebp + 8]
call esi
lea eax, [ebp - 0xc]
push ebx
push eax
lea eax, [ebp - 0x14]
push 4
push eax
push dword [ebp + 8]
call edi
cmp word [ebp - 2], 0x54ad
jne 0x48c988
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 0x34]
cmp dword [ebp - 0x10], ecx
jbe 0x48c988
push ebx
push ebx
push eax
push dword [ebp + 8]
call esi
lea eax, [ebp - 0xc]
push ebx
push eax
lea eax, [ebp - 0x18]
push 4
push eax
push dword [ebp + 8]
call edi
mov eax, dword [ebp - 0x18]
cmp eax, 0x5a4d
je 0x48c984
cmp eax, 0x454e
je 0x48c984
cmp eax, 0x454c
je 0x48c984
cmp eax, 0x4550
jne 0x48c988
or byte [ebp - 6], 0x40
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x48c994
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x48c9a0
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov esi, dword [ebp + 0x14]
cmp esi, ebx
je 0x48c9dc
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
call fcn.0048c7f3
push dword [ebp - 0x34]
mov dword [esi], eax
mov dword [esi + 4], edx
push dword [ebp - 0x38]
call fcn.0048c7f3
push dword [ebp - 0x44]
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
push dword [ebp - 0x48]
call fcn.0048c7f3
mov dword [esi + 0x10], eax
add esp, 0x18
mov dword [esi + 0x14], edx
mov esi, dword [ebp + 0x18]
cmp esi, ebx
je 0x48ca08
lea eax, [ebp + 0xe]
push eax
lea eax, [ebp + 0xa]
push eax
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.0048c815
movzx eax, word [ebp + 0xa]
movzx ecx, word [ebp + 0xe]
shl eax, 0x10
add esp, 0x10
or eax, ecx
mov dword [esi], eax
pop esi
xor eax, eax
pop ebx
pop edi
leave
ret
Function at 0x48cb82
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
cmp byte [esi + 0x2d], 0
je 0x48cbf6
mov eax, dword [esi + 0x3c]
xor ebx, ebx
cmp eax, ebx
je 0x48cbae
cmp dword [esi + 0x40], edi
jae 0x48cbae
push eax
call fcn.0048e18e
pop ecx
mov dword [esi + 0x3c], ebx
cmp dword [esi + 0x3c], ebx
jne 0x48cbc3
lea eax, [edi + edi]
push eax
call fcn.00490944
pop ecx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
push edi
push dword [ebp + 8]
push dword [esi + 0x3c]
call fcn.00490dc0
add esp, 0xc
test edi, edi
jbe 0x48cbf3
mov eax, dword [esi + 0x3c]
mov al, byte [ebx + eax]
push eax
lea eax, [esi + 0x30]
push eax
call fcn.0048c70e
pop ecx
pop ecx
mov ecx, dword [esi + 0x3c]
mov byte [ebx + ecx], al
inc ebx
cmp ebx, edi
jb 0x48cbd6
mov edx, dword [esi + 0x3c]
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x48cc25
mov eax, dword [esi + 0x24]
lea ebx, [eax + edi]
cmp ebx, dword [esi + 0x28]
jb 0x48cc11
mov dword [esi + 0x14], 0x30000
jmp 0x48cc47
push edi
add eax, ecx
push edx
push eax
call fcn.00490dc0
add esp, 0xc
add dword [esi + 0x24], edi
mov eax, edi
jmp 0x48cc49
mov eax, dword [esi + 4]
test eax, eax
je 0x48cc40
lea ecx, [ebp + 8]
push 0
push ecx
push edi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp + 8]
jmp 0x48cc49
mov dword [esi + 0x14], 0x1000000
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x48d004
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x84]
test ecx, ecx
je 0x48d05a
mov eax, dword [esi + 0x8c]
mov edi, dword [esi + 0x88]
cmp eax, edi
jae 0x48d09c
sub edi, eax
cmp edi, dword [ebp + 0xc]
jbe 0x48d02f
mov edi, dword [ebp + 0xc]
add eax, ecx
push edi
push eax
push dword [ebp + 8]
call fcn.00490dc0
add dword [esi + 0x8c], edi
add dword [esi + 0x74], edi
push edi
push dword [ebp + 8]
push dword [esi + 0x78]
call fcn.0048c5a5
mov dword [esi + 0x78], eax
add esp, 0x18
mov eax, edi
jmp 0x48d09e
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x48d095
lea ecx, [ebp + 0xc]
push 0
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x48d09c
mov eax, dword [ebp + 0xc]
add dword [esi + 0x74], eax
push eax
push dword [ebp + 8]
push dword [esi + 0x78]
call fcn.0048c5a5
mov dword [esi + 0x78], eax
mov eax, dword [ebp + 0xc]
add esp, 0xc
jmp 0x48d09e
mov dword [esi + 0x14], 0x1000000
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
Function at 0x48dd6a
Capabilities:
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
lea eax, [ebp + 8]
push dword [esi + 4]
push dword [ebp + 8]
push eax
call fcn.0048dc96
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 0
jne 0x48dd8d
xor esi, esi
jmp 0x48ddff
mov edi, dword [ebp + 0xc]
push edi
call fcn.00411bc2
test al, al
pop ecx
je 0x48dda2
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x48ddfc
push eax
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x48ddfc
mov eax, dword [0x4a9450]
push edi
push dword [ebp + 8]
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push str.Cannot_move_from__s_into__s
push eax
call fcn.004069e4
add esp, 0x10
lea eax, [ebp + 0xc]
lea ecx, [esi + 8]
push eax
call fcn.004099ea
lea ecx, [ebp + 0xc]
call fcn.00401085
lea ecx, [ebp + 8]
call fcn.00401085
xor eax, eax
jmp 0x48de09
push 1
pop esi
lea ecx, [ebp + 8]
call fcn.00401085
mov eax, esi
pop edi
pop esi
pop ebp
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1000584e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [fcn.1000584e]
mov dword [0x102f7010], 0x1060
mov ecx, dword [0x102f700c]
mov edx, ecx
add edx, 0x1bd4
add ecx, 0xc29
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
cmp word [eax], 0x5a4d
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
jne 0x100058b3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x100058b3
mov eax, dword [ebp - 0x14]
mov dword [0x102f7010], eax
mov eax, dword [ebp - 0x10]
add esp, 0x14
pop ebp
ret
mov eax, dword [ebp - 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], eax
jmp 0x10005881

Function at 0x100058e0
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 [0x102f700c], 0x13a8
mov dword [0x102f7018], 0
mov byte [0x102f701c], 0
mov edi, dword [0x102f7010]
add edi, 0xffffea5b
mov dword [0x102f7010], edi
mov dword [0x102f7014], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10005954
xor eax, eax
mov dword [0x102f700c], 0x119a
mov dword [0x102f7014], 0
mov dword [ebp - 0x20], eax
jmp 0x1000598b
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x102f7010]
add eax, 0xfffff29d
mov dword [0x102f700c], eax
mov eax, dword [0x102f7014]
add eax, 1
mov dword [0x102f7014], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10005954
jmp 0x10005939
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 [0x102f7020], 0
mov dword [0x102f700c], 0x21a0
mov edi, dword [0x102f7018]
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 [0x102f7020], esi
mov eax, esi
cdq
idiv ecx
mov dword [0x102f7018], edx
mov dword [0x102f7010], 0xd15
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x102f701c], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov dword [0x102f700c], 0x18ab
mov cl, byte [0x102f701c]
mov esi, dword [0x102f7018]
mov byte [ebx + esi], cl
mov esi, dword [0x102f7014]
add esi, 1
mov dword [0x102f7014], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x1000598b
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10005acd
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x102cfb28]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [0x102f7010], 0x780
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
call fcn.10005a3e
mov eax, dword [0x102f700c]
add eax, 0x23bd
mov dword [0x102f700c], eax
call fcn.100063f1
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1000559e
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
je 0x10005bd6
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 [0x102f700c], 0x1a85
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.1000574d
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x102f7010], 0xffffea19
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x40], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx + 0x28], ecx
mov dword [0x102f700c], 0x24ae
cmp ecx, 0
mov dword [ebp - 0x40], eax
jne 0x10005be0
mov eax, dword [ebp - 0x40]
add esp, 0x4c
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x44]
add eax, 0x1ef5
mov ecx, dword [0x102f7010]
add ecx, 0xffffec01
mov dword [0x102f7010], ecx
mov dword [ebp - 0x40], eax
jmp 0x10005bd6
Function at 0x10005ca0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [0x102f700c], 0xacb
mov dword [ebp - 0x10], eax
call fcn.1000679e
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x10005ce6
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x102f7010], 0x6ce
mov esi, dword [edx + eax + 0x24]
mov dword [0x102f700c], 0xfffffca0
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
jne 0x10005d5c
mov eax, dword [ebp - 0x34]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x102f700c], 0x1919
mov dword [ebp - 0x34], edi
jmp 0x10005d2c
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + ecx*4]
mov dword [0x102f700c], 0xacb
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov ecx, eax
mov edx, dword [ebp - 0x48]
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 - 0x50], eax
mov byte [ebp - 0x51], bh
mov byte [ebp - 0x52], cl
je 0x10005de2
mov al, byte [ebp - 0x51]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x50]
add edx, 1
mov ah, byte [ebp - 0x52]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x4c], edx
jne 0x10005d90
mov al, byte [ebp - 0x52]
test al, 1
jne 0x10005d37
jmp 0x10005def
xor eax, eax
mov ecx, dword [ebp - 0x38]
add ecx, 2
mov edx, dword [ebp - 0x44]
add edx, 1
mov esi, dword [ebp - 0x30]
cmp edx, esi
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x40], ecx
jb 0x10005d6c
jmp 0x10005d2c
Function at 0x10006513
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [0x102f7010], 0x1a0e
mov dword [ebp - 4], 0
mov dword [0x102f700c], 0x7d0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [0x102f700c]
add edx, 0xfffffa13
mov dword [0x102f700c], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x102f7010], 0x19a
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x100065c4
mov eax, dword [ebp - 0x14]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], eax
jl 0x100065c4
jmp 0x100065da
mov eax, 0xffffec88
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x20], eax
je 0x10006603
jmp 0x10006697
mov eax, 0xffffee12
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x20], eax
je 0x10006683
jmp 0x10006697
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
jne 0x1000656f
mov eax, dword [ebp - 0x18]
mov ecx, 0xffffec88
mov dword [0x102f700c], 0x2b1
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
je 0x10006588
jmp 0x10006697
mov eax, 0x1137
mov dword [0x102f700c], 0x2760
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x20], eax
jne 0x10006697
mov eax, 0x1137
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x20], eax
jne 0x10006697
mov eax, 0xfffff83a
mov dword [0x102f700c], 0xe63
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x20], eax
jne 0x10006697
mov eax, 0xffffee12
mov dword [0x102f700c], 0x43b
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x20], eax
je 0x100065a4
jmp 0x10006697
mov eax, 1
mov dword [0x102f700c], 0x26a1
mov dword [ebp - 0x24], eax
jmp 0x100066a4
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov dword [0x102f7010], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
add esp, 0x24
pop ebp
ret
Function at 0x10006914
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 ebx, 0x1541
mov dword [0x102f7014], 0
mov dword [0x102f7018], 0
mov dword [0x102f7024], 0
mov dword [0x102f700c], 0x1541
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov eax, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], ebx
je 0x10006aa5
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov edi, 0x100
mov ebx, ecx
add ebx, 1
add eax, 0xffffe50f
add edx, 1
mov dword [0x102f700c], eax
mov eax, edx
cdq
idiv edi
mov dword [0x102f7014], edx
mov dword [0x102f7010], 0x1c5a
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x24]
movzx ecx, byte [ecx + edx]
add ecx, esi
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x102f7018], edx
mov dword [0x102f700c], 0xe53
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x102f701c], cl
mov dword [0x102f7010], 0x1303
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x102f701c]
mov edx, dword [0x102f7018]
mov byte [edi + edx], cl
mov edx, dword [0x102f700c]
mov ecx, edx
add ecx, 0x1414
mov dword [0x102f700c], ecx
mov ecx, dword [0x102f7014]
movzx ecx, byte [edi + ecx]
mov esi, dword [0x102f7018]
movzx esi, byte [edi + esi]
add esi, ecx
mov ecx, edx
add ecx, 0xfffff366
mov dword [0x102f700c], ecx
and esi, 0xff
mov dword [0x102f7024], esi
mov cl, byte [edi + esi]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x30]
mov ch, byte [esi + edi]
add edx, 0xffffe34d
mov dword [0x102f700c], edx
xor ch, cl
mov edx, dword [ebp - 0x20]
mov byte [edx + edi], ch
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x10006aa5
mov eax, dword [0x102f7014]
mov ecx, dword [0x102f7018]
mov edx, dword [0x102f700c]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], edx
jmp 0x1000697f
mov dword [0x102f7010], 0xaeb
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret