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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor edi, edi
cmp dword [esp + 0x24], 0
je 0x4038e1
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x4038e1
push ebx
call fcn.0040a410
add esp, 4
test eax, eax
je 0x40383a
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x403841
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x403820
jmp 0x403843
mov esi, 0x1505
jmp 0x403843
mov esi, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov eax, ebx
sub eax, 1
mov dword [esp + 0xc], eax
jb 0x4038e1
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x403874
inc ebp
dec ebx
je 0x4038df
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x4038df
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x403870
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040a410
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x403870
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0040a430
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x403870
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x4038df
cmp dword [eax + 4], 2
mov edi, 0
jne 0x4038e1
mov edi, dword [eax + 8]
jmp 0x4038e1
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x403910
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
fldz
fstp qword [esp + 0x10]
cmp dword [esp + 0x2c], 0
je 0x40397b
mov esi, dword [esp + 0x30]
test esi, esi
je 0x40397b
push esi
call fcn.0040a410
add esp, 4
test eax, eax
je 0x40395a
mov ecx, 0x1505
xor edi, edi
movzx edx, byte [esi + edi]
test edx, edx
je 0x403961
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
inc edi
mov ecx, ebp
cmp eax, edi
jne 0x403940
jmp 0x403963
mov ebp, 0x1505
jmp 0x403963
mov ebp, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov edi, dword [ecx + 0x20]
lea ebx, [edi - 1]
mov eax, edi
sub eax, 1
mov dword [esp + 0xc], eax
jae 0x403987
fld qword [esp + 0x10]
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
and ebx, ebp
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x4039a4
inc ebx
dec edi
je 0x40397b
mov eax, ebx
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x40397b
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebp
jne 0x4039a0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040a410
mov ecx, dword [esp + 0x30]
add esp, 4
cmp eax, dword [esp]
jne 0x4039a0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x38]
call fcn.0040a430
mov ecx, dword [esp + 0x38]
add esp, 0xc
test eax, eax
jne 0x4039a0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x40397b
cmp dword [eax + 4], 3
jne 0x40397b
fld qword [eax + 8]
fstp qword [esp + 0x10]
jmp 0x40397b
Function at 0x403a40
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor edi, edi
cmp dword [esp + 0x24], 0
je 0x403b41
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x403b41
push ebx
call fcn.0040a410
add esp, 4
test eax, eax
je 0x403a9a
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x403aa1
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x403a80
jmp 0x403aa3
mov esi, 0x1505
jmp 0x403aa3
mov esi, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov eax, ebx
sub eax, 1
mov dword [esp + 0xc], eax
jb 0x403b41
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x403ad4
inc ebp
dec ebx
je 0x403b3f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x403b3f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x403ad0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040a410
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x403ad0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0040a430
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x403ad0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x403b3f
cmp dword [eax + 4], 5
mov edi, 0
jne 0x403b41
mov edi, dword [eax + 8]
jmp 0x403b41
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x403b70
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov edi, 0xffffffff
cmp dword [esp + 0x24], 0
je 0x403c74
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x403c74
push ebx
call fcn.0040a410
add esp, 4
test eax, eax
je 0x403bca
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x403bd1
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x403bb0
jmp 0x403bd3
mov esi, 0x1505
jmp 0x403bd3
mov esi, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov eax, ebx
sub eax, 1
mov dword [esp + 0xc], eax
jb 0x403c74
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x403c04
inc ebp
dec ebx
je 0x403c6f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x403c6f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x403c00
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040a410
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x403c00
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0040a430
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x403c00
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x403c6f
cmp dword [eax + 4], 6
mov edi, 0xffffffff
jne 0x403c74
mov edi, dword [eax + 8]
jmp 0x403c74
mov edi, 0xffffffff
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x403c80
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
push 0x2e
push ebp
call fcn.0040a480
add esp, 8
test eax, eax
je 0x403ce4
mov esi, eax
jmp 0x403cc4
mov ebp, esi
inc ebp
push 0x2e
push ebp
call fcn.0040a480
add esp, 8
mov esi, eax
test eax, eax
je 0x403ce4
mov eax, esi
sub eax, ebp
push eax
push ebp
push edi
call fcn.004036f0
add esp, 0xc
xor edi, edi
test eax, eax
je 0x403cb0
cmp dword [eax + 4], 4
jne 0x403cb0
mov edi, dword [eax + 8]
jmp 0x403cb0
xor eax, eax
test edi, edi
je 0x403d4b
test ebp, ebp
je 0x403d4b
push ebp
call fcn.0040a410
add esp, 4
test eax, eax
je 0x403d2b
mov ecx, 0x1505
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebp + ebx]
test edx, edx
je 0x403d32
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebx
mov ecx, esi
cmp eax, ebx
jne 0x403d10
jmp 0x403d34
mov esi, 0x1505
jmp 0x403d34
mov esi, ecx
mov dword [esp + 4], eax
mov ecx, dword [edi + 0x20]
lea ebx, [ecx - 1]
mov eax, ecx
sub eax, 1
mov dword [esp + 0x14], eax
jae 0x403d53
xor eax, eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
and ebx, esi
mov dword [esp], edi
mov eax, dword [edi + 4]
mov dword [esp + 0x10], eax
jmp 0x403d74
inc ebx
dec ecx
je 0x403d49
mov eax, ebx
and eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x403d49
mov eax, dword [esp]
mov eax, dword [eax + 8]
cmp dword [eax + edi*4], esi
jne 0x403d70
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 0xc], eax
push eax
mov dword [esp + 0xc], ecx
call fcn.0040a410
mov ecx, dword [esp + 0xc]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x403d70
push dword [esp + 4]
push dword [esp + 0x10]
push ebp
call fcn.0040a430
mov ecx, dword [esp + 0x14]
add esp, 0xc
test eax, eax
jne 0x403d70
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edi*4]
jmp 0x403d4b
Function at 0x403e70
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 0x403edd
mov esi, dword [esp + 0x28]
test esi, esi
je 0x403edd
push esi
call fcn.0040a410
add esp, 4
test eax, eax
je 0x403eba
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x403ec1
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x403ea0
jmp 0x403ec3
mov ebx, 0x1505
jmp 0x403ec3
mov ebx, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx + 0x20]
lea ebp, [edi - 1]
mov eax, edi
sub eax, 1
mov dword [esp + 0xc], eax
jae 0x403ee5
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
and ebp, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x403ef4
inc ebp
dec edi
je 0x403edb
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x403edb
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebx
jne 0x403ef0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040a410
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x403ef0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0040a430
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x403ef0
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + esi*4]
test ecx, ecx
mov eax, 0
je 0x403edd
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp dword [ecx + 4], edx
sete al
jmp 0x403edd

