joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10037617
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x100b6955
call fcn.100b2f10
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], 0x100bc918
mov dword [esi + 4], 0x100bc7ac
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.100023fb
mov al, byte [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x40], al
mov dword [esi], 0x100c1b74
mov dword [esi + 4], 0x100c1b64
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x100376ad
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x100b6976
call fcn.100b2f10
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [esi + 0x30]
mov dword [ebp - 4], 1
call fcn.100032c4
pop ecx
lea ecx, [esi + 0x24]
call fcn.1002d4a8
and byte [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.10037823
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
call fcn.10037796
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x1003a042
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100b6c6e
call fcn.100b2f10
push ecx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.10001c73
xor ebx, ebx
lea ecx, [esi + 0xc]
mov dword [ebp - 4], ebx
call fcn.10001c73
mov dword [esi + 0x18], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], ebx
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 1
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
call fcn.10001c73
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 2
call fcn.10001c73
or dword [esi + 0x7c], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x64], bl
mov byte [esi + 0x65], bl
mov byte [esi + 0x66], bl
mov byte [esi + 0x67], bl
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x1003b5c6
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100b6e0a
call fcn.100b2f10
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ebx, ecx
push esi
mov dword [ebp - 0x10], ebx
call fcn.10001ccf
and dword [ebp - 4], 0
lea eax, [esi + 0xc]
push eax
lea ecx, [ebx + 0xc]
call fcn.10001ccf
mov eax, dword [esi + 0x18]
lea ecx, [ebx + 0x4c]
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [ebx + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [ebx + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [ebx + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x2c], eax
mov eax, dword [esi + 0x30]
mov dword [ebx + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [ebx + 0x34], eax
mov eax, dword [esi + 0x38]
mov dword [ebx + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [ebx + 0x3c], eax
mov eax, dword [esi + 0x40]
mov dword [ebx + 0x40], eax
mov eax, dword [esi + 0x44]
mov dword [ebx + 0x44], eax
mov eax, dword [esi + 0x48]
mov dword [ebx + 0x48], eax
lea eax, [esi + 0x4c]
push eax
mov byte [ebp - 4], 1
call fcn.10001ccf
lea eax, [esi + 0x58]
lea ecx, [ebx + 0x58]
push eax
mov byte [ebp - 4], 2
call fcn.10001ccf
mov al, byte [esi + 0x64]
push 5
mov byte [ebx + 0x64], al
mov al, byte [esi + 0x65]
mov byte [ebx + 0x65], al
mov al, byte [esi + 0x66]
mov byte [ebx + 0x66], al
mov al, byte [esi + 0x67]
mov byte [ebx + 0x67], al
mov eax, dword [ebp + 8]
add esi, 0x68
lea edi, [ebx + 0x68]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0x7c]
mov ecx, dword [ebp - 0xc]
mov dword [ebx + 0x7c], eax
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x100466cd
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100b7ba8
call fcn.100b2f10
push ecx
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.10046882
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
lea eax, [esi + 0x78]
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], edi
lea eax, [esi + 0x90]
mov dword [ebp - 0x14], eax
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 7
call fcn.10042d64
lea eax, [esi + 0xa8]
mov dword [ebp - 0x14], eax
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 9
call fcn.10042d64
lea edi, [esi + 0xc0]
mov byte [ebp - 4], 0xa
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.10042d64
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 0xb
call fcn.10042d64
lea ecx, [esi + 0xd8]
mov byte [ebp - 4], 0xc
call fcn.10042d64
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x1004b495
Capabilities:
Parse pe header

Disassembly:
cmp edx, 0x200
jb 0x1004b4f1
cmp word [ecx], 0x5a4d
jne 0x1004b4f1
mov eax, dword [ecx + 0x3c]
cmp eax, 0x1000
jae 0x1004b4f1
push esi
lea esi, [eax + 0x200]
cmp esi, edx
pop esi
ja 0x1004b4f1
test al, 7
jne 0x1004b4f1
add eax, ecx
cmp dword [eax], 0x4550
jne 0x1004b4f1
movzx ecx, word [eax + 4]
add eax, 4
sub ecx, 0x14c
je 0x1004b50b
sub ecx, 0x74
je 0x1004b504
dec ecx
dec ecx
je 0x1004b504
dec ecx
dec ecx
je 0x1004b4fd
sub ecx, 0x3c
je 0x1004b4f6
sub ecx, 0x8464
je 0x1004b50b
xor eax, eax
ret 4
mov ecx, 0x3030401
jmp 0x1004b510
mov ecx, 0x3030701
jmp 0x1004b510
mov ecx, 0x3030501
jmp 0x1004b510
mov ecx, 0x3030103
cmp word [eax + 0x10], 0x400
ja 0x1004b4f1
movzx eax, word [eax + 0x14]
cmp eax, 0x10b
je 0x1004b52a
cmp eax, 0x20b
jne 0x1004b4f1
mov eax, dword [esp + 4]
push 1
mov dword [eax], ecx
pop eax
jmp 0x1004b4f3

Function at 0x1004f60e
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, edx
xor eax, eax
mov esi, edi
shr esi, 2
je 0x1004f623
xor eax, dword [ecx]
add ecx, 4
dec esi
jne 0x1004f61b
and edi, 3
cmp edi, 2
jbe 0x1004f634
movzx edx, byte [ecx]
shl edx, 0x10
xor eax, edx
inc ecx
cmp edi, 1
jbe 0x1004f640
xor edx, edx
mov dh, byte [ecx]
xor eax, edx
inc ecx
test edi, edi
pop edi
pop esi
jbe 0x1004f64b
movzx ecx, byte [ecx]
xor eax, ecx
ret
Function at 0x1005cc28
Capabilities:
Parse credit card information

Disassembly:
mov edx, dword [ecx + 0x50]
cmp edx, 2
jge 0x1005cc41
cmp byte [ecx + 0x56], 0
mov eax, dword [esp + 4]
je 0x1005cca6
cmp eax, 0x3f
jb 0x1005cca6
jmp 0x1005cc95
mov eax, dword [esp + 4]
cmp eax, 0x2c
jb 0x1005cca6
cmp edx, 3
jl 0x1005cc59
cmp eax, 0x2c
jne 0x1005cc58
push 0x48
jmp 0x1005cca5
dec eax
cmp edx, 4
jl 0x1005cc68
cmp eax, 0x2c
jne 0x1005cc67
push 0x49
jmp 0x1005cca5
dec eax
cmp eax, 0x3a
jb 0x1005cca6
cmp byte [ecx + 0x28], 0
je 0x1005cc87
cmp eax, 0x3a
jne 0x1005cc7c
push 0x44
jmp 0x1005cca5
cmp eax, 0x3b
jne 0x1005cc85
push 0x45
jmp 0x1005cca5
dec eax
dec eax
cmp eax, 0x3f
jb 0x1005cc9e
cmp byte [ecx + 0x56], 0
je 0x1005cc9e
cmp eax, 0x3f
jne 0x1005cc9b
push 0x46
jmp 0x1005cca5
dec eax
jmp 0x1005cca6
cmp eax, 0x44
jne 0x1005cca6
push 0x47
pop eax
ret 4
Function at 0x10061259
Capabilities:
Parse pe header

Disassembly:
cmp edx, 2
jb 0x1006129d
cmp byte [ecx], 0x4d
jne 0x1006129d
cmp byte [ecx + 1], 0x5a
jne 0x1006129d
cmp edx, 0x40
jb 0x1006129d
mov eax, dword [ecx + 0x3c]
cmp eax, 0x40
jb 0x1006129d
cmp eax, 0x1000
ja 0x1006129d
test al, 7
jne 0x1006129d
push esi
lea esi, [eax + 0x18]
cmp esi, edx
pop esi
ja 0x1006129d
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1006129d
cmp word [ecx + 0x14], 0x60
sbb eax, eax
inc eax
ret
xor al, al
ret

Function at 0x1006142c
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
mov eax, 0x100b8e03
call fcn.100b2f10
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
or dword [esi + 0x24], 0xffffffff
lea ecx, [esi + 0x30]
mov byte [esi], 1
mov byte [esi + 1], bl
mov byte [esi + 2], bl
mov byte [esi + 3], bl
mov byte [esi + 4], bl
mov byte [esi + 5], bl
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], 1
mov dword [esi + 0x20], ebx
call fcn.10001c73
lea ecx, [esi + 0x3c]
mov dword [ebp - 4], ebx
call fcn.100023fb
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x10065318
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x100b9447
call fcn.100b2f10
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [edi]
lea ecx, [esi + 0x38]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov ax, word [edi + 0x30]
mov word [esi + 0x30], ax
mov al, byte [edi + 0x32]
mov byte [esi + 0x32], al
mov al, byte [edi + 0x33]
mov byte [esi + 0x33], al
mov al, byte [edi + 0x34]
mov byte [esi + 0x34], al
mov al, byte [edi + 0x35]
mov byte [esi + 0x35], al
mov al, byte [edi + 0x36]
mov byte [esi + 0x36], al
lea eax, [edi + 0x38]
push eax
call fcn.10001ccf
and dword [ebp - 4], 0
lea eax, [edi + 0x44]
push eax
lea ecx, [esi + 0x44]
call fcn.10002461
mov eax, dword [edi + 0x50]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x50], eax
mov eax, dword [edi + 0x54]
mov dword [esi + 0x54], eax
mov eax, dword [edi + 0x58]
mov dword [esi + 0x58], eax
mov eax, dword [edi + 0x5c]
mov dword [esi + 0x5c], eax
mov eax, dword [edi + 0x60]
mov dword [esi + 0x60], eax
mov ax, word [edi + 0x64]
mov word [esi + 0x64], ax
mov ax, word [edi + 0x66]
mov word [esi + 0x66], ax
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x1006a6e6
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, ecx
test esi, esi
mov ecx, edx
jbe 0x1006a715
push ebx
push edi
movzx edi, byte [ecx]
movzx edx, ax
shr edx, 8
xor edx, edi
xor ebx, ebx
mov bh, al
mov ax, word [edx*2 + 0x100d8e58]
xor ax, bx
inc ecx
dec esi
jne 0x1006a6f5
pop edi
pop ebx
pop esi
ret 4
Function at 0x1006c34d
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x100b9b3e
call fcn.100b2f10
push ecx
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
push esi
mov ecx, dword [eax]
push edi
mov dword [ebx], ecx
mov ecx, dword [eax + 8]
mov dword [ebx + 8], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebx + 0xc], ecx
mov ecx, dword [eax + 0x10]
mov dword [ebx + 0x10], ecx
mov ecx, dword [eax + 0x14]
lea esi, [eax + 0x18]
lea edi, [ebx + 0x18]
mov dword [ebx + 0x14], ecx
mov dword [ebp - 0x10], ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [eax + 0x24]
lea edi, [ebx + 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov cl, byte [eax + 0x30]
add eax, 0x34
mov byte [ebx + 0x30], cl
push eax
lea ecx, [ebx + 0x34]
call fcn.100160f2
mov esi, dword [ebp + 8]
and dword [ebp - 4], 0
lea ecx, [ebx + 0x3c]
lea eax, [esi + 0x3c]
push eax
call fcn.1006c41e
add esi, 0x48
lea ecx, [ebx + 0x48]
push esi
mov byte [ebp - 4], 1
call fcn.1007ffc2
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x10072db1
Capabilities:
Hash data using sha1

Disassembly:
and dword [ecx + 0x10], 0
and dword [ecx + 0x14], 0
add ecx, 0x18
jmp fcn.100ad5b0

Function at 0x100730ec
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x100ba0d1
call fcn.100b2f10
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [edi]
lea ecx, [esi + 0x40]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
lea eax, [edi + 0x40]
push eax
call fcn.10002461
and dword [ebp - 4], 0
lea eax, [edi + 0x4c]
push eax
lea ecx, [esi + 0x4c]
call fcn.10002461
mov eax, dword [edi + 0x58]
lea ecx, [esi + 0x64]
mov dword [esi + 0x58], eax
mov al, byte [edi + 0x5c]
mov byte [esi + 0x5c], al
mov al, byte [edi + 0x5d]
mov byte [esi + 0x5d], al
mov eax, dword [edi + 0x60]
mov dword [esi + 0x60], eax
lea eax, [edi + 0x64]
push eax
mov byte [ebp - 4], 1
call fcn.10073446
add edi, 0x70
lea ecx, [esi + 0x70]
push edi
mov byte [ebp - 4], 2
call fcn.100160f2
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x100759da
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
mov eax, 0x100ba2d0
call fcn.100b2f10
sub esp, 0x30
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push str.CREATIONTIME
mov ecx, edi
lea edx, [esi + 4]
call fcn.10075bbf
push str.LASTMODIFICATIONTIME
lea edx, [esi + 0xc]
mov ecx, edi
mov byte [esi], al
call fcn.10075bbf
push str.NAME
lea ecx, [ebp - 0x18]
mov byte [esi + 1], al
call fcn.10001c95
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.10002ccf
lea edx, [esi + 0x14]
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.100039f4
push dword [ebp - 0x30]
mov byte [esi + 2], al
call fcn.100032c4
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call fcn.100032c4
pop ecx
pop ecx
push str.DIRCOUNT
lea ecx, [ebp - 0x18]
call fcn.10001c95
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 4], 2
call fcn.10002ccf
lea edx, [esi + 0x20]
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.10075b3c
push dword [ebp - 0x30]
call fcn.100032c4
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call fcn.100032c4
pop ecx
pop ecx
push str.FILECOUNT
lea ecx, [ebp - 0x18]
call fcn.10001c95
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 4], 4
call fcn.10002ccf
lea edx, [esi + 0x28]
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.10075b3c
push dword [ebp - 0x30]
call fcn.100032c4
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x18]
call fcn.100032c4
pop ecx
pop ecx
push str.INDEX
lea ecx, [ebp - 0x24]
call fcn.10001c95
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 4], 6
call fcn.10002c00
lea edx, [esi + 0x30]
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.10075b91
push dword [ebp - 0x3c]
mov byte [esi + 3], al
call fcn.100032c4
push dword [ebp - 0x24]
call fcn.100032c4
pop ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x1007611c
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100ba35f
call fcn.100b2f10
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [ebp - 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
or dword [esi + 0x20], 0xffffffff
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
call fcn.100023fb
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x10085060
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x31
call fcn.10084710
push 0x41
mov ecx, esi
call fcn.10084710
push 0x59
mov ecx, esi
call fcn.10084710
push 0x26
mov ecx, esi
call fcn.10084710
push 0x53
mov ecx, esi
call fcn.10084710
push 0x59
mov ecx, esi
call fcn.10084710
mov ecx, dword [esp + 0x1c]
or eax, 0xffffffff
xor edi, edi
xor ebp, ebp
mov bl, byte [ecx]
mov byte [esp + 0x10], bl
mov edx, dword [esp + 0x1c]
cmp edi, 4
mov cl, byte [edx + ebp]
mov byte [esp + 0x14], cl
jne 0x100850f0
test cl, cl
jbe 0x100850ec
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
and edx, 0xff
and ecx, 0xff
mov edi, eax
shr edi, 0x18
xor edi, edx
shl eax, 8
mov edi, dword [edi*4 + 0x100d915c]
xor eax, edi
dec ecx
jne 0x100850d6
xor edi, edi
jmp 0x1008511f
cmp bl, cl
jne 0x100850f7
inc edi
jmp 0x10085102
mov bl, cl
mov edi, 1
mov byte [esp + 0x10], bl
mov edx, dword [esp + 0x14]
mov ecx, eax
shr ecx, 0x18
and edx, 0xff
xor ecx, edx
shl eax, 8
mov ecx, dword [ecx*4 + 0x100d915c]
xor eax, ecx
mov ecx, dword [esp + 0x20]
inc ebp
cmp ebp, ecx
jb 0x100850ae
not eax
mov edi, eax
mov ecx, esi
push edi
call fcn.10084750
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
push eax
mov ecx, esi
call fcn.10084870
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
Function at 0x10085330
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
lea ecx, [esp + 0x14]
mov eax, dword [esi + 8]
mov edx, dword [esi + 0x8ce0]
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 8
mov byte [esp + 0x1c], bl
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x8cd4], ebx
mov eax, dword [edx + 0x174]
mov edx, dword [esi]
push edi
push eax
push ecx
push edx
mov ecx, esi
call fcn.10085160
mov ecx, dword [esi + 0x8ce0]
cmp byte [ecx + 0x1a0], bl
je 0x100853ac
mov eax, dword [esi + 0x8cd8]
lea edx, [eax + eax*8]
shl edx, 3
sub edx, eax
mov eax, dword [ecx + 0x17c]
shl edx, 9
mov ecx, dword [edx + eax + 0x8cf0]
call fcn.100af470
mov eax, dword [esi + 0x8cd4]
xor edx, edx
cmp eax, ebx
jbe 0x100853e9
lea edi, [esi + 0x7cd4]
mov eax, dword [esi + 0x8ce0]
add edi, 4
add eax, 0x178
mov ecx, dword [eax]
mov ebp, ecx
add ecx, ecx
shr ebp, 0x1f
or ebp, ecx
mov ecx, dword [edi - 4]
xor ebp, ecx
inc edx
mov dword [eax], ebp
mov eax, dword [esi + 0x8cd4]
cmp edx, eax
jb 0x100853be
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
push edx
mov edx, dword [esi + 8]
lea ecx, [eax*8 + 8]
sub ecx, edi
push ecx
mov ecx, dword [esi + 0x8ce0]
push edx
call fcn.100854c0
mov edi, dword [esi + 0x8ce0]
cmp byte [edi + 0x1a0], bl
je 0x100854a9
mov ebp, dword [esi + 0x8cd8]
mov eax, dword [edi + 0x19c]
inc ebp
cmp ebp, eax
jne 0x10085434
xor ebp, ebp
cmp dword [edi + 0x1b4], ebx
je 0x10085485
lea ecx, [edi + 0x148]
call fcn.10008ac1
mov ebx, dword [edi + 0x140]
mov ecx, 0xf
sub ecx, ebx
xor edi, edi
shr ecx, 3
add eax, ecx
adc edx, edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov edx, dword [esi + 0x8ce0]
mov eax, dword [edx + 0x1b4]
lea edx, [esp + 0x10]
push edx
lea edx, [esi + 0x8cf8]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
mov ebx, eax
mov eax, dword [esi + 0x8ce0]
lea ecx, [ebp + ebp*8]
shl ecx, 3
mov edx, dword [eax + 0x17c]
sub ecx, ebp
shl ecx, 9
lea ecx, [edx + ecx + 0x8cf0]
call fcn.100af4c0
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret 4
Function at 0x10091360
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov ebp, dword [esp + 0x18]
xor edx, edx
mov ecx, dword [esi + 4]
mov ebx, dword [esi]
mov eax, ecx
push edi
imul eax, dword [esp + 0x18]
div ebp
xor edx, edx
lea edi, [eax + ebx - 1]
mov eax, ecx
imul eax, dword [esp + 0x14]
div ebp
mov ecx, dword [esi + 8]
mov ebp, 0x10000
sub ecx, eax
add ebx, eax
mov dword [esi + 8], ecx
mov dword [esi], ebx
mov eax, dword [esi]
mov ecx, eax
xor ecx, edi
test ch, 0x80
je 0x100913c3
test ah, 0x40
je 0x10091430
test edi, 0x4000
jne 0x10091430
and eax, 0x3fff
or edi, 0x4000
mov dword [esi], eax
mov edx, dword [esi]
and edi, 0x7fff
and edx, 0x7fff
shl edx, 1
mov dword [esi], edx
mov eax, dword [esi + 0x10]
shl edi, 1
or edi, 1
cmp eax, ebp
jb 0x10091411
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
lea ecx, [esi + 0x18]
cmp eax, edx
jb 0x100913f9
call fcn.10006369
mov byte [esp + 0x18], al
jmp 0x10091402
mov dl, byte [eax]
inc eax
mov byte [esp + 0x18], dl
mov dword [ecx], eax
mov eax, dword [esp + 0x18]
and eax, 0xff
or ah, 1
mov dword [esi + 0x10], eax
mov ecx, dword [esi + 0x10]
mov eax, ecx
add ecx, ecx
mov dword [esi + 0x10], ecx
mov edx, dword [esi + 8]
shr eax, 7
and eax, 1
shl edx, 1
or edx, eax
mov dword [esi + 8], edx
jmp 0x1009139a
sub edi, dword [esi]
inc edi
mov dword [esi + 4], edi
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x100943a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
mov ecx, eax
imul ecx, edx
mov edx, dword [esi + 0x14]
add edx, ecx
mov dword [esi + 0x14], edx
mov edx, dword [esi + 0x10]
sub edx, ecx
imul eax, dword [esp + 8]
mov dword [esi + 0x10], edx
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0xc]
lea edx, [eax + ecx]
xor edx, eax
cmp edx, 0x1000000
jb 0x100943e8
cmp ecx, 0x8000
jae 0x10094432
neg eax
and eax, 0x7fff
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
lea ecx, [esi + 0x20]
cmp eax, edx
jb 0x10094400
call fcn.10006369
mov byte [esp + 8], al
jmp 0x10094409
mov dl, byte [eax]
inc eax
mov byte [esp + 8], dl
mov dword [ecx], eax
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 8]
shl eax, 8
and ecx, 0xff
or eax, ecx
mov ecx, dword [esi + 0xc]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x14]
shl ecx, 8
shl eax, 8
mov dword [esi + 0xc], ecx
mov dword [esi + 0x14], eax
jmp 0x100943c3
pop esi
ret 4
Function at 0x100982e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
mov eax, 1
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34]
mov ebp, ecx
xor ebx, ebx
xor cl, cl
push edi
mov edi, dword [esp + 0x34]
cmp esi, eax
jbe 0x10098308
mov dl, byte [eax + edi]
xor cl, dl
inc eax
cmp eax, esi
jb 0x100982fe
mov dword [ebp + 4], ebx
mov dword [ebp + 0xc], 0xffffffff
cmp cl, byte [edi]
jne 0x10098335
cmp esi, ebx
jbe 0x10098335
mov edx, esi
mov ecx, edi
call fcn.10098390
cmp eax, ebx
mov dword [ebp + 0xc], eax
jge 0x10098386
dec esi
inc edi
push esi
push edi
mov ecx, ebp
call fcn.10097ec0
mov eax, 3
mov ecx, ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.10098aa0
mov edi, dword [ebp + 4]
mov esi, dword [ebp]
shl edi, 5
add edi, esi
mov ecx, 8
lea esi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 4]
mov ecx, dword [ebp]
inc edx
mov eax, edx
mov dword [ebp + 4], edx
shl eax, 5
mov dword [eax + ecx - 0x20], 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8