joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ed5e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x145000]
push edi
or ebp, 0xffffffff
jmp 0x5ed602
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5ed609
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5ed5f8
mov eax, 1
add ebx, ebx
jne 0x5ed61b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5ed62c
jne 0x5ed64b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5ed64b
dec eax
add ebx, ebx
jne 0x5ed638
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5ed610
add ebx, ebx
jne 0x5ed647
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5ed69d
xor ecx, ecx
sub eax, 3
jb 0x5ed663
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5ed6d2
sar eax, 1
mov ebp, eax
jmp 0x5ed66e
add ebx, ebx
jne 0x5ed66e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5ed63c
inc ecx
add ebx, ebx
jne 0x5ed67c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5ed63c
add ebx, ebx
jne 0x5ed689
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5ed67e
jne 0x5ed69a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5ed67e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5ed6bc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5ed6ae
jmp 0x5ed5fe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5ed6bc
add edi, ecx
jmp 0x5ed5fe
pop esi
mov edi, esi
mov ecx, 0xa4e7
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5ed6da
cmp byte [edi], 0x38
jne 0x5ed6da
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x5ed6df
lea edi, [esi + 0x1e9000]
mov eax, dword [edi]
or eax, eax
je 0x5ed757
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1f3740]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1f3894]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5ed70c
mov ecx, edi
jns 0x5ed73b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1f3898]
or eax, eax
je 0x5ed751
mov dword [ebx], eax
add ebx, 4
jmp 0x5ed729
call dword [esi + 0x1f38a8]
mov ebp, dword [esi + 0x1f389c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5ed78b
sub esp, 0xffffff80
jmp 0x50dd21
Function at 0x404520
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 0x404600
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x404600
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x40456a
mov ecx, 0x1505
xor edi, edi
nop
movzx edx, byte [ebx + edi]
test edx, edx
je 0x404571
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc edi
mov ecx, esi
cmp ebp, edi
jne 0x404550
jmp 0x404573
mov esi, 0x1505
jmp 0x404573
mov esi, ecx
mov ecx, dword [esp + 0x20]
mov ebx, dword [ecx + 0x20]
lea edx, [ebx - 1]
mov ecx, ebx
sub ecx, 1
mov dword [esp + 8], ecx
jb 0x404600
mov ecx, esi
not ecx
or edx, ecx
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
lea ebp, [esi + edx]
inc ebp
jmp 0x4045a4
inc ebp
dec ebx
je 0x4045fe
mov eax, ebp
and eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x4045fe
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x4045a0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp], eax
push eax
call fcn.0040cad0
mov ecx, dword [esp + 0x24]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x4045a0
push dword [esp + 0x28]
push dword [esp + 4]
push dword [esp + 0x2c]
call fcn.0040caf0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
jne 0x4045a0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
jmp 0x404600
xor eax, eax
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x404da0
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 0x404eba
mov esi, dword [esp + 0x28]
test esi, esi
je 0x404eba
cmp dword [esp + 0x2c], 0
je 0x404eba
push esi
call fcn.0040cad0
add esp, 4
test eax, eax
je 0x404e0a
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 0x404e11
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x404df0
jmp 0x404e13
mov ebx, 0x1505
jmp 0x404e13
mov ebx, ecx
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + 0x20]
lea edx, [esi - 1]
mov edi, ebx
not edi
mov ebp, esi
sub ebp, 1
mov dword [esp + 0xc], ebp
mov dword [esp + 4], edi
jae 0x404ec2
mov ebp, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x404e7f
call fcn.00405ab0
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov ecx, dword [esp + 0x28]
jne 0x404eba
push ecx
call fcn.0040cad0
add esp, 4
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + 0x20]
lea eax, [esi - 1]
mov edx, esi
sub edx, 1
mov dword [esp + 0xc], edx
jae 0x404f40
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
or edx, edi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
lea edi, [ebx + edx]
inc edi
jmp 0x404ee8
inc edi
dec esi
je 0x404e34
mov ebp, edi
and ebp, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x404e39
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x404ee0
mov ecx, dword [ecx + 0xc]
mov ebp, dword [ecx + eax*4]
push ebp
call fcn.0040cad0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x404ee0
push dword [esp]
push ebp
push dword [esp + 0x30]
call fcn.0040caf0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x404ee0
mov eax, 0xffffffff
jmp 0x404eba
or eax, dword [esp + 4]
mov edx, dword [ecx + 4]
mov dword [esp + 8], edx
lea edi, [ebx + eax]
inc edi
jmp 0x404f68
inc edi
dec esi
je 0x404e7a
mov ebp, edi
and ebp, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x404e7f
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x404f60
mov ecx, dword [ecx + 0xc]
mov eax, dword [ecx + eax*4]
mov dword [esp + 4], eax
push eax
call fcn.0040cad0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x404f60
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0040caf0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x404f60
jmp 0x404e7f
Function at 0x4057f0
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 0x4059da
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x4059da
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x4059da
cmp dword [ecx], 0
jne 0x4059da
push esi
call fcn.0040cad0
add esp, 4
test eax, eax
je 0x40585a
mov ecx, 0x1505
xor ebx, ebx
nop
nop
nop
nop
movzx edx, byte [esi + ebx]
test edx, edx
je 0x405861
mov edi, ecx
shl edi, 5
add edi, ecx
add edi, edx
inc ebx
mov ecx, edi
cmp eax, ebx
jne 0x405840
jmp 0x405863
mov edi, 0x1505
jmp 0x405863
mov edi, ecx
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x20]
lea esi, [edx - 1]
mov ebx, edx
sub ebx, 1
mov dword [esp + 0xc], ebx
jae 0x405934
mov ebp, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x4058c1
call fcn.00405ab0
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov esi, dword [esp + 0x2c]
jne 0x4059da
push esi
call fcn.0040cad0
add esp, 4
mov edx, esi
lea esi, [esp + 0x10]
mov ecx, dword [esp + 0x28]
push esi
push edi
push eax
call fcn.004059f0
add esp, 0xc
mov ebp, eax
mov esi, dword [esp + 0x2c]
push esi
call fcn.0040cad0
add esp, 4
mov ebx, eax
inc eax
push eax
call dword [0x447008]
add esp, 4
test eax, eax
je 0x4059d5
mov byte [eax + ebx], 0
push ebx
push esi
push eax
mov esi, eax
call fcn.0040c9f0
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 0x4059da
mov dword [esp], eax
mov eax, edx
mov edx, edi
not edx
or esi, edx
mov edx, eax
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
lea ebx, [edi + esi]
inc ebx
jmp 0x405958
inc ebx
dec edx
je 0x40587c
mov ebp, ebx
and ebp, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov esi, dword [eax + ebp*4]
cmp esi, 0xffffffff
je 0x405881
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], edi
jne 0x405950
mov eax, dword [ecx + 0xc]
mov ebp, dword [eax + esi*4]
push ebp
mov dword [esp + 8], edx
call fcn.0040cad0
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x2c]
add esp, 4
cmp eax, dword [esp]
jne 0x405950
push dword [esp]
push ebp
push dword [esp + 0x34]
call fcn.0040caf0
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
add esp, 0xc
test eax, eax
jne 0x405950
mov eax, dword [ecx + 0x10]
push dword [eax + esi*4]
call fcn.00404930
mov edx, dword [esp + 0x2c]
add esp, 4
mov eax, dword [edx + 0x10]
mov ecx, dword [esp + 0x30]
mov dword [eax + esi*4], ecx
mov esi, ecx
jmp 0x405929
mov eax, 0xffffffff
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x406a80
Capabilities:
Compute adler32 checksum
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x406c36
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
movzx edi, cx
shr ecx, 0x10
test esi, esi
je 0x406c2f
mov edx, 0x5e6ea9af
mov eax, esi
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov ebx, esi
sub ebx, eax
jmp 0x406b16
mov eax, dword [esp + 4]
sub eax, dword [esp]
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 + 4]
mov ebx, 0x15b0
je 0x406c2f
xor edx, edx
cmp ebx, 8
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
jb 0x406b98
and ebx, 0x1ff8
mov dword [esp], ebx
xor eax, eax
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 edi, byte [ebp + edx + 2]
add edi, esi
mov eax, ecx
and eax, edi
xor ecx, edi
movzx ebx, byte [ebp + edx + 3]
add ebx, edi
movzx edi, byte [ebp + edx + 4]
add edi, ebx
add ebx, ecx
lea ecx, [ebx + eax*2]
mov ebx, dword [esp + 4]
movzx eax, byte [ebp + edx + 5]
add eax, edi
add ecx, edi
movzx esi, byte [ebp + edx + 6]
add esi, eax
add ecx, eax
movzx edi, byte [ebp + edx + 7]
add edi, esi
add ecx, esi
add ecx, edi
lea eax, [edx + 8]
add edx, 0xf
cmp edx, ebx
jb 0x406b30
add ebp, eax
mov esi, dword [esp + 8]
mov edx, dword [esp]
mov eax, edx
sub eax, ebx
jae 0x406add
mov dword [esp + 0xc], eax
mov eax, ebx
and eax, 3
mov dword [esp], edx
je 0x406bdf
neg eax
xor ebx, ebx
mov edx, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [edx]
inc edx
add edi, esi
add ecx, edi
dec ebx
cmp eax, ebx
jne 0x406bc0
mov eax, dword [esp]
sub eax, ebx
cmp dword [esp + 0xc], 0xfffffffc
ja 0x406ad0
jmp 0x406bee
mov eax, edx
mov edx, ebp
cmp dword [esp + 0xc], 0xfffffffc
ja 0x406ad0
mov ebx, dword [esp + 4]
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 0x406c00
jmp 0x406ad0
shl ecx, 0x10
or ecx, edi
jmp 0x406c3b
mov ecx, 1
mov eax, ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x406c50
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x406cbb
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
test edx, edx
je 0x406cbd
not eax
xor esi, esi
nop
nop
nop
nop
movzx edi, byte [ecx + esi]
mov ebx, edi
xor ebx, 0xf0
mov ebp, edi
or ebp, 0xf
and ebp, ebx
mov ebx, eax
and eax, 0xf
xor eax, ebp
shr ebx, 4
xor ebx, dword [eax*4 + 0x444c50]
mov eax, ebx
shr eax, 4
and ebx, 0xf
shr edi, 4
xor edi, ebx
mov edi, dword [edi*4 + 0x444c50]
mov ebx, eax
and ebx, edi
add eax, edi
add ebx, ebx
sub eax, ebx
inc esi
cmp edx, esi
jne 0x406c70
not eax
jmp 0x406cbd
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40d5c0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x60
mov edx, dword [esp + 0x7c]
mov esi, dword [esp + 0x78]
mov dword [esp + 0x18], ecx
mov eax, dword [ecx + 0x60]
mov dword [esp + 0x14], eax
mov word [esp], 0x7b7d
mov byte [esp + 2], 0x62
mov word [esp + 3], 0
xor eax, eax
nop
nop
mov ebx, eax
add bl, 0xe8
xor bl, byte [esp + eax]
add bl, 0x78
mov byte [esp + eax], bl
inc eax
cmp eax, 5
jne 0x40d5f0
mov dword [esp + 8], 0xe698e4f2
mov word [esp + 0xc], 0x9d96
mov dword [esp + 0xe], 0
mov byte [esp + 0x12], 0
mov ebx, 0x999156a4
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + ebx + 0x666ea964]
xor ecx, ebx
lea eax, [ecx + 0x294ecb]
mov edi, eax
and edi, 1
and ecx, 1
mov ebp, ecx
xor ebp, 1
or ebp, edi
add ebp, ebp
mov edi, ebp
and edi, eax
and eax, 0xfe
or eax, ecx
or eax, ebp
add eax, edi
mov byte [esp + ebx + 0x666ea964], al
inc ebx
cmp ebx, 0x999156af
jne 0x40d630
mov dword [esp + 0x1c], 0xaea49093
mov dword [esp + 0x20], 0xa2ae9c98
mov dword [esp + 0x24], 0xa55ea493
mov dword [esp + 0x28], 0x9aa1a659
mov dword [esp + 0x2c], 0xa2996566
mov dword [esp + 0x30], 0x6cbff9c7
mov dword [esp + 0x34], 0x6f91636a
mov dword [esp + 0x38], 0x8eb6ac64
mov dword [esp + 0x3c], 0x7c777779
mov dword [esp + 0x40], 0x7c897f8b
mov dword [esp + 0x44], 0x87ceb57a
mov dword [esp + 0x48], 0x427d7979
mov dword [esp + 0x4c], 0x728a7478
mov dword [esp + 0x50], 0x7e843355
mov dword [esp + 0x54], 0x3b59708b
mov byte [esp + 0x58], 0x18
mov dword [esp + 0x59], 0
xor ebx, ebx
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
mov ecx, ebx
and ecx, 0xa2
mov eax, ebp
xor eax, 0x2e
sub eax, ecx
xor al, byte [esp + ebp + 0x1c]
mov cl, 0xea
sub cl, al
mov byte [esp + ebp + 0x1c], cl
inc ebp
add ebx, 2
cmp ebp, 0x41
jne 0x40d700
mov ecx, dword [esp + 0x74]
add ecx, dword [esp + 0x14]
movzx ebx, byte [esp + 0x1c]
mov edi, ecx
test bl, bl
je 0x40d74b
lea eax, [esp + 0x1d]
mov edi, ecx
nop
nop
nop
mov byte [edi], bl
inc edi
movzx ebx, byte [eax]
inc eax
test bl, bl
jne 0x40d740
mov byte [edi], 0
movzx eax, byte [esi]
test al, al
je 0x40d76b
inc esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edi], al
inc edi
movzx eax, byte [esi]
inc esi
test al, al
jne 0x40d760
mov byte [edi], 0
movzx eax, byte [esp + 8]
test al, al
je 0x40d78b
lea esi, [esp + 9]
nop
nop
nop
nop
nop
mov byte [edi], al
inc edi
movzx eax, byte [esi]
inc esi
test al, al
jne 0x40d780
mov byte [edi], 0
movzx eax, byte [edx]
test al, al
je 0x40d7ab
inc edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edi], al
inc edi
movzx eax, byte [edx]
inc edx
test al, al
jne 0x40d7a0
mov byte [edi], 0
movzx eax, byte [esp]
test al, al
je 0x40d7cb
lea edx, [esp + 1]
nop
nop
nop
nop
nop
nop
mov byte [edi], al
inc edi
movzx eax, byte [edx]
inc edx
test al, al
jne 0x40d7c0
mov byte [edi], 0
sub edi, ecx
mov eax, dword [esp + 0x18]
add dword [eax + 0x60], edi
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x40f9f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x434
mov edi, dword [esp + 0x460]
mov dword [esp + 0x34], 0x219727f3
mov dword [esp + 0x38], 0x3d9923aa
mov dword [esp + 0x3c], 0x398a3f88
mov dword [esp + 0x40], 0x35cb3b9b
mov dword [esp + 0x44], 0x31c037fb
mov dword [esp + 0x48], 0xdd233c0
mov dword [esp + 0x4c], 0x9a70ff4
mov dword [esp + 0x50], 0x5bc0bb3
mov dword [esp + 0x54], 0x1b707b8
mov dword [esp + 0x58], 0x1d8f0389
mov dword [esp + 0x5c], 0x19c81ffc
mov dword [esp + 0x60], 0x15fa1bb4
mov dword [esp + 0x64], 0x11e617e7
mov dword [esp + 0x68], 0xede213e6
mov dword [esp + 0x6c], 0xe90eef29
mov dword [esp + 0x70], 0xe551eb41
mov dword [esp + 0x74], 0xe128e752
mov dword [esp + 0x78], 0xfd27e32c
mov dword [esp + 0x7c], 0xf976ff1c
mov dword [esp + 0x80], 0xf536fb36
mov dword [esp + 0x84], 0xf116f70f
mov dword [esp + 0x88], 0xcd42f333
mov dword [esp + 0x8c], 0xc97acf7c
mov dword [esp + 0x90], 0xc563cb77
mov dword [esp + 0x94], 0xc164c77b
mov dword [esp + 0x98], 0xdd79c315
mov dword [esp + 0x9c], 0xd92fdf50
mov dword [esp + 0xa0], 0xd517db17
mov dword [esp + 0xa4], 0xd120d71d
mov dword [esp + 0xa8], 0xad1cd31d
mov dword [esp + 0xac], 0xa956af4c
mov dword [esp + 0xb0], 0xa572ab7d
mov dword [esp + 0xb4], 0xa171a708
mov dword [esp + 0xb8], 0xbd56a374
mov dword [esp + 0xbc], 0xb90abf5c
mov dword [esp + 0xc0], 0xb50fbb03
mov dword [esp + 0xc4], 0xb156b70b
mov dword [esp + 0xc8], 0x8d0db369
mov dword [esp + 0xcc], 0x893b8f31
mov dword [esp + 0xd0], 0x85718b39
mov dword [esp + 0xd4], 0x815b8764
mov dword [esp + 0xd8], 0x9d308338
mov dword [esp + 0xdc], 0x99299f2d
mov dword [esp + 0xe0], 0x956b9b27
mov dword [esp + 0xe4], 0x91659767
mov dword [esp + 0xe8], 0x6d64935b
mov dword [esp + 0xec], 0x69986f9c
mov dword [esp + 0xf0], 0x659c6b98
mov dword [esp + 0xf4], 0x61866794
mov dword [esp + 0xf8], 0x7dc163cd
mov dword [esp + 0xfc], 0x79dd7fc2
mov dword [esp + 0x100], 0x75c17bca
mov dword [esp + 0x104], 0x71b97785
mov dword [esp + 0x108], 0x4dbb73bd
mov dword [esp + 0x10c], 0x49834fba
mov dword [esp + 0x110], 0x454a4b86
mov dword [esp + 0x114], 0
mov eax, dword [0x44d130]
mov dword [esp], eax
mov eax, 0xe651b949
mov edx, 0x19ae46b6
nop
nop
nop
movzx esi, byte [esp + eax + 0x19ae46eb]
mov ebp, esi
not ebp
lea ebx, [esi + esi]
not ebx
add ebx, esi
and ebx, ebp
mov ebp, edx
and ebp, 0x20e
mov ecx, eax
and ecx, 0xe01111f1
or ecx, ebp
xor ecx, 0xe01111f1
and ecx, edx
or ecx, ebx
or esi, eax
and esi, ecx
lea ecx, [esi - 0x7f989e6e]
mov ebx, esi
and ebx, 1
mov ebp, ecx
and ebp, 0xfe
xor ecx, 1
add ebx, esi
add ebx, 0x80676192
add ebx, ecx
sub ebx, ebp
mov byte [esp + eax + 0x19ae46eb], bl
inc eax
dec edx
cmp eax, 0xe651ba2d
jne 0x40fc50
lea eax, [esp + 0x34]
push 0
push 0
push 0
push 0
push eax
call dword [esp + 0x14]
xor ecx, ecx
mov dword [esp], eax
test eax, eax
setne cl
jmp dword [ecx*4 + 0x447c7c]
Function at 0x410980
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 + 0x44841c]

