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

Disassembly:
sub esp, 0x2c
mov eax, dword [0x41d040]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
mov esi, dword [0x471440]
xor ebx, ebx
push edi
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0x3c]
mov ebp, dword [eax + esi + 0x78]
add ebp, esi
mov edi, dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
add edi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x4015d8
mov eax, dword [edi]
lea ecx, [esp + 0x1c]
add eax, esi
push eax
call fcn.00401803
lea ecx, [esp + 0x1c]
call fcn.0040133b
cmp eax, dword [esp + 0x14]
je 0x4015f0
lea ecx, [esp + 0x1c]
add edi, 4
call fcn.00401834
inc ebx
cmp ebx, dword [esp + 0x18]
jb 0x4015a8
xor edi, edi
mov ecx, dword [esp + 0x34]
lea eax, [esi + edi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004025da
add esp, 0x2c
ret
mov eax, dword [ebp + 0x24]
lea eax, [eax + ebx*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebp + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x1c]
call fcn.00401834
jmp 0x4015da

Function at 0x401673
Capabilities:
Access peb ldr_data
Create thread
Get kernel32 base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
sub cx, 0x1f9
mul edi
dec cx
mul di
mul ebx
sub ax, 0x22b
or edi, ebx
shr cx, 2
rcl eax, 0x6e
rol ax, 0x19
rcl cx, 0xcb
mul si
mov si, 0x1b0
rcr esi, 0xed
inc si
dec dx
movsx ebx, si
movsx ecx, si
rcl cx, 0x33
mov edx, esi
shr ax, 0xb9
dec cx
ja 0x4016cf
test edx, 0x43
ja 0x4016f0
dec bx
imul eax
jmp 0x4016df
rol bx, 0x64
sub di, cx
ror esi, 0x18
ror ecx, 0xef
movsx ebx, bx
rcl eax, 0x5b
mul esi
jae 0x4016f0
inc ax
movsx ecx, si
rcr ebx, 0x8e
jmp 0x40170b
and ecx, 0x33b
ror edx, 0x56
rcr di, 0xc6
or esi, 0x389
movzx edi, ax
movsx edi, si
imul edx
mul cx
ror ax, 0x4e
sub ebx, 0xb9
rcl cx, 0x60
jb 0x40172a
imul si
mul eax
inc esi
xor bx, dx
inc ebx
jmp 0x40173c
mul eax
add eax, edi
mov ax, 0x2a4
mul ebx
ror edi, 0xfc
xor di, 0xdb
movsx ecx, di
dec bx
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x471440], eax
push 0x27
mov esi, 0x470180
mov edx, 0x547
push 0x41d950
mov ecx, esi
call fcn.00401134
pop ecx
pop ecx
mov edx, 0x8aafdc01
call fcn.00401571
lea ecx, [ebp - 4]
push ecx
push 0x40
push 0x4e4
push esi
call eax
test eax, eax
je 0x4017ed
push 4
call fcn.004025e8
pop ecx
lea ecx, [ebp - 8]
xor esi, esi
push ecx
push esi
push eax
push 0x401a9a
push esi
push esi
mov dword [eax], 0x40160e
call fcn.004059fb
add esp, 0x18
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4017e6
cmp dword [ebp - 8], esi
je 0x4017f6
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [ebp - 8], eax
jne 0x4017cf
push 5
jmp 0x4017f8
push esi
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.004022f8
add esp, 0xc
test eax, eax
je 0x4017ed
push 2
jmp 0x4017f8
mov dword [ebp - 8], esi
push 6
jmp 0x4017f8
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
push 1
call fcn.00402015
int3
Function at 0x4042e0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor eax, eax
cmp dword [esp + 0x24], 0
je 0x4043d0
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x4043d0
mov ebp, dword [esp + 0x2c]
test ebp, ebp
je 0x40432a
mov ecx, 0x1505
xor edi, edi
nop
movzx edx, byte [ebx + edi]
test edx, edx
je 0x404331
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc edi
mov ecx, esi
cmp ebp, edi
jne 0x404310
jmp 0x404333
mov esi, 0x1505
jmp 0x404333
mov esi, ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x20]
lea ebx, [edx - 1]
mov dword [esp + 8], edx
sub edx, 1
mov dword [esp + 0xc], edx
jb 0x4043d0
and ebx, esi
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
xor edi, edi
mov edx, ebx
mov dword [esp], ebx
jmp 0x404371
mov eax, edi
and eax, 1
xor edi, 1
lea edi, [edi + eax*2]
cmp edi, dword [esp + 8]
jae 0x4043ce
lea eax, [edi + edx]
and eax, dword [esp + 0xc]
mov ebx, dword [esp + 4]
mov ebp, dword [ebx + eax*4]
cmp ebp, 0xffffffff
je 0x4043ce
mov eax, dword [ecx + 8]
cmp dword [eax + ebp*4], esi
jne 0x404360
mov eax, dword [ecx + 0xc]
mov ebx, dword [eax + ebp*4]
push ebx
call fcn.0040c920
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp + 0x2c]
jne 0x404360
push dword [esp + 0x2c]
push ebx
push dword [esp + 0x30]
call fcn.0040c940
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x404360
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + ebp*4]
jmp 0x4043d0
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x404930
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
xor eax, eax
cmp dword [esp + 0x18], 0
je 0x404b48
cmp dword [esp + 0x1c], 0
jle 0x404ae5
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
lea ecx, [edx + eax]
mov dword [esp], ecx
jmp 0x404988
cmp esi, 0xc0
jne 0x404b46
and ebx, 0x1ff800
cmp ebx, 0xd800
mov ecx, dword [esp]
je 0x404b46
add edx, ebp
cmp edx, ecx
jae 0x404ae5
movzx ebx, byte [edx]
cmp ebx, 0xf4
ja 0x404b46
mov eax, ebx
and al, 0xfe
cmp al, 0xc0
je 0x404b46
mov eax, ebx
and eax, 0xffffffc0
cmp eax, 0x80
je 0x404b46
mov ebp, 1
test bl, bl
jns 0x40497e
mov esi, ebx
and esi, 0xffffffe0
cmp esi, 0xc0
jne 0x4049ea
movzx edi, byte [edx + 1]
mov eax, edi
and eax, 0xffffffc0
cmp eax, 0x80
jne 0x404b46
and ebx, 0x1f
shl ebx, 6
mov ebp, 2
jmp 0x404a37
mov eax, ebx
and eax, 0xfffffff0
cmp eax, 0xe0
jne 0x404a3b
movzx eax, byte [edx + 1]
mov ecx, eax
and ecx, 0xffffffc0
cmp ecx, 0x80
jne 0x404b46
movzx edi, byte [edx + 2]
mov ecx, edi
not ecx
or ecx, 0xc0
add ecx, edi
cmp ecx, 0x7f
jne 0x404b46
and ebx, 0xf
shl ebx, 0xc
and eax, 0x3f
shl eax, 6
or ebx, eax
mov ebp, 3
xor ecx, ecx
jmp 0x404aa8
mov eax, ebx
and eax, 0xfffffff8
cmp eax, 0xf0
jne 0x404b46
movzx ecx, byte [edx + 1]
mov eax, ecx
and eax, 0xffffffc0
cmp eax, 0x80
jne 0x404b46
movzx eax, byte [edx + 2]
mov edi, eax
and edi, 0xffffffc0
cmp edi, 0x80
jne 0x404b46
movzx edi, byte [edx + 3]
mov ebp, edi
and ebp, 0xffffffc0
cmp ebp, 0x80
jne 0x404b46
and ebx, 7
shl ebx, 0xc
and ecx, 0x3f
shl ecx, 6
or ecx, ebx
and eax, 0x3f
or eax, ecx
shl eax, 6
mov cl, 1
mov ebp, 4
mov ebx, eax
and edi, 0x3f
or edi, ebx
cmp edi, 0x80
jb 0x404b46
cmp edi, 0x7ff
jbe 0x40495d
cmp edi, 0xffff
ja 0x404ad7
test cl, cl
je 0x404969
jmp 0x404b46
cmp edi, 0x10ffff
jbe 0x404969
jmp 0x404b46
mov edi, dword [esp + 0x1c]
mov eax, edi
xor eax, 1
mov ecx, edi
and ecx, 1
lea eax, [eax + ecx*2]
push eax
call dword [0x44b008]
add esp, 4
test eax, eax
je 0x404b46
mov esi, eax
mov byte [eax + edi], 0
push edi
push dword [esp + 0x1c]
push eax
call fcn.0040c820
add esp, 0xc
push 0x10
call dword [0x44b008]
add esp, 4
test eax, eax
je 0x404b3c
mov dword [eax], 0
mov dword [eax + 4], 2
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
jmp 0x404b48
push esi
call dword [0x44b004]
add esp, 4
xor eax, eax
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x405620
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, 0xffffffff
cmp dword [esp + 0x2c], 0
je 0x405824
mov edi, dword [esp + 0x30]
test edi, edi
je 0x405824
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x405824
cmp dword [ecx], 0
jne 0x405824
push edi
call fcn.0040c920
add esp, 4
test eax, eax
je 0x40568a
mov ecx, 0x1505
xor ebx, ebx
nop
nop
nop
nop
movzx edx, byte [edi + ebx]
test edx, edx
je 0x405691
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebx
mov ecx, esi
cmp eax, ebx
jne 0x405670
jmp 0x405693
mov esi, 0x1505
jmp 0x405693
mov esi, ecx
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x20]
lea ebx, [edx - 1]
mov dword [esp + 0xc], edx
sub edx, 1
mov dword [esp + 0x10], edx
jae 0x40576f
mov ebp, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
mov ebx, dword [esp + 0x30]
jb 0x4056f3
call fcn.00405910
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
jne 0x405824
push ebx
call fcn.0040c920
add esp, 4
lea edi, [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov edx, ebx
push edi
push esi
push eax
call fcn.00405830
add esp, 0xc
mov ebp, eax
push ebx
call fcn.0040c920
add esp, 4
mov ebx, eax
xor eax, 1
mov ecx, ebx
and ecx, 1
lea eax, [eax + ecx*2]
push eax
call dword [0x44b008]
add esp, 4
test eax, eax
je 0x40581f
mov edi, eax
mov byte [eax + ebx], 0
push ebx
push dword [esp + 0x34]
push eax
call fcn.0040c820
add esp, 0xc
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 0x18]
mov dword [eax + ecx*4], edi
mov eax, dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov dword [eax + ebp*4], ecx
mov eax, dword [edx + 0x10]
mov edi, dword [esp + 0x34]
mov dword [eax + ecx*4], edi
mov eax, dword [edx + 0x14]
mov ecx, dword [edx + 0x18]
mov dword [eax + ecx*4], ebp
mov eax, dword [edx + 8]
mov ecx, dword [edx + 0x18]
mov dword [eax + ecx*4], esi
inc dword [edx + 0x18]
mov eax, dword [edx]
mov dword [edi], eax
xor eax, eax
jmp 0x405824
mov dword [esp + 4], eax
and ebx, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
xor edi, edi
mov edx, ebx
mov dword [esp], ebx
jmp 0x4057a5
mov eax, edi
and eax, 1
xor edi, 1
lea edi, [edi + eax*2]
cmp edi, dword [esp + 0xc]
jae 0x4056ae
lea ebp, [edi + edx]
and ebp, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov ebx, dword [eax + ebp*4]
cmp ebx, 0xffffffff
je 0x4056b3
mov eax, dword [ecx + 8]
cmp dword [eax + ebx*4], esi
jne 0x405790
mov eax, dword [ecx + 0xc]
mov ebp, dword [eax + ebx*4]
push ebp
call fcn.0040c920
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x30]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x405790
push dword [esp + 4]
push ebp
push dword [esp + 0x38]
call fcn.0040c940
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x38]
add esp, 0xc
test eax, eax
jne 0x405790
mov eax, dword [ecx + 0x10]
push dword [eax + ebx*4]
call fcn.00404700
mov edx, dword [esp + 0x30]
add esp, 4
mov eax, dword [edx + 0x10]
mov edi, dword [esp + 0x34]
mov dword [eax + ebx*4], edi
jmp 0x405764
mov eax, 0xffffffff
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x406910
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x406ab6
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
movzx edi, cx
shr ecx, 0x10
test esi, esi
je 0x406aaf
mov edx, 0x5e6ea9af
mov eax, esi
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, esi
sub edx, eax
jmp 0x4069a5
mov eax, dword [esp]
sub eax, dword [esp + 4]
add ebp, eax
mov esi, dword [esp + 8]
mov eax, edi
mov edx, 0x80078071
mul edx
mov ebx, edx
shr ebx, 0xf
mov eax, ecx
mov edx, 0x80078071
mul edx
imul eax, ebx, 0xfff1
sub edi, eax
shr edx, 0xf
imul eax, edx, 0xfff1
sub ecx, eax
sub esi, dword [esp]
mov edx, 0x15b0
je 0x406aaf
xor ebx, ebx
cmp edx, 8
mov dword [esp], edx
mov dword [esp + 8], esi
jb 0x406a1e
mov ebx, edx
and ebx, 0x1ff8
xor eax, eax
nop
nop
nop
mov edx, eax
movzx eax, byte [ebp + eax]
add eax, edi
add ecx, eax
movzx esi, byte [ebp + edx + 1]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + edx + 2]
add eax, esi
add ecx, eax
movzx esi, byte [ebp + edx + 3]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + edx + 4]
add eax, esi
add ecx, eax
movzx esi, byte [ebp + edx + 5]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + edx + 6]
add eax, esi
add ecx, eax
movzx edi, byte [ebp + edx + 7]
add edi, eax
add ecx, edi
lea eax, [edx + 8]
add edx, 0xf
cmp edx, dword [esp]
mov edx, dword [esp]
jb 0x4069c0
add ebp, eax
mov esi, dword [esp + 8]
mov eax, ebx
sub eax, edx
jae 0x40696d
mov dword [esp + 0xc], eax
mov eax, edx
and eax, 3
mov dword [esp + 4], ebx
je 0x406a60
neg eax
xor ebx, ebx
mov edx, ebp
nop
nop
nop
movzx esi, byte [edx]
inc edx
add edi, esi
add ecx, edi
dec ebx
cmp eax, ebx
jne 0x406a40
mov eax, dword [esp + 4]
sub eax, ebx
cmp dword [esp + 0xc], 0xfffffffc
ja 0x406960
jmp 0x406a6f
mov eax, ebx
mov edx, ebp
cmp dword [esp + 0xc], 0xfffffffc
ja 0x406960
mov ebx, dword [esp]
sub ebx, eax
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [edx + eax]
add esi, edi
add ecx, esi
movzx edi, byte [edx + eax + 1]
add edi, esi
add ecx, edi
movzx esi, byte [edx + eax + 2]
add esi, edi
add ecx, esi
movzx edi, byte [edx + eax + 3]
add edi, esi
add ecx, edi
add eax, 4
cmp ebx, eax
jne 0x406a80
jmp 0x406960
shl ecx, 0x10
or ecx, edi
jmp 0x406abb
mov ecx, 1
mov eax, ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x406ad0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x406b2a
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
test edx, edx
je 0x406b2c
not eax
xor esi, esi
nop
nop
nop
nop
movzx edi, byte [ecx + esi]
mov ebx, eax
shr ebx, 4
mov ebp, eax
and ebp, edi
or eax, edi
not ebp
and ebp, eax
and ebp, 0xf
xor ebx, dword [ebp*4 + 0x448c50]
mov eax, ebx
shr eax, 4
and ebx, 0xf
shr edi, 4
xor edi, ebx
xor eax, dword [edi*4 + 0x448c50]
inc esi
cmp edx, esi
jne 0x406af0
not eax
jmp 0x406b2c
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40c6d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [esp + 0x14]
mov ebx, dword [edx + 8]
mov esi, 1
cmp ebx, eax
jae 0x40c73c
mov edi, edx
cmp dword [esp + 0x18], 0
je 0x40c71e
cmp ebx, 1
adc ebx, 0
cmp ebx, eax
jae 0x40c720
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, ebx
or edx, 2
mov ebp, ebx
and ebp, 2
imul edx, ebp
xor ebp, 2
and ebx, 0xfffffffd
imul ebx, ebp
add ebx, edx
cmp ebx, eax
jb 0x40c700
jmp 0x40c720
mov ebx, eax
push ebx
push dword [edi + 0xc]
push dword [edi]
push dword [ecx + 0x34]
call dword [ecx + 0x30]
add esp, 0x10
test eax, eax
je 0x40c73a
mov dword [edi], eax
mov dword [edi + 8], ebx
jmp 0x40c73c
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40e430
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1a0
push eax
mov dword [ebp - 0x2c], esp
sub esp, 0x6c
mov dword [ebp - 0x14], esp
sub esp, 0x24
mov dword [ebp - 0x24], esp
sub esp, 0xc
mov dword [ebp - 0x18], esp
sub esp, 0x40
mov dword [ebp - 0x1c], esp
sub esp, 0x80
mov edi, esp
mov eax, dword [0x451adc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1ac], 0xf1fee7fc
mov dword [ebp - 0x1a8], 0
mov ecx, 0x522adbd5
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [ebp + ecx - 0x522add81]
lea esi, [ecx - 0x522adb80]
and esi, eax
mov edx, ecx
and edx, eax
xor eax, ecx
lea edx, [eax + edx*2]
add esi, esi
sub edx, esi
add dl, 0xd7
mov byte [ebp + ecx - 0x522add81], dl
inc ecx
cmp ecx, 0x522adbdd
jne 0x40e490
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x12c], 0xff17f963
mov dword [ebp - 0x128], 0xe30afd6e
mov dword [ebp - 0x124], 0xe772e174
mov dword [ebp - 0x120], 0xeb38e574
mov dword [ebp - 0x11c], 0xef02e90c
mov dword [ebp - 0x118], 0x9392ed00
mov dword [ebp - 0x114], 0
mov edx, 0xaa
mov esi, 0x55
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [ebp + edx - 0x1d6]
lea ebx, [ecx + ecx]
not ebx
add ebx, ecx
and ebx, edx
mov eax, ecx
not eax
or eax, esi
add eax, ecx
inc eax
or eax, ebx
add al, 0xae
mov byte [ebp + edx - 0x1d6], al
inc edx
dec esi
cmp edx, 0xc6
jne case.default.0x40e581
lea esi, [ebp - 0x12c]
push dword [ebp - 0x20]
push 0
push esi
call dword [ebp - 0x10]
mov ecx, 0x451aa4
push eax
call fcn.00441230
movzx eax, al
mov eax, dword [eax*4 + 0x44bb1c]
mov ecx, 0xad526caa
xor ecx, dword [0x44bb24]
add eax, ecx
inc eax
jmp eax
mov esp, 0x1c000000
add dword [eax], eax
add bh, al
test byte [eax + edi*4], ah
add byte [eax], al
add byte [eax - 0x38ffbb12], ah
test byte [esp + esi*4], ah
add byte [eax], al
add byte [ecx + eax], bl
add byte [eax], al
mov dword [esp + 0xb0], 0x44eea0
mov dword [esp + 0xac], 0x11c
mov dword [esp + 0xa8], 0x44eea0
mov dword [esp + 0xa4], 0x11c
mov dword [esp + 0xa0], 0x44eea0
mov dword [esp + 0x9c], 0x11c
mov dword [esp + 0x98], 0x44eea0
mov dword [esp + 0x94], 0x11c
mov dword [esp + 0x90], 0x44eea0
mov dword [esp + 0x8c], 0x11c
mov dword [esp + 0x88], 0x44eea0
mov dword [esp + 0x84], 0xa9
jmp eax
Function at 0x40eee0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
movzx ecx, byte [edx]
mov eax, edi
test cl, cl
je 0x40f13b
mov esi, dword [esp + 0x1c]
mov eax, edi
dec esi
je 0x40f13b
mov eax, edi
nop
nop
nop
nop
nop
nop
nop
movzx ebx, cl
test cl, cl
js 0x40ef40
mov word [eax], bx
lea ecx, [eax + 2]
inc edx
mov ebx, ecx
sub ebx, eax
sar ebx, 1
sub esi, ebx
mov eax, ecx
movzx ecx, byte [edx]
test cl, cl
je 0x40f13b
test esi, esi
jne 0x40ef10
jmp 0x40f13b
mov ecx, ebx
and ecx, 0xffffffe0
cmp ecx, 0xc0
jne 0x40ef7d
cmp bl, 0xc2
jb 0x40ef28
movzx ebp, byte [edx + 1]
mov ecx, ebp
and ecx, 0xffffffc0
cmp ecx, 0x80
jne 0x40eff2
and ebx, 0x1f
shl ebx, 6
add edx, 2
and ebp, 0x3f
or ebp, ebx
lea ecx, [eax + 2]
mov word [eax], bp
jmp 0x40ef1e
mov ecx, ebx
and ecx, 0xfffffff0
cmp ecx, 0xe0
jne 0x40efb1
movzx ecx, byte [edx + 1]
cmp ebx, 0xed
je 0x40eff8
cmp ebx, 0xe0
jne 0x40f006
mov dword [esp], ecx
mov ecx, dword [esp]
add cl, 0x40
cmp cl, 0xe0
mov ecx, dword [esp]
jae 0x40f006
jmp 0x40effd
mov ecx, ebx
and ecx, 0xfffffff8
cmp ecx, 0xf0
jne 0x40f116
cmp bl, 0xf4
ja 0x40ef28
movzx ecx, byte [edx + 1]
cmp ebx, 0xf4
je 0x40f04e
cmp ebx, 0xf0
jne 0x40f053
mov dword [esp], ecx
mov ecx, dword [esp]
add cl, 0x40
cmp cl, 0xd0
mov ecx, dword [esp]
jb 0x40effd
jmp 0x40f053
inc edx
jmp 0x40ef28
cmp cl, 0x9f
jbe 0x40f006
mov edi, dword [esp + 0x18]
jmp 0x40ef28
mov edi, ecx
and ecx, 0xffffffc0
cmp ecx, 0x80
jne 0x40f11d
movzx ebp, byte [edx + 2]
mov ecx, ebp
and ecx, 0xffffffc0
cmp ecx, 0x80
jne 0x40f127
shl ebx, 0xc
and edi, 0x3f
shl edi, 6
or edi, ebx
add edx, 3
and ebp, 0x3f
or ebp, edi
lea ecx, [eax + 2]
mov word [eax], bp
mov edi, dword [esp + 0x18]
jmp 0x40ef1e
cmp cl, 0x8f
ja 0x40effd
mov ebp, ecx
xor ecx, 0xffffff3f
mov edi, ebp
or ebp, 0xc0
and ebp, ecx
cmp ebp, 0x80
jne 0x40f11d
movzx ebp, byte [edx + 2]
mov ecx, ebp
and ecx, 0xffffffc0
cmp ecx, 0x80
jne 0x40f127
movzx ecx, byte [edx + 3]
mov dword [esp], ecx
and ecx, 0xffffffc0
cmp ecx, 0x80
jne 0x40f133
and ebx, 7
shl ebx, 0x12
and edi, 0x3f
shl edi, 0xc
or edi, ebx
and ebp, 0x3f
shl ebp, 6
or ebp, edi
add edx, 4
mov ecx, ebp
and ecx, 0x1ff800
cmp ecx, 0xd800
je 0x40effd
mov ebx, dword [esp]
and ebx, 0x3f
or ebx, ebp
cmp ebx, 0x10000
mov edi, dword [esp + 0x18]
jb 0x40ef28
cmp esi, 2
jb 0x40f116
add ebp, 0xf0000
shr ebp, 0xa
and ebp, 0x3ff
or ebp, 0xd800
mov word [eax], bp
and ebx, 0x3ff
or ebx, 0xdc00
lea ecx, [eax + 4]
mov word [eax + 2], bx
jmp 0x40ef1e
mov ecx, eax
jmp 0x40ef1e
inc edx
mov edi, dword [esp + 0x18]
jmp 0x40ef28
add edx, 2
mov edi, dword [esp + 0x18]
jmp 0x40ef28
add edx, 3
jmp 0x40effd
mov word [eax], 0
sub eax, edi
sar eax, 1
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40f6a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x150
mov esi, esp
mov eax, dword [ebp + 8]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x20], 0x3c
mov dword [esi + 0x28], 0xffffffff
mov dword [esi + 0x34], 0xffffffff
mov dword [esi + 0x50], 0xffffffff
mov edx, 0xfffffffe
mov ecx, dword [0x451ab8]
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + edx + 2], 0
lea edx, [edx + 2]
jne case.default.0x40f74e
sar edx, 1
lea edi, [esi + 0x20]
push edi
push 0
push edx
push eax
call ecx
xor ecx, ecx
test eax, eax
setne cl
jmp dword [ecx*4 + 0x44bd70]
xor eax, eax
jmp 0x40fbac
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x411140
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Get common file path
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xcb0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
shr eax, 0x1f
jmp dword [eax*4 + 0x44c7dc]