Function at 0x403fd0
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4040f9
mov ecx, dword [eax + 4]
cmp ecx, 2
je 0x4040ed
cmp ecx, 5
je 0x4040a9
cmp ecx, 4
jne 0x4040f9
mov esi, dword [eax + 8]
cmp dword [esi + 0x18], 0
je 0x404033
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esi + 0xc]
push dword [eax + edi*4]
call dword [0x44382c]
add esp, 4
mov eax, dword [esi + 0x10]
push dword [eax + edi*4]
call fcn.00403fd0
add esp, 4
inc edi
cmp edi, dword [esi + 0x18]
jb 0x404010
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
push dword [esi + 4]
call dword [0x44382c]
add esp, 4
push dword [esi + 0xc]
call dword [0x44382c]
add esp, 4
push dword [esi + 0x10]
call dword [0x44382c]
add esp, 4
push dword [esi + 0x14]
call dword [0x44382c]
add esp, 4
push dword [esi + 8]
call dword [0x44382c]
add esp, 4
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov dword [esi + 4], 0
jmp 0x4040ea
mov esi, dword [eax + 8]
cmp dword [esi + 8], 0
je 0x4040de
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esi + 4]
push dword [eax + edi*4]
call fcn.00403fd0
add esp, 4
mov eax, edi
and eax, 1
xor edi, 1
lea edi, [edi + eax*2]
cmp edi, dword [esi + 8]
jb 0x4040c0
push dword [esi + 4]
call dword [0x44382c]
add esp, 4
push esi
jmp 0x4040f0
push dword [eax + 8]
call dword [0x44382c]
add esp, 4
pop esi
pop edi
jmp dword [0x44382c]
Function at 0x404110
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 0x404222
mov esi, dword [esp + 0x28]
test esi, esi
je 0x404222
cmp dword [esp + 0x2c], 0
je 0x404222
push esi
call fcn.0040a410
add esp, 4
test eax, eax
je 0x40417a
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 0x404181
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x404160
jmp 0x404183
mov ebx, 0x1505
jmp 0x404183
mov ebx, ecx
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + 0x20]
lea edi, [esi - 1]
mov edx, esi
sub edx, 1
mov dword [esp + 8], edx
jae 0x40422a
mov ebp, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x4041e7
call fcn.00404320
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov ecx, dword [esp + 0x28]
jne 0x404222
push ecx
call fcn.0040a410
add esp, 4
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + 0x20]
lea edi, [esi - 1]
mov eax, esi
sub eax, 1
mov dword [esp + 8], eax
jae 0x40429d
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 edi, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x404248
inc edi
dec esi
je 0x40419c
mov ebp, edi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x4041a1
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x404240
mov ecx, dword [ecx + 0xc]
mov ebp, dword [ecx + eax*4]
push ebp
call fcn.0040a410
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x404240
push dword [esp]
push ebp
push dword [esp + 0x30]
call fcn.0040a430
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x404240
mov eax, 0xffffffff
jmp 0x404222
and edi, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x4042b8
inc edi
dec esi
je 0x4041e2
mov ebp, edi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x4041e7
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x4042b0
mov ecx, dword [ecx + 0xc]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0xc], eax
push eax
call fcn.0040a410
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x4042b0
push dword [esp]
push dword [esp + 0x10]
push dword [esp + 0x30]
call fcn.0040a430
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x4042b0
jmp 0x4041e7
Function at 0x404a50
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 0x404c06
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
movzx edi, cx
shr ecx, 0x10
test esi, esi
je 0x404bff
mov edx, 0x5e6ea9af
mov eax, esi
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, esi
sub edx, eax
jmp 0x404ae5
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 0x404bff
xor ebx, ebx
cmp edx, 8
mov dword [esp], edx
mov dword [esp + 8], esi
jb 0x404b65
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]
mov edi, eax
xor edi, esi
and eax, esi
lea eax, [edi + eax*2]
add ecx, eax
movzx esi, byte [ebp + edx + 6]
add esi, eax
add ecx, esi
movzx edi, byte [ebp + edx + 7]
add edi, esi
lea eax, [edx + 8]
add ecx, edi
add edx, 0xf
cmp edx, dword [esp]
mov edx, dword [esp]
jb 0x404b00
add ebp, eax
mov esi, dword [esp + 8]
mov eax, ebx
sub eax, edx
jae 0x404aad
mov dword [esp + 0xc], eax
mov eax, edx
and eax, 3
mov dword [esp + 4], ebx
je 0x404bb0
neg eax
xor ebx, ebx
mov edx, ebp
nop
nop
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 0x404b90
mov eax, dword [esp + 4]
sub eax, ebx
cmp dword [esp + 0xc], 0xfffffffc
ja 0x404aa0
jmp 0x404bbf
mov eax, ebx
mov edx, ebp
cmp dword [esp + 0xc], 0xfffffffc
ja 0x404aa0
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 0x404bd0
jmp 0x404aa0
shl ecx, 0x10
or ecx, edi
jmp 0x404c0b
mov ecx, 1
mov eax, ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x404c20
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x404c4e
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
not ecx
test ebx, ebx
je 0x404cea
test bl, 1
jne 0x404c55
mov edx, ebx
cmp ebx, 1
jne 0x404c86
jmp 0x404cea
xor eax, eax
jmp 0x404cf1
lea edx, [ebx - 1]
movzx esi, byte [eax]
mov edi, ecx
shr edi, 4
xor ecx, esi
and ecx, 0xf
xor edi, dword [ecx*4 + 0x44080c]
inc eax
mov ecx, edi
shr ecx, 4
and edi, 0xf
shr esi, 4
xor esi, edi
xor ecx, dword [esi*4 + 0x44080c]
cmp ebx, 1
je 0x404cea
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [eax + esi]
mov ebx, ecx
shr ebx, 4
xor ecx, edi
and ecx, 0xf
xor ebx, dword [ecx*4 + 0x44080c]
mov ecx, ebx
shr ecx, 4
and ebx, 0xf
shr edi, 4
xor edi, ebx
xor ecx, dword [edi*4 + 0x44080c]
movzx edi, byte [eax + esi + 1]
mov ebx, ecx
shr ebx, 4
xor ecx, edi
and ecx, 0xf
xor ebx, dword [ecx*4 + 0x44080c]
mov ecx, ebx
shr ecx, 4
and ebx, 0xf
shr edi, 4
xor edi, ebx
xor ecx, dword [edi*4 + 0x44080c]
add esi, 2
cmp edx, esi
jne 0x404c90
lea eax, [ecx + ecx]
not eax
add eax, ecx
pop esi
pop edi
pop ebx
ret
Function at 0x40ef90
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], 0x52f2
mov dword [esp + 0x4a], 0
mov byte [esp + 0x4e], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 6
ja 0x40f00f
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x48]
mov edx, eax
and edx, 0x27324ce5
xor eax, 0xa7324ce5
lea eax, [eax + edx*2]
xor eax, ecx
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xb0]
add al, 0x4c
mov ecx, dword [esp]
mov byte [esp + ecx + 0x48], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 7
jb 0x40efd0
lea ebx, [esp + 0x48]
push ebx
push dword [ebp + 8]
call fcn.00403a40
add esp, 8
mov esi, eax
xor ecx, ecx
test eax, eax
sete cl
xor edi, edi
xor eax, eax
jmp dword [ecx*4 + 0x44420c]