Function at 0x41b5b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov esi, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + esi + 2], 0
lea esi, [esi + 2]
jne 0x41b5d0
sar esi, 1
mov edi, dword [ecx + 4]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + eax + 2], 0
lea eax, [eax + 2]
jne 0x41b5f0
sar eax, 1
inc eax
mov ecx, eax
xor ecx, esi
and eax, esi
lea edx, [ecx + eax*2]
inc edx
test edx, edx
jns 0x41b613
mov eax, 0xffffffff
jmp 0x41b61d
lea eax, [ecx + eax*2]
lea eax, [eax*2 + 2]
push eax
call fcn.0040c9c0
add esp, 4
mov ebp, eax
movzx ecx, word [edi]
test cx, cx
je 0x41b651
add edi, 2
mov eax, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edi]
add edi, 2
test cx, cx
jne 0x41b640
mov word [eax], 0x5c
add eax, 2
mov edx, dword [esp + 0x30]
movzx ecx, word [edx]
test cx, cx
je 0x41b681
add edx, 2
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 0x41b670
mov word [eax], 0
lea eax, [esp + 4]
push 0x60
push 3
push 0x120089
push eax
push ebp
call fcn.00442b50
add esp, 0x14
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x448efc]

Function at 0x41b5dd
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov esi, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + esi + 2], 0
lea esi, [esi + 2]
jne 0x41b5d0
sar esi, 1
mov edi, dword [ecx + 4]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + eax + 2], 0
lea eax, [eax + 2]
jne 0x41b5f0
sar eax, 1
inc eax
mov ecx, eax
xor ecx, esi
and eax, esi
lea edx, [ecx + eax*2]
inc edx
test edx, edx
jns 0x41b613
mov eax, 0xffffffff
jmp 0x41b61d
lea eax, [ecx + eax*2]
lea eax, [eax*2 + 2]
push eax
call fcn.0040c9c0
add esp, 4
mov ebp, eax
movzx ecx, word [edi]
test cx, cx
je 0x41b651
add edi, 2
mov eax, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edi]
add edi, 2
test cx, cx
jne 0x41b640
mov word [eax], 0x5c
add eax, 2
mov edx, dword [esp + 0x30]
movzx ecx, word [edx]
test cx, cx
je 0x41b681
add edx, 2
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 0x41b670
mov word [eax], 0
lea eax, [esp + 4]
push 0x60
push 3
push 0x120089
push eax
push ebp
call fcn.00442b50
add esp, 0x14
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x448efc]