Function at 0x41da30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
mov eax, 0x10b8
call fcn.0040c750
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov esi, 0xfffffffe
nop
nop
cmp word [eax + esi + 2], 0
lea esi, [esi + 2]
jne 0x41da50
sar esi, 1
lea ecx, [esp + 0x24]
push ecx
push 0
push 0
push esi
push eax
push 0
call dword [0x452df0]
mov ebx, dword [esp + 0x24]
mov edi, 0xffffffff
test ebx, ebx
jns 0x41da84
mov eax, 0xffffffff
jmp 0x41da87
lea eax, [ebx + ebx]
push eax
call fcn.0040c7f0
add esp, 4
lea ecx, [esp + 0x24]
push ecx
push ebx
mov dword [esp + 0x24], eax
push eax
push esi
mov eax, dword [ebp + 0xc]
push dword [eax + 4]
push 0
call dword [0x452df0]
mov eax, dword [esp + 0x24]
mov ecx, eax
and ecx, 0xd
xor eax, 0xd
lea eax, [eax + ecx*2]
test eax, eax
js 0x41dac1
add eax, eax
mov edi, eax
push edi
call fcn.0040c7f0
add esp, 4
mov edi, eax
mov dword [esp + 0xb4], 0x93269134
mov dword [esp + 0xb8], 0x9f0d9d3d
mov dword [esp + 0xbc], 0x9b7a9904
mov dword [esp + 0xc0], 0x872b853a
mov dword [esp + 0xc4], 0x83118112
mov dword [esp + 0xc8], 0x8f198d25
mov dword [esp + 0xcc], 0x8b8a891e
mov word [esp + 0xd0], 0
mov byte [esp + 0xd2], 0
lea eax, [esp + 0xb4]
mov ecx, 0xbd854d1b
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [eax]
mov edx, ecx
or edx, esi
lea ebx, [ecx + 0x427ab300]
and ebx, esi
not edx
or edx, ebx
mov esi, edx
and esi, 0x339a818b
xor edx, 0xb39a818b
lea edx, [edx + esi*2]
mov esi, edx
not esi
and esi, 0x619f361b
and edx, 0x9e60c9e4
sub edx, esi
mov esi, edx
and esi, 1
xor edx, 1
lea edx, [edx + esi*2]
add dl, 0x1b
mov byte [eax], dl
inc eax
dec ecx
cmp ecx, 0xbd854cfc
jne 0x41db40
mov eax, dword [esp + 0x1c]
movzx ecx, word [eax]
mov eax, edi
test cx, cx
je 0x41dbc1
mov eax, dword [esp + 0x1c]
lea edx, [eax + 2]
mov eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41dbb0
mov word [eax], 0
movzx ecx, word [esp + 0xb4]
test cx, cx
je 0x41dbf1
lea edx, [esp + 0xb6]
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41dbe0
mov word [eax], 0
lea eax, [esp + 0x48]
push 0x60
push 3
push 0x120089
push eax
push edi
call fcn.00445d50
add esp, 0x14
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x44d80c]