joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100cea8e
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.10018c1e
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x100ceaca
call fcn.100cecab
mov dword [esi + 0xc], 1
jmp 0x100ceacf
call fcn.100cecab
cmp dword [esi], 0
je 0x100ceb1a
push edi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, dword [ebp + 0x10]
mov edi, eax
mov ecx, esi
test edi, edi
jle 0x100ceaf5
push edi
call fcn.100171d1
lea ecx, [edi + 1]
push ecx
jmp 0x100ceb04
push 0xff
call fcn.10004fbb
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.100090d3
pop edi
jmp 0x100ceb3e
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x100ceb3e
push dword [esi]
push dword [ebp - 4]
call fcn.1003d61f
pop esi
leave
ret 0xc

Function at 0x100cec02
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.100cecab
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x100cec4a
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.100171d1
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.100090d3
jmp 0x100cec55
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.1003d61f
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x101245a9
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call fcn.1016e960
pop ecx
test eax, eax
jne 0x101245eb
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str._s_s_X.tmp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.10010c1d
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x101245b1
leave
ret
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
leave
ret

Function at 0x10133e04
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.1015b25d
call fcn.10033110
cmp dword [eax + 0x14], 0
jne 0x10133e1f
mov ecx, esi
pop esi
jmp fcn.10133128
pop esi
ret

Function at 0x1013f9dc
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.10004bbd
call fcn.10033110
cmp dword [eax + 0x14], 0
jne 0x1013f9f7
mov ecx, esi
pop esi
jmp fcn.1013f24d
pop esi
ret

Function at 0x101786b1
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1017832e
Function at 0x4e2bf0
Capabilities:
Compute adler32 checksum

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
movzx ecx, di
shr edi, 0x10
test esi, esi
jne 0x4e2c0a
pop edi
lea eax, [esi + 1]
pop esi
ret
push ebx
mov ebx, dword [esp + 0x18]
test ebx, ebx
jbe 0x4e2d1a
push ebp
jmp 0x4e2c20
mov eax, ebx
cmp ebx, 0x15b0
jb 0x4e2c2f
mov eax, 0x15b0
sub ebx, eax
cmp eax, 0x10
jl 0x4e2cdb
mov edx, eax
shr edx, 4
mov ebp, edx
neg ebp
shl ebp, 4
add eax, ebp
jmp 0x4e2c50
movzx ebp, byte [esi]
add ecx, ebp
movzx ebp, byte [esi + 1]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 2]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 3]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 4]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 5]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 6]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 7]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 8]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 9]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xa]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xb]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xc]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xd]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xe]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xf]
add edi, ecx
add ecx, ebp
add edi, ecx
add esi, 0x10
sub edx, 1
jne 0x4e2c50
test eax, eax
je 0x4e2ced
nop
movzx edx, byte [esi]
add ecx, edx
inc esi
add edi, ecx
sub eax, 1
jne 0x4e2ce0
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul edx, edx, 0xffff000f
add ecx, edx
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul edx, edx, 0xffff000f
add edi, edx
test ebx, ebx
ja 0x4e2c20
pop ebp
mov eax, edi
pop ebx
shl eax, 0x10
pop edi
or eax, ecx
pop esi
ret

Function at 0x438c99
Capabilities:
Encode data using xor

Disassembly:
push 0x438a14
pop edi
and eax, ecx
sub eax, ecx
call fcn.00438cdb
add eax, ecx
xor dword [esi], edi
sub eax, ecx
and ecx, eax
add ecx, 0xac878be4
add esi, 1
push 0xba47577b
pop eax
add ecx, 0xa29264e6
inc ecx
cmp esi, edx
jne fcn.00438c99
sub eax, 0x972f3261
add eax, 0xe27e225c
ret

Function at 0x2a02bc0
Capabilities:
Encode data using xor

Disassembly:
xor al, al
cmp dword [esp + 8], 0
push ebp
mov ebp, dword [esp + 8]
je 0x2a02c57
test ebp, ebp
je 0x2a02c57
mov eax, ebp
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x2a02be0
sub eax, edx
push ebx
sar eax, 1
shr eax, 1
push esi
mov ebx, eax
push edi
lea edi, [ebx + 2]
push edi
call fcn.02a0374f
mov esi, eax
add esp, 4
test esi, esi
je 0x2a02c52
push edi
push 0
push esi
call fcn.02a06370
push esi
push ebp
mov eax, ebx
call fcn.02a020d0
add esp, 0x14
xor eax, eax
test ebx, ebx
jbe 0x2a02c2b
xor byte [eax + esi], bl
inc eax
cmp eax, ebx
jb 0x2a02c23
mov ecx, dword [esp + 0x18]
lea eax, [ebx + ebx]
push eax
push ecx
push ebx
push esi
push 0
push 0
call dword [0x2a0f018]
push esi
mov bl, 1
call fcn.02a0574e
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret
Function at 0x10094f2c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1019edb0]
jne 0x10094f36
repz ret
jmp fcn.100951dd

