joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404390
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
xor eax, eax
cmp dword [esp + 0x20], 0
je 0x404470
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x404470
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x4043da
mov ecx, 0x1505
xor edi, edi
nop
movzx edx, byte [ebx + edi]
test edx, edx
je 0x4043e1
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc edi
mov ecx, esi
cmp ebp, edi
jne 0x4043c0
jmp 0x4043e3
mov esi, 0x1505
jmp 0x4043e3
mov esi, ecx
mov ecx, dword [esp + 0x20]
mov edi, dword [ecx + 0x20]
mov ebx, edi
sub ebx, 1
jb 0x404470
and ebx, esi
mov eax, edi
xor eax, 1
mov edx, edi
and edx, 0xfffffffe
add edx, edx
sub edx, eax
mov dword [esp + 8], edx
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x404414
inc ebx
dec edi
je 0x40446e
mov eax, ebx
and eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov ebp, dword [edx + eax*4]
cmp ebp, 0xffffffff
je 0x40446e
mov eax, dword [ecx + 8]
cmp dword [eax + ebp*4], esi
jne 0x404410
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + ebp*4]
mov dword [esp], eax
push eax
call fcn.0040c5e0
mov ecx, dword [esp + 0x24]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x404410
push dword [esp + 0x28]
push dword [esp + 4]
push dword [esp + 0x2c]
call fcn.0040c600
mov ecx, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
jne 0x404410
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + ebp*4]
jmp 0x404470
xor eax, eax
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4049d0
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 0x404beb
cmp dword [esp + 0x1c], 0
jle 0x404b92
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
lea ecx, [edx + eax]
mov dword [esp], ecx
jmp 0x404a28
cmp esi, 0xc0
jne 0x404be9
and ebx, 0x1ff800
cmp ebx, 0xd800
mov ecx, dword [esp]
je 0x404be9
add edx, ebp
cmp edx, ecx
jae 0x404b92
movzx ebx, byte [edx]
cmp ebx, 0xf4
ja 0x404be9
mov eax, ebx
and al, 0xfe
cmp al, 0xc0
je 0x404be9
mov eax, ebx
and eax, 0xffffffc0
cmp eax, 0x80
je 0x404be9
mov ebp, 1
test bl, bl
jns 0x404a1e
mov esi, ebx
and esi, 0xffffffe0
cmp esi, 0xc0
jne 0x404a8a
movzx edi, byte [edx + 1]
mov eax, edi
and eax, 0xffffffc0
cmp eax, 0x80
jne 0x404be9
and ebx, 0x1f
shl ebx, 6
mov ebp, 2
jmp 0x404ae4
mov eax, ebx
xor eax, 0xffffff0f
mov ecx, ebx
or ecx, 0xf0
and ecx, eax
cmp ecx, 0xe0
jne 0x404ae8
movzx eax, byte [edx + 1]
mov ecx, eax
not ecx
or ecx, 0xc0
add ecx, eax
cmp ecx, 0x7f
jne 0x404be9
movzx edi, byte [edx + 2]
mov ecx, edi
and ecx, 0xffffffc0
cmp ecx, 0x80
jne 0x404be9
and ebx, 0xf
shl ebx, 0xc
and eax, 0x3f
shl eax, 6
or ebx, eax
mov ebp, 3
xor ecx, ecx
jmp 0x404b55
mov eax, ebx
and eax, 0xfffffff8
cmp eax, 0xf0
jne 0x404be9
movzx ecx, byte [edx + 1]
mov eax, ecx
and eax, 0xffffffc0
cmp eax, 0x80
jne 0x404be9
movzx eax, byte [edx + 2]
mov edi, eax
and edi, 0xffffffc0
cmp edi, 0x80
jne 0x404be9
movzx edi, byte [edx + 3]
mov ebp, edi
and ebp, 0xffffffc0
cmp ebp, 0x80
jne 0x404be9
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 0x404be9
cmp edi, 0x7ff
jbe 0x4049fd
cmp edi, 0xffff
ja 0x404b84
test cl, cl
je 0x404a09
jmp 0x404be9
cmp edi, 0x10ffff
jbe 0x404a09
jmp 0x404be9
mov edi, dword [esp + 0x1c]
lea eax, [edi + 1]
push eax
call dword [0x447008]
add esp, 4
test eax, eax
je 0x404be9
mov esi, eax
mov byte [eax + edi], 0
push edi
push dword [esp + 0x1c]
push eax
call fcn.0040c4a0
add esp, 0xc
push 0x10
call dword [0x447008]
add esp, 4
test eax, eax
je 0x404bdf
mov dword [eax], 0
mov dword [eax + 4], 2
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
jmp 0x404beb
push esi
call dword [0x447004]
add esp, 4
xor eax, eax
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x404c00
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, 0xffffffff
cmp dword [esp + 0x24], 0
je 0x404d04
mov esi, dword [esp + 0x28]
test esi, esi
je 0x404d04
cmp dword [esp + 0x2c], 0
je 0x404d04
push esi
call fcn.0040c5e0
add esp, 4
test eax, eax
je 0x404c6a
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x404c71
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x404c50
jmp 0x404c73
mov ebx, 0x1505
jmp 0x404c73
mov ebx, ecx
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx + 0x20]
mov esi, edi
sub esi, 1
jae 0x404d0c
mov ebp, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x404cc9
call fcn.00405960
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov ecx, dword [esp + 0x28]
jne 0x404d04
push ecx
call fcn.0040c5e0
add esp, 4
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx + 0x20]
mov esi, edi
sub esi, 1
jae 0x404d90
mov ebp, 0xffffffff
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 0x18]
mov esi, dword [esp + 0x28]
mov dword [eax + edx*4], esi
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 0x18]
mov dword [eax + ebp*4], edx
mov eax, dword [ecx + 0x10]
mov esi, dword [esp + 0x2c]
mov dword [eax + edx*4], esi
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x18]
mov dword [eax + edx*4], ebp
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0x18]
mov dword [eax + edx*4], ebx
inc dword [ecx + 0x18]
mov eax, dword [ecx]
mov dword [esi], eax
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp], eax
and esi, ebx
mov eax, edi
xor eax, 1
mov edx, edi
and edx, 0xfffffffe
add edx, edx
sub edx, eax
mov dword [esp + 8], edx
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x404d38
inc esi
dec edi
je 0x404c85
mov ebp, esi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x404c8a
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x404d30
mov ecx, dword [ecx + 0xc]
mov ebp, dword [ecx + eax*4]
push ebp
call fcn.0040c5e0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x404d30
push dword [esp]
push ebp
push dword [esp + 0x30]
call fcn.0040c600
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x404d30
mov eax, 0xffffffff
jmp 0x404d04
and esi, ebx
mov eax, edi
xor eax, 1
mov edx, edi
and edx, 0xfffffffe
add edx, edx
sub edx, eax
mov dword [esp + 8], edx
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x404db8
inc esi
dec edi
je 0x404cc4
mov ebp, esi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x404cc9
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x404db0
mov ecx, dword [ecx + 0xc]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0xc], eax
push eax
call fcn.0040c5e0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x404db0
push dword [esp]
push dword [esp + 0x10]
push dword [esp + 0x30]
call fcn.0040c600
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x404db0
jmp 0x404cc9
Function at 0x4056b0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, 0xffffffff
cmp dword [esp + 0x28], 0
je 0x405898
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x405898
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x405898
cmp dword [ecx], 0
jne 0x405898
push esi
call fcn.0040c5e0
add esp, 4
test eax, eax
je 0x40571a
mov ecx, 0x1505
xor ebx, ebx
nop
nop
nop
nop
movzx edx, byte [esi + ebx]
test edx, edx
je 0x405721
mov edi, ecx
shl edi, 5
add edi, ecx
add edi, edx
inc ebx
mov ecx, edi
cmp eax, ebx
jne 0x405700
jmp 0x405723
mov edi, 0x1505
jmp 0x405723
mov edi, ecx
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x20]
mov esi, edx
sub esi, 1
jae 0x4057ed
mov ebp, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x40577a
call fcn.00405960
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov esi, dword [esp + 0x2c]
jne 0x405898
push esi
call fcn.0040c5e0
add esp, 4
mov edx, esi
lea esi, [esp + 0x10]
mov ecx, dword [esp + 0x28]
push esi
push edi
push eax
call fcn.004058a0
add esp, 0xc
mov ebp, eax
mov esi, dword [esp + 0x2c]
push esi
call fcn.0040c5e0
add esp, 4
mov ebx, eax
inc eax
push eax
call dword [0x447008]
add esp, 4
test eax, eax
je 0x405893
mov byte [eax + ebx], 0
push ebx
push esi
push eax
mov esi, eax
call fcn.0040c4a0
add esp, 0xc
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 0x18]
mov dword [eax + ecx*4], esi
mov eax, dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov dword [eax + ebp*4], ecx
mov eax, dword [edx + 0x10]
mov esi, dword [esp + 0x30]
mov dword [eax + ecx*4], esi
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], edi
inc dword [edx + 0x18]
mov eax, dword [edx]
mov dword [esi], eax
xor eax, eax
jmp 0x405898
mov dword [esp], eax
and esi, edi
mov eax, edx
xor eax, 1
mov ebx, edx
and ebx, 0xfffffffe
add ebx, ebx
sub ebx, eax
mov dword [esp + 0xc], ebx
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x405818
inc esi
dec edx
je 0x405735
mov ebp, esi
and ebp, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov ebx, dword [eax + ebp*4]
cmp ebx, 0xffffffff
je 0x40573a
mov eax, dword [ecx + 8]
cmp dword [eax + ebx*4], edi
jne 0x405810
mov eax, dword [ecx + 0xc]
mov ebp, dword [eax + ebx*4]
push ebp
mov dword [esp + 8], edx
call fcn.0040c5e0
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x2c]
add esp, 4
cmp eax, dword [esp]
jne 0x405810
push dword [esp]
push ebp
push dword [esp + 0x34]
call fcn.0040c600
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
add esp, 0xc
test eax, eax
jne 0x405810
mov eax, dword [ecx + 0x10]
push dword [eax + ebx*4]
call fcn.004047a0
mov edx, dword [esp + 0x2c]
add esp, 4
mov eax, dword [edx + 0x10]
mov esi, dword [esp + 0x30]
mov dword [eax + ebx*4], esi
jmp 0x4057e2
mov eax, 0xffffffff
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4068f0
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 0x406a96
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov eax, ecx
not eax
or eax, 0xffff
lea edi, [ecx + eax]
inc edi
shr ecx, 0x10
test esi, esi
je 0x406a8f
mov edx, 0x5e6ea9af
mov eax, esi
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, esi
sub edx, eax
jmp 0x406985
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 0x406a8f
xor ebx, ebx
cmp edx, 8
mov dword [esp], edx
mov dword [esp + 8], esi
jb 0x4069fe
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 0x4069a0
add ebp, eax
mov esi, dword [esp + 8]
mov eax, ebx
sub eax, edx
jae 0x40694d
mov dword [esp + 0xc], eax
mov eax, edx
and eax, 3
mov dword [esp + 4], ebx
je 0x406a40
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 0x406a20
mov eax, dword [esp + 4]
sub eax, ebx
cmp dword [esp + 0xc], 0xfffffffc
ja 0x406940
jmp 0x406a4f
mov eax, ebx
mov edx, ebp
cmp dword [esp + 0xc], 0xfffffffc
ja 0x406940
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 0x406a60
jmp 0x406940
shl ecx, 0x10
add ecx, edi
jmp 0x406a9b
mov ecx, 1
mov eax, ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x406ab0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x406b23
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
lea eax, [esi + esi]
not eax
add eax, esi
test edx, edx
je 0x406b1f
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [ecx + esi]
mov ebx, eax
shr ebx, 4
xor eax, edi
and eax, 0xf
mov eax, dword [eax*4 + 0x444c50]
mov ebp, eax
and ebp, ebx
add ebx, eax
add ebp, ebp
sub ebx, ebp
mov eax, ebx
shr eax, 4
mov ebp, ebx
not ebp
or ebp, 0xf
add ebx, ebp
inc ebx
shr edi, 4
xor edi, ebx
xor eax, dword [edi*4 + 0x444c50]
inc esi
cmp edx, esi
jne 0x406ae0
not eax
jmp 0x406b25
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40ce80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20c
mov dword [esp], ecx
mov edi, dword [esp + 0x220]
movzx ecx, word [edi]
test cx, cx
je 0x40cfba
lea eax, [edi + 2]
xor ebx, ebx
jmp 0x40cebd
add ebx, edx
movzx ecx, word [eax]
add eax, 2
test cx, cx
je 0x40cedf
movzx esi, cx
cmp esi, 0x800
mov ecx, 3
sbb ecx, 0
mov edx, 1
cmp esi, 0x80
jb 0x40ceb0
mov edx, ecx
jmp 0x40ceb0
lea esi, [ebx + 1]
push esi
call fcn.0040c470
add esp, 4
mov ebp, eax
test ebx, ebx
jle 0x40cfc8
add ebx, ebp
add esi, ebp
mov eax, ebp
mov dword [esp + 8], esi
jmp 0x40cf28
mov byte [eax], dl
mov esi, 1
add edi, 2
add eax, esi
cmp eax, ebx
mov esi, dword [esp + 8]
jae 0x40cfca
movzx edx, word [edi]
test dx, dx
je 0x40cfca
cmp dx, 0x7f
jbe 0x40cf10
mov ecx, eax
not ecx
add ecx, esi
movzx esi, dx
cmp ecx, 2
jb 0x40cf80
cmp esi, 0x7ff
ja 0x40cf80
mov ecx, edx
shr ecx, 6
add cl, 0xc0
mov byte [eax], cl
mov ecx, edx
xor ecx, 0xc0
or edx, 0x3f
and edx, ecx
add dl, 0x80
mov byte [eax + 1], dl
mov esi, 2
jmp 0x40cf17
mov dword [esp + 4], esi
xor esi, esi
cmp ecx, 3
jb 0x40cf17
mov esi, dword [esp + 4]
mov ecx, esi
shr ecx, 0xc
or cl, 0xe0
mov byte [eax], cl
mov ecx, esi
shr ecx, 6
and cl, 0x3f
or cl, 0x80
mov byte [eax + 1], cl
and dl, 0x3f
or dl, 0x80
mov byte [eax + 2], dl
mov esi, 3
jmp 0x40cf17
push 1
call fcn.0040c470
add esp, 4
mov ebp, eax
jmp 0x40cfca
mov eax, ebp
mov edi, dword [esp + 0x228]
mov edx, dword [esp + 0x224]
mov byte [eax], 0
xor ecx, ecx
jmp 0x40cfe5
mov byte [esp + ecx + 0xc], bl
inc ecx
movzx eax, byte [ebp + ecx]
mov bl, 0x2f
cmp eax, 0x5c
je 0x40cfe0
test eax, eax
je 0x40cff9
mov ebx, eax
jmp 0x40cfe0
mov byte [esp + ecx + 0xc], 0
lea eax, [esp + 0xc]
push 0
push 0
push 0
mov ecx, dword [esp + 0xc]
push dword [ecx + 8]
add ecx, 0x10
push 0
push 0
push edi
push edx
push eax
push ecx
call fcn.00408b10
add esp, 0x28
test eax, eax
setne al
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x40f080
Capabilities:
Encode data using xor
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 [0x44d038]
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + edx + 2], 0
lea edx, [edx + 2]
jne case.default.0x40f12e
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 + 0x447ed8]
xor eax, eax
jmp 0x40f6cf
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x410800
Capabilities:
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, 0x368
mov esi, esp
push eax
sub esp, 0x64
mov edi, esp
and edi, 0xfffffff8
mov esp, edi
push eax
sub esp, 0x64
mov ebx, esp
and ebx, 0xfffffff8
mov esp, ebx
push eax
sub esp, 0x64
mov eax, esp
and eax, 0xfffffff8
mov dword [esi + 0x48], eax
mov esp, eax
push eax
sub esp, 0x64
mov eax, esp
and eax, 0xfffffff8
mov dword [esi + 0x44], eax
mov esp, eax
push eax
sub esp, 0xfc
mov dword [esi + 0x18], esp
sub esp, 8
mov dword [esi + 0x30], esp
sub esp, 8
mov dword [esi + 0x40], esp
sub esp, 0x24
mov dword [esi + 0x24], esp
push eax
mov dword [esi + 0x3c], esp
push eax
mov dword [esi + 0x68], esp
sub esp, 0x68
mov dword [esi + 0x1c], esp
sub esp, 0xc
mov dword [esi + 0xc], esp
sub esp, 0x68
mov eax, esp
and eax, 0xfffffff8
mov dword [esi + 0x20], eax
mov esp, eax
push eax
sub esp, 0xc
mov dword [esi + 0x4c], esp
sub esp, 0x800
mov dword [esi + 0x64], esp
sub esp, 0x80
mov dword [esi + 0x5c], esp
sub esp, 0x44
mov dword [esi + 0x60], esp
sub esp, 0x10
mov dword [esi + 0x34], esp
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
shr eax, 0x1f
jmp dword [eax*4 + 0x448748]