Function at 0x413c40
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
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 0x413c60
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 0x413c80
sar ebp, 1
sar eax, 1
lea ecx, [eax + ebp]
add ecx, 2
test ecx, ecx
jns 0x413ca0
mov eax, 0xffffffff
jmp 0x413ca9
add eax, ebp
lea eax, [eax*2 + 4]
push eax
call fcn.0040a300
add esp, 4
movzx ecx, word [esi]
mov ebx, eax
test cx, cx
je 0x413ce1
add esi, 2
mov ebx, eax
nop
nop
nop
nop
nop
nop
nop
nop
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 0x413cd0
mov word [ebx], 0
mov word [ebx], 0x5c
add ebx, 2
movzx ecx, word [edi]
test cx, cx
je 0x413d11
lea edx, [edi + 2]
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 0x413d00
mov word [ebx], 0
lea ecx, [esp + 4]
push 0x60
push 3
push 0x120089
push ecx
mov dword [esp + 0x24], eax
push eax
call fcn.0043eaa0
add esp, 0x14
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x444780]
Function at 0x413fa0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x7c
mov eax, dword [esp + 0x94]
mov esi, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + esi + 2], 0
lea esi, [esi + 2]
jne 0x413fc0
sar esi, 1
lea ebx, [esp + 0x64]
push ebx
push 0
push 0
push esi
push eax
push 0
call dword [0x449968]
mov ebp, dword [esp + 0x64]
mov edi, 0xffffffff
test ebp, ebp
jns 0x413ff4
mov eax, 0xffffffff
jmp 0x413ffb
lea eax, [ebp*2]
push eax
call fcn.0040a300
add esp, 4
push ebx
push ebp
mov ebp, eax
push eax
push esi
push dword [esp + 0xa4]
push 0
call dword [0x449968]
mov eax, dword [esp + 0x64]
mov ecx, eax
add ecx, 0xd
js 0x41402b
lea edi, [eax*2 + 0x1a]
push edi
call fcn.0040a300
add esp, 4
mov ebx, eax
mov dword [esp + 0x20], 0x93e691f4
mov dword [esp + 0x24], 0x8f1d8ded
mov dword [esp + 0x28], 0x8baa8904
mov dword [esp + 0x2c], 0x871b85ea
mov dword [esp + 0x30], 0x83118112
mov dword [esp + 0x34], 0xbf29bd25
mov dword [esp + 0x38], 0xbbbab92e
mov word [esp + 0x3c], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x1d
ja 0x4140c9
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x20]
lea edx, [eax + ecx]
add eax, 0xc
and eax, ecx
add eax, eax
sub edx, eax
add edx, 0xe563c50c
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0x50]
add al, 0x64
mov ecx, dword [esp]
mov byte [esp + ecx + 0x20], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x1e
jb 0x414090
movzx ecx, word [ebp]
mov eax, ebx
test cx, cx
je 0x4140f1
lea edx, [ebp + 2]
mov eax, ebx
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 0x4140e0
mov word [eax], 0
movzx ecx, word [esp + 0x20]
test cx, cx
je 0x414121
lea edx, [esp + 0x22]
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 0x414110
mov word [eax], 0
lea eax, [esp + 0xc]
push 0x60
push 3
push 0x120089
push eax
push ebx
call fcn.0043eaa0
add esp, 0x14
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x444a30]