Function at 0x100955cb
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov eax, dword [0x1019ed8c]
add eax, 0x93
mov dword [0x1019ed8c], eax
call fcn.1000108a
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x10095616
jmp 0x10095755
mov eax, dword [esp + 0x20]
cmp word [eax], 0x5a4d
mov dword [esp + 0x1c], eax
je 0x100956bb
jmp 0x100956cf
lea eax, [esp + 0x38]
mov ecx, dword [0x1019ed8c]
add ecx, 0xfffff5a0
mov dword [0x1019ed90], ecx
mov dword [0x1019ed8c], 0x72a
mov dword [esp + 0x18], eax
call fcn.100957ce
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x14], ecx
jne 0x1009574d
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.10095fdf
lea ecx, [0x10095524]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x50], 0x2f9800
mov edx, dword [0x1019ed78]
mov dword [esp + 0x5c], edx
mov edx, dword [0x1019ed7c]
mov dword [esp + 0x74], edx
mov edx, dword [0x1019ed80]
mov dword [esp + 0x44], edx
mov edx, dword [0x1019ed84]
mov dword [esp + 0x64], edx
mov edx, dword [0x1019ed88]
mov dword [esp + 0x58], edx
mov dword [0x1019ed8c], 0xffffd1c1
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ecx
jmp 0x100955fe
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x100956ee
mov eax, dword [esp + 0x1c]
add eax, 0xfffff000
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
and eax, 0xfffff000
mov dword [esp + 0x20], eax
jmp 0x100955fe
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x48], ecx
mov dword [0x1019ed8c], 0x1bfe
mov edx, dword [esp + 0xc]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x84], esi
mov dword [0x1019ed90], 0x23c4
mov esi, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.10095be1
mov dword [0x1019ed90], 0x20c5
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x100957ce
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x2c
mov dword [ebp - 8], 0
mov dword [0x1019ed8c], 0x2389
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov esi, dword [0x1019ed90]
add esi, 0x16d4
mov dword [0x1019ed8c], esi
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
jmp 0x1009586c
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov dword [0x1019ed8c], 0x17f2
mov edx, dword [ebp - 0x10]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
je 0x1009589e
mov eax, dword [ebp - 0x20]
add esp, 0x2c
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x24]
add eax, 1
cmp eax, 0x104
setl cl
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x29], cl
mov al, byte [ebp - 0x29]
test al, 1
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
jne 0x1009586c
jmp 0x10095817
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], edx
je 0x10095817
jmp 0x10095841
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x20], eax
je 0x10095922
jmp 0x10095838
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x20], eax
je 0x100958d9
jmp 0x10095838
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0xe], 0x6c
sete dl
mov byte [ebp - 0x2a], dl
xor eax, eax
mov cl, byte [ebp - 0x2a]
test cl, 1
mov dword [ebp - 0x20], eax
jne 0x10095953
jmp 0x10095838
xor eax, eax
mov dword [0x1019ed8c], 0x4b8
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x20], eax
jne 0x10095838
xor eax, eax
mov dword [0x1019ed8c], 0x4b
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x20], eax
je 0x10095884
jmp 0x10095838
mov dword [0x1019ed90], 0x7a7
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff8
mov dword [ebp - 0x30], eax
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x30]
cmp word [ecx + edx*2], 0x6c
mov dword [ebp - 0x20], eax
je 0x100958b4
jmp 0x10095838
mov dword [0x1019ed8c], 0x1c5a
mov eax, 1
mov dword [ebp - 0x20], eax
jmp 0x10095838
Function at 0x10095a54
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 8]
mov dword [0x1019ed8c], 0x887
mov dword [ebp - 0x10], eax
call fcn.100967ad
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 0x10095a9a
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x1019ed90], 0xffffe0b9
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x24]
mov dword [0x1019ed8c], 0xfffff6f8
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
je 0x10095bd6
jmp 0x10095b5e
mov eax, dword [ebp - 0x38]
mov ecx, eax
mov edx, dword [ebp - 0x3c]
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 - 0x40], eax
mov byte [ebp - 0x41], bh
mov byte [ebp - 0x42], cl
je 0x10095b55
mov eax, dword [ebp - 0x40]
add eax, 1
mov cl, byte [ebp - 0x41]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x42]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x38], eax
jne 0x10095ae6
jmp 0x10095b55
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edx
jmp 0x10095ae6
mov al, byte [ebp - 0x42]
test al, 1
jne 0x10095b96
jmp 0x10095b70
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], eax
jmp 0x10095b39
xor eax, eax
mov ecx, dword [ebp - 0x54]
add ecx, 2
mov edx, dword [ebp - 0x50]
add edx, 1
mov esi, dword [ebp - 0x30]
cmp edx, esi
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x34], eax
jb 0x10095b39
jmp 0x10095bd6
mov eax, dword [ebp - 0x54]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
mov edi, dword [edx + esi + 0x1c]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x5c], edi
mov dword [0x1019ed8c], 0xdda
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x5c]
add eax, ecx
mov edx, dword [ebp - 0x58]
mov eax, dword [eax + edx*4]
mov dword [0x1019ed90], 0x13b7
mov esi, dword [ebp - 0x1c]
add esi, eax
mov dword [ebp - 0x34], esi
mov eax, dword [ebp - 0x34]
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10095be1
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov esi, dword [0x1019ed8c]
add esi, 0xfffff891
mov dword [0x1019ed8c], esi
mov dword [0x1019ed90], 0x1d8b
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x10095ca2
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 - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x38], eax
call fcn.10095ecb
xor eax, eax
mov ecx, dword [ebp - 0x38]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x40], ecx
mov dword [0x1019ed90], 0x1ed4
mov ecx, dword [ebp - 0x38]
mov dword [edx], ecx
mov dword [0x1019ed8c], 0xd25
cmp ecx, 0
mov dword [ebp - 0x3c], eax
je 0x10095d27
jmp 0x10095d0a
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x10099572]
mov dl, byte [eax + 0x10099543]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
jne 0x10095ca2
lea eax, [ebp - 0x24]
mov dword [ebp - 0x40], eax
mov dword [0x1019ed8c], 0x14b7
call fcn.10096648
mov dword [esp], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 4], eax
call fcn.10096903
xor ecx, ecx
mov dword [0x1019ed8c], 0x3b0
cmp eax, 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x3c], ecx
je 0x10095d27
jmp 0x10095c1a
mov eax, dword [ebp - 0x38]
add eax, 0x2015
mov dword [0x1019ed90], 0x11b4
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x3c], eax
jmp 0x10095d27
mov eax, dword [ebp - 0x3c]
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x10095d30
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 [0x1019ed94], 0
mov dword [0x1019ed98], 0
mov dword [0x1019eda4], 0
mov dword [0x1019ed90], 0x1142
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 0x10095ea7
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x1019ed90], 0x2615
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x1019ed94], edx
mov dword [0x1019ed8c], 0x155a
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 [0x1019ed98], edx
mov dword [0x1019ed90], 0x64c
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x1019ed9c], cl
mov dword [0x1019ed8c], 0x62a
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x1019ed90], 0x2592
mov cl, byte [0x1019ed9c]
mov edx, dword [0x1019ed98]
mov byte [edi + edx], cl
mov edx, dword [0x1019ed8c]
add edx, 0xffffed81
mov dword [0x1019ed8c], edx
mov edx, dword [0x1019ed94]
movzx edx, byte [edi + edx]
mov ebx, dword [0x1019ed98]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x1019eda4], ebx
mov dword [0x1019ed90], 0x13cb
mov dword [0x1019ed8c], 0x1690
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
mov cl, byte [edx + ecx]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
mov byte [ebx + edx], cl
mov ecx, dword [0x1019ed90]
add ecx, 0x2666
mov dword [0x1019ed8c], ecx
add edx, 1
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
mov dword [ebp - 0x38], edx
jne 0x10095eaf
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x1019ed94]
mov ecx, dword [0x1019ed98]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
jmp 0x10095d93
Function at 0x100963d1
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov edi, dword [0x1019ed90]
add edi, 0xffffded1
mov dword [0x1019ed8c], edi
mov dword [0x1019ed98], 0
mov byte [0x1019ed9c], 0
mov dword [0x1019ed94], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
jmp 0x1009651a
mov eax, dword [ebp - 0x24]
mov ecx, 0x100
mov dword [0x1019eda0], 0
mov dword [0x1019ed8c], 0x1df1
mov edx, dword [0x1019ed98]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x28], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x1019eda0], edi
mov edx, dword [0x1019ed90]
mov eax, edi
mov dword [ebp - 0x2c], edx
cdq
idiv ecx
mov dword [0x1019ed98], edx
mov ecx, dword [ebp - 0x2c]
add ecx, 0xffffdb9c
mov dword [0x1019ed8c], ecx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x28]
mov cl, byte [ecx + edi]
mov byte [0x1019ed9c], cl
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffae6
mov dword [0x1019ed8c], ecx
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x1019ed9c]
mov edx, dword [0x1019ed98]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov dword [0x1019ed8c], 0x7ae
mov edx, dword [0x1019ed94]
add edx, 1
mov dword [0x1019ed94], edx
cmp edx, 0x100
mov dword [ebp - 0x24], edx
jl 0x10096426
jmp 0x10096553
mov eax, dword [0x1019ed8c]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], eax
jmp 0x1009651a
xor eax, eax
mov dword [0x1019ed94], 0
mov dword [ebp - 0x24], eax
jmp 0x10096426
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
add eax, 0xffffeeff
mov dword [0x1019ed8c], eax
mov eax, ecx
mov dl, al
mov eax, dword [ebp - 0x18]
mov byte [eax + ecx], dl
mov ecx, dword [0x1019ed94]
add ecx, 1
mov dword [0x1019ed94], ecx
cmp ecx, 0x100
mov dword [ebp - 0x30], ecx
jl 0x100964f6
jmp 0x10096506
mov dword [0x1019ed8c], 0x17cd
mov dword [0x1019ed90], 0x1f01
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40fce0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
mov edi, dword [ebp + 0x10]
sub esp, 0x10
mov dword [esp + 0x28], ebx
mov eax, dword [esi + 4]
mov dword [esp + 0x30], 3
add byte [eax], al
Function at 0x4239ae
Capabilities:
Encrypt data using rc4 prga

