joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5bf607
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x69c1e0], 0
push esi
jne 0x5bf57a
call fcn.005bf4a0
test eax, eax
je 0x5bf5bd
mov eax, dword [0x69c1e0]
cmp eax, 1
jne 0x5bf59b
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x5bf5bd
pop esi
ret
push eax
call dword [0x69c1e8]
test eax, eax
jne 0x5bf605
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x5bf5c1
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x69c1e0]
call dword [0x69c1e8]
mov edi, eax
test edi, edi
je 0x5bf5e6
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x5bf602
mov edi, esi
add esi, 0xff0
push edi
push dword [0x69c1e0]
call dword [0x69c1e4]
add edi, 0x10
cmp edi, esi
jb 0x5bf5ee
mov eax, edi
pop edi
pop esi
ret
jmp 0x5bf567

Function at 0x5bfcb8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x698b9c]
jne 0x5bfcc2
repz ret
jmp fcn.005c922c

Function at 0x5c0a0a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x5c0a3b
call fcn.005c7be4
mov dword [eax], esi
call fcn.005c7bd1
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.005c55dc
add esp, 0x14
push 0x16
pop eax
jmp 0x5c0a90
test dword [ebp + 0xc], 0xfffffff9
jne 0x5c0a17
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x5c0a68
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.005c7bf7
pop ecx
call fcn.005c7bd1
mov eax, dword [eax]
jmp 0x5c0a90
test al, 0x10
jne 0x5c0a8e
test al, 1
je 0x5c0a8e
test byte [ebp + 0xc], 2
je 0x5c0a8e
call fcn.005c7be4
mov dword [eax], 5
call fcn.005c7bd1
mov dword [eax], 0xd
jmp 0x5c0a5f
xor eax, eax
pop esi
pop ebp
ret
Function at 0x5d6590
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.005c8ca9
and dword [ebp - 4], 0
cmp dword [0x69cdf0], 0
mov ebx, eax
jne 0x5d6641
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x5d66f2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x5d66f2
push eax
call fcn.005c8c37
mov dword [esp], 0x664560
push edi
mov dword [0x69cdf0], eax
call esi
push eax
call fcn.005c8c37
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x69cdf4], eax
call esi
push eax
call fcn.005c8c37
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x69cdf8], eax
call esi
push eax
call fcn.005c8c37
pop ecx
mov dword [0x69ce00], eax
test eax, eax
je 0x5d6641
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.005c8c37
pop ecx
mov dword [0x69cdfc], eax
mov eax, dword [0x69cdfc]
cmp eax, ebx
je 0x5d6699
cmp dword [0x69ce00], ebx
je 0x5d6699
push eax
call fcn.005c8cb2
push dword [0x69ce00]
mov esi, eax
call fcn.005c8cb2
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x5d6699
test edi, edi
je 0x5d6699
call esi
test eax, eax
je 0x5d6690
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x5d6690
test byte [ebp - 0xc], 1
jne 0x5d6699
or dword [ebp + 0x10], 0x200000
jmp 0x5d66d2
mov eax, dword [0x69cdf4]
cmp eax, ebx
je 0x5d66d2
push eax
call fcn.005c8cb2
pop ecx
test eax, eax
je 0x5d66d2
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x5d66d2
mov eax, dword [0x69cdf8]
cmp eax, ebx
je 0x5d66d2
push eax
call fcn.005c8cb2
pop ecx
test eax, eax
je 0x5d66d2
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x69cdf0]
call fcn.005c8cb2
pop ecx
test eax, eax
je 0x5d66f2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x5d66f4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001f1c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0xc]
cmp word [ecx], 0
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
je 0x1001fa7
cmp word [eax], 0
push ebx
push esi
push edi
je 0x1001fa2
mov ebx, dword [fcn.01001108]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
jmp 0x1001f88
mov ax, word [edi]
test ax, ax
je 0x1001fab
movzx ecx, word [esi]
movzx eax, ax
sub ecx, eax
jne 0x1001f8e
push esi
call ebx
push edi
mov dword [ebp - 4], eax
call ebx
mov ecx, dword [ebp - 4]
sub eax, edi
sub ecx, esi
xor eax, ecx
test eax, 0xfffffffe
jne 0x1001f8e
jmp 0x1001f83
inc esi
inc esi
movzx ecx, word [esi]
inc edi
inc edi
movzx eax, word [edi]
sub ecx, eax
je 0x1001f88
cmp esi, dword [ebp - 4]
jb 0x1001f75
cmp word [esi], 0
jne 0x1001f48
cmp word [edi], 0
je 0x1001fab
push dword [ebp + 8]
call ebx
cmp word [eax], 0
mov dword [ebp + 8], eax
jne 0x1001f40
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
mov eax, dword [ebp + 8]
jmp 0x1001fa4