Function at 0x411b90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x140
mov word [esp + 0x48], 0xe779
mov dword [esp + 0x4a], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 5
ja 0x411c20
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x48]
mov edx, eax
xor edx, 0xae5886d9
and eax, 0x2e5886d9
lea eax, [edx + eax*2]
lea edx, [eax + ecx]
mov esi, ecx
not esi
or esi, eax
lea eax, [ecx + esi]
add ecx, esi
inc ecx
mov esi, ecx
xor esi, edx
not ecx
and ecx, edx
add ecx, ecx
add eax, esi
inc eax
sub ecx, eax
mov dword [esp + 0xb4], ecx
mov eax, dword [esp + 0xb4]
add al, 0xc3
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x48], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 6
jb 0x411bc0
lea eax, [esp + 0x48]
push eax
push dword [ebp + 8]
call fcn.00404550
add esp, 8
mov edi, eax
xor ecx, ecx
test eax, eax
sete cl
xor ebx, ebx
xor eax, eax
jmp dword [ecx*4 + 0x448820]
Function at 0x419640
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ebp, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + ebp + 2], 0
lea ebp, [ebp + 2]
jne 0x419660
mov esi, dword [eax + 4]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + eax + 2], 0
lea eax, [eax + 2]
jne 0x419680
sar ebp, 1
sar eax, 1
add eax, ebp
add eax, 2
test eax, eax
jns 0x41969f
mov eax, 0xffffffff
jmp 0x4196a1
add eax, eax
push eax
call fcn.0040c470
add esp, 4
movzx ecx, word [esi]
mov ebx, eax
test cx, cx
je 0x4196d1
add esi, 2
mov ebx, eax
nop
nop
nop
nop
nop
nop
nop
mov word [ebx], cx
add ebx, 2
movzx ecx, word [esi]
add esi, 2
test cx, cx
jne 0x4196c0
mov word [ebx], 0x5c
add ebx, 2
movzx ecx, word [edi]
test cx, cx
je 0x419701
lea edx, [edi + 2]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ebx], cx
add ebx, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x4196f0
mov word [ebx], 0
lea ecx, [esp + 8]
push 0x60
push 3
push 0x120089
push ecx
mov dword [esp + 0x24], eax
push eax
call fcn.00441ca0
add esp, 0x14
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x448e0c]
Function at 0x4199e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xaa8
mov eax, dword [ebp + 0xc]
mov esi, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + esi + 2], 0
lea esi, [esi + 2]
jne 0x419a00
sar esi, 1
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0
push esi
push eax
push 0
call dword [0x44e370]
mov ebx, dword [esp + 0x2c]
mov edi, 0xffffffff
test ebx, ebx
jns 0x419a34
mov eax, 0xffffffff
jmp 0x419a37
lea eax, [ebx + ebx]
push eax
call fcn.0040c470
add esp, 4
lea ecx, [esp + 0x2c]
push ecx
push ebx
mov dword [esp + 0x24], eax
push eax
push esi
push dword [ebp + 0xc]
push 0
call dword [0x44e370]
mov eax, dword [esp + 0x2c]
mov ecx, eax
add ecx, 0xd
js 0x419a69
lea edi, [eax*2 + 0x1a]
push edi
call fcn.0040c470
add esp, 4
mov esi, eax
mov dword [esp + 0x1c8], 0xc9becba8
mov dword [esp + 0x1cc], 0xc54bc757
mov dword [esp + 0x1d0], 0xc1e2c348
mov dword [esp + 0x1d4], 0xfd65ffaa
mov dword [esp + 0x1d8], 0xf977fb72
mov dword [esp + 0x1dc], 0xf567f76f
mov dword [esp + 0x1e0], 0xf1f2f366
mov dword [esp + 0x1e4], 0
mov dword [esp + 0x48], 0
mov eax, dword [esp + 0x48]
cmp eax, 0x1f
ja 0x419b2a
nop
nop
nop
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x48]
movzx ecx, byte [esp + ecx + 0x1c8]
mov edx, eax
xor edx, 0xe10ef2d3
and eax, 0xe10ef2d3
lea eax, [edx + eax*2]
xor eax, ecx
mov dword [esp + 0x698], eax
mov eax, dword [esp + 0x698]
add al, 0xe1
mov ecx, dword [esp + 0x48]
mov byte [esp + ecx + 0x1c8], al
inc dword [esp + 0x48]
mov eax, dword [esp + 0x48]
cmp eax, 0x20
jb 0x419ae0
mov eax, dword [esp + 0x1c]
movzx ecx, word [eax]
mov eax, esi
test cx, cx
je 0x419b61
mov eax, dword [esp + 0x1c]
lea edx, [eax + 2]
mov eax, esi
nop
nop
nop
nop
nop
nop
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 0x419b50
mov word [eax], 0
movzx ecx, word [esp + 0x1c8]
test cx, cx
je 0x419b91
lea edx, [esp + 0x1ca]
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x419b80
mov word [eax], 0
lea eax, [esp + 0x638]
push 0x60
push 3
push 0x120089
push eax
push esi
call fcn.00441ca0
add esp, 0x14
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x4490a0]
Function at 0x41e330
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov ebx, dword [esp + 0x40]
mov ebp, 0xfffffffe
cmp word [ebx + ebp + 2], 0
lea ebp, [ebp + 2]
jne 0x41e340
sar ebp, 1
lea eax, [esp + 0xc]
push eax
push 0
push 0
push ebp
push ebx
push 0
call dword [0x44e370]
mov edi, dword [esp + 0xc]
test edi, edi
jns 0x41e36f
mov eax, 0xffffffff
jmp 0x41e372
lea eax, [edi + edi]
push eax
call fcn.0040c470
add esp, 4
mov esi, eax
lea eax, [esp + 0xc]
push eax
push edi
push esi
push ebp
push ebx
push 0
call dword [0x44e370]
lea ebx, [esp + 0x14]
push ebx
push esi
call fcn.00441e70
add esp, 8
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x4493a4]