Disassembly:
add al, 0x55
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
and al, 4
jge 0x4239b5
mov ecx, dword [eax + 0x28]
push esi
push edi
mov edi, dword [ebx + 0xc]
xor eax, eax
movzx ecx, word [edi]
mov dword [ebp - 8], ecx
cmp ax, cx
clc
test edi, edi
inc ebx
or cl, ch
pop eax
add al, byte [eax]
add byte [ecx + 0x4c31f8], ah
cmp eax, 1
jle 0x1906bdd9
mov eax, edi
and eax, 0xfff
push 2
pop esi
cmp eax, 0xff0
ja 0x4239fb
movdqu xmm0, xmmword [edi]
jmp 0x423a24
push 8
pxor xmm0, xmm0
movzx ecx, cx
pop edx
movzx eax, cx
psrldq xmm0, 2
pinsrw xmm0, eax, 7
xor eax, eax
cmp ax, cx
je 0x423a1e
add edi, esi
movzx ecx, word [edi]
dec edx
jne 0x423a05
mov ecx, dword [ebp - 8]
out dx, eax
push ebx
or byte [ebx + 0xfff25c2], cl
add byte [eax], al
mov eax, edx
and eax, 0xfff
cmp eax, 0xff0
ja 0x423a99
movdqu xmm1, xmmword [edx]
pcmpistri xmm0, xmm1, 0xd
jbe 0x423a49
add edx, 0x10
mov ecx, dword [ebp - 8]
jmp 0x423a27
jae 0x423c2c
pcmpistri xmm0, xmm1, 0xd
lea edx, [edx + ecx*2]
mov ecx, dword [ebx + 0xc]
mov edi, edx
mov eax, edi
mov dword [ebp - 4], ecx
and eax, 0xfff
cmp eax, 0xff0
ja 0x423ab3
mov eax, ecx
and eax, 0xfff
cmp eax, 0xff0
ja 0x423ab3
movdqu xmm1, xmmword [edi]
movdqu xmm2, xmmword [ecx]
pcmpistri xmm2, xmm1, 0xd
jno 0x423acb
js 0x423ad2
mov ecx, dword [ebp - 4]
add edi, 0x10
add ecx, 0x10
jmp 0x423a5d
movzx eax, word [edx]
xor edi, edi
cmp di, ax
je 0x46223c2c
hlt
movzx eax, word [ecx]
and dword [ebp - 4], 0xffffffc0
cmp word [ebp - 4], ax
je 0x423ad2
cmp word [edi], ax
jne 0x423acb
add edi, esi
add ecx, esi
jmp 0x423a5d
add edx, esi
jmp 0x18ce3a44
mov eax, edx
jmp 0xe08fc82e
movzx ecx, word [edi]
test cx, cx
je 0x18ce3ad2
movzx ecx, word [eax + edi]
movzx eax, word [edi]
sub ecx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
jne 0x423c11
add edi, esi
cmp word [eax + edi], cx
or al, 0x38
jne 0x423be7
jmp 0x423c11
cmp word [edi], cx
je 0x4b223ad2
mov edi, dword [ebx + 0xc]
add edx, esi
add eax, esi
mov dword [ebp - 4], eax
movzx ecx, word [edx]
test cx, cx
jne 0x423be7
xor eax, dword [eax]
add byte [eax], al
loop 0x423c41
nop
mov esp, ebx
mov eax, ebx
jmp 0x423c08
dec ebp
invalid

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

Disassembly:
dec dword [0x4c3190]
jne 0x4687d6
call 0xe04688b0
mov eax, dword [0x4c6ef0]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4c6ef0], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
shr eax, 1
ret