Function at 0x1002795
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x1005084]
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0x2001f
mov ebx, ecx
push eax
push dword [ebx]
xor esi, esi
lea ecx, [ebp - 0x208]
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x208], esi
call fcn.01001b36
cmp eax, esi
jne 0x1002836
push edi
mov edi, dword [0x100101c]
jmp 0x10027ed
lea eax, [ebp - 0x204]
push eax
call fcn.01002795
cmp eax, esi
jne 0x1002835
lea eax, [ebp - 0x218]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x208]
mov dword [ebp - 0x20c], 0x100
call edi
test eax, eax
lea ecx, [ebp - 0x208]
je 0x10027dd
call fcn.01001ac3
push dword [ebp - 0x210]
push dword [ebx]
call dword [entry0]
pop edi
lea ecx, [ebp - 0x208]
mov esi, eax
call fcn.01001ac3
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
pop ebx
call fcn.010042c9
leave
ret 4
Function at 0x10007f11
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x10007f33
mov eax, 0xfffffffd
jmp 0x10008010
mov ebx, dword [0x107836c4]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x10007fde
mov ebx, dword [0x107836c4]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 6
jne 0x10007f82
mov ebx, dword [0x107836c4]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 2
jne 0x10007f82
mov eax, 1
jmp 0x10007f84
xor eax, eax
test eax, eax
je 0x10007fb0
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x10007f99
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x107836c4]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x10008006
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x10008010
mov esp, ebp
pop ebp
ret 4
Function at 0x100253f4
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
mov ecx, dword fs:[0x30]
mov al, byte [ecx + 2]
leave
ret
Function at 0x1002afd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100afdd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebp
push esi
push edi
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x10]
call fcn.100a5025
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.1002d1a0
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x1002b024
jmp dword [ecx*4 + 0x1002b18c]
mov al, byte [esi]
test al, al
je 0x1002b052
cmp al, 0x20
je 0x1002b03e
cmp al, 0xa1
jne 0x1002b052
cmp byte [esi + 1], al
jne 0x1002b052
test al, 0x80
je 0x1002b04a
mov al, byte [esi + 1]
inc esi
test al, al
je 0x1002b052
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1002b031
test ecx, ecx
je case.default.0x1002b024
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x1002b024
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x1002b098
cmp dl, 0xa1
jne 0x1002b08c
cmp byte [eax + 1], 0xa1
jne 0x1002b08c
test ecx, ecx
jne 0x1002b084
mov edi, eax
mov ecx, 1
inc eax
jmp 0x1002b0ac
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x1002b0c6
jmp 0x1002b0ac
cmp dl, 0x20
jne 0x1002b0aa
test ecx, ecx
jne 0x1002b0a3
mov edi, eax
mov ecx, 1
jmp 0x1002b0ac
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x1002b06c
cmp ecx, 1
jne case.default.0x1002b024
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x1002b024
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x1002b024
mov al, byte [esi]
test al, al
je 0x1002b11e
test al, 0x80
mov byte [esp + 0x3c], al
je 0x1002b104
mov cl, byte [esi + 1]
test cl, cl
je 0x1002b11e
cmp al, 0xa1
jne 0x1002b0f4
cmp cl, al
je 0x1002b101
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.1002d470
inc esi
jmp 0x1002b116
cmp al, 0x20
je 0x1002b116
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.1002d4b0
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1002b0dd
push 0
lea ecx, [esp + 0x14]
call fcn.1002d4b0
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1003d8b0
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x1002b151
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x10756f48
call fcn.1002d3a0
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.100a4fb7
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x1004ae50
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x1078ffa8]
xor edx, edx
cmp eax, edx
jne 0x1004ae76
xor eax, eax
mov byte [eax + 0x1078fea8], al
inc eax
cmp eax, 0x100
jl 0x1004ae5e
mov dword [0x1078ffa8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x1078fea8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x1004af07
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x1004aeda
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x1004aea8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x1004af80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x1004afd3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x1004afba
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10052050
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x100521e8
cmp ebp, ebx
jle 0x100521e8
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x100520ae
dec eax
or eax, 0xfffffff8
inc eax
je 0x100520b5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, 0x80000001
jns 0x100520c4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x100520cb
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.100a4cf8
add esp, 4
cmp eax, ebx
je 0x100520ec
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.100a4cf8
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x100521de
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x100521c5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x100521b1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x100521a6
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x100521b4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x100521b4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x10052150
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x10052141
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x100604e0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100b2e68
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x10060519
inc eax
mov dword [esi + 0x10], eax
jmp 0x1006062c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x1006052d
mov eax, 0xffffffc7
jmp 0x1006062e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x1006053e
cmp dword [esi + 8], eax
jne 0x1006052d
cmp dword [esi + 8], eax
jne 0x10060557
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x10060557
mov eax, 0xffffffc7
jmp 0x1006062e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x1006056b
push eax
mov ecx, ebx
call fcn.1005fd10
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.1002d1a0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x1006059c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.1002d1c0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.1005f480
test eax, eax
mov dword [esp + 0x38], eax
je 0x100605cf
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x10759f98
call fcn.1002d3a0
mov eax, dword [esp + 0x38]
jmp 0x1006062e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.10060340
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x10060613
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.10060360
mov esi, eax
test esi, esi
jne 0x10060643
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.10060340
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x100605e5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x10759f98
call fcn.1002d3a0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x10759f98
call fcn.1002d3a0
mov eax, esi
jmp 0x1006062e
Function at 0x10073f00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x10073f0b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x1007400e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x1075bc68]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x1075bc68]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x1075bc68]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x1075bc68]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x1075bc68]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x1075bc68]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x1075bc68]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x1075bc68]
xor eax, edx
inc ecx
dec edi
jne 0x10073f26
pop edi
test esi, esi
je 0x10074030
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x1075bc68]
xor eax, edx
inc ecx
dec esi
jne 0x10074012
pop esi
pop ebx
not eax
ret
Function at 0x1008e5c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100b3d20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.1008e170
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.1008e1f0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.1008e1f0
lea ecx, [esi + 0xc]
call fcn.100a4f42
lea ecx, [esi + 0x10]
call fcn.100a4f42
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.1008f780
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.1008f780
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.1008f780
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.100a4fb7
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.100a4fb7
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x1008fae0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 8
xor ecx, ecx
xor eax, eax
push ebp
mov ebp, dword [esp + 0x18]
mov byte [eax + ebp], al
inc eax
cmp eax, 0x100
jl 0x1008faec
mov eax, dword [esp + 0x14]
mov byte [ebp + 0x100], cl
cmp eax, ecx
mov byte [ebp + 0x101], cl
jle 0x1008fb7f
push ebx
push esi
push edi
mov byte [esp + 0x24], cl
xor esi, esi
mov ebx, ebp
mov dword [esp + 0x10], 0x100
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
and edi, 0xff
xor eax, eax
xor edx, edx
mov al, byte [edi + ecx]
mov dl, byte [ebx]
add esi, eax
add edx, esi
and edx, 0x800000ff
jns 0x1008fb49
dec edx
or edx, 0xffffff00
inc edx
mov byte [esp + 0x14], dl
mov esi, dword [esp + 0x14]
and esi, 0xff
lea eax, [esi + ebp]
push eax
push ebx
call fcn.1008fb90
lea eax, [edi + 1]
add esp, 8
cdq
idiv dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc ebx
dec eax
mov dword [esp + 0x10], eax
mov byte [esp + 0x24], dl
jne 0x1008fb1e
pop edi
pop esi
pop ebx
pop ebp
add esp, 8
ret
Function at 0x1008fbb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
mov edx, dword [esp + 0x14]
push ebx
push esi
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov al, byte [esi + 0x100]
mov cl, byte [esi + 0x101]
test edx, edx
mov byte [esp + 0x20], al
mov byte [esp + 8], cl
jle 0x1008fcad
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x28]
and edi, 0xff
and ebp, 0xff
lea eax, [edi + 1]
and eax, 0x800000ff
jns 0x1008fc02
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x28], al
xor ecx, ecx
mov edi, dword [esp + 0x28]
and edi, 0xff
mov cl, byte [edi + esi]
lea eax, [edi + esi]
add ecx, ebp
mov dword [esp + 0x18], eax
and ecx, 0x800000ff
jns 0x1008fc2e
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ebp, dword [esp + 0x10]
and ebp, 0xff
lea ecx, [esi + ebp]
push ecx
push eax
mov dword [esp + 0x1c], ecx
call fcn.1008fb90
mov eax, dword [esp + 0x1c]
xor edx, edx
xor ecx, ecx
add esp, 8
mov dl, byte [eax]
mov eax, dword [esp + 0x18]
mov cl, byte [eax]
add edx, ecx
and edx, 0x800000ff
jns 0x1008fc6f
dec edx
or edx, 0xffffff00
inc edx
mov eax, dword [esp + 0x20]
and edx, 0xff
mov cl, byte [edx + esi]
mov dl, byte [ebx + eax]
xor dl, cl
mov byte [ebx + eax], dl
mov eax, dword [esp + 0x24]
inc ebx
cmp ebx, eax
jl 0x1008fbf1
mov dl, byte [esp + 0x28]
mov al, byte [esp + 0x10]
pop edi
mov byte [esi + 0x100], dl
mov byte [esi + 0x101], al
pop ebp
pop esi
pop ebx
add esp, 0xc
ret
mov byte [esi + 0x100], al
mov byte [esi + 0x101], cl
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x10091800
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x1077d9c4]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x10091813
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x10091854
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x1077da6c]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x10091886
mov bl, byte [esp + ecx + 0x4c]
jmp 0x1009188a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x1009187b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x100918a8
mov bl, byte [esp + ecx + 0x4c]
jmp 0x100918ac
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x1009189d
xor ecx, ecx
mov eax, 0x1077d9d4
xor ebx, ebx
mov bl, byte [ecx + 0x1077da7c]
cmp byte [esp + ebx + 0x14], 0
je 0x100918d7
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x1077da94]
cmp byte [esp + ebx + 0x14], 0
je 0x100918ee
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x100918be
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x10091847
lea edx, [esp + 0x84]
push edx
call fcn.10091930
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret