joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402f40
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 0x402fab
mov esi, dword [esp + 0x30]
test esi, esi
je 0x402fab
push esi
call fcn.00409910
add esp, 4
test eax, eax
je 0x402f8a
mov ecx, 0x1505
xor edi, edi
movzx edx, byte [esi + edi]
test edx, edx
je 0x402f91
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
inc edi
mov ecx, ebp
cmp eax, edi
jne 0x402f70
jmp 0x402f93
mov ebp, 0x1505
jmp 0x402f93
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 0x402fb7
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 0x402fd4
inc ebx
dec edi
je 0x402fab
mov eax, ebx
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x402fab
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebp
jne 0x402fd0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.00409910
mov ecx, dword [esp + 0x30]
add esp, 4
cmp eax, dword [esp]
jne 0x402fd0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x38]
call fcn.00409930
mov ecx, dword [esp + 0x38]
add esp, 0xc
test eax, eax
jne 0x402fd0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x402fab
cmp dword [eax + 4], 3
jne 0x402fab
fld qword [eax + 8]
fstp qword [esp + 0x10]
jmp 0x402fab

Function at 0x403070
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 0x403171
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x403171
push ebx
call fcn.00409910
add esp, 4
test eax, eax
je 0x4030ca
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 0x4030d1
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x4030b0
jmp 0x4030d3
mov esi, 0x1505
jmp 0x4030d3
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 0x403171
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x403104
inc ebp
dec ebx
je 0x40316f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x40316f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x403100
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.00409910
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x403100
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00409930
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x403100
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x40316f
cmp dword [eax + 4], 5
mov edi, 0
jne 0x403171
mov edi, dword [eax + 8]
jmp 0x403171
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4031a0
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 0x4032a4
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x4032a4
push ebx
call fcn.00409910
add esp, 4
test eax, eax
je 0x4031fa
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x403201
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x4031e0
jmp 0x403203
mov esi, 0x1505
jmp 0x403203
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 0x4032a4
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x403234
inc ebp
dec ebx
je 0x40329f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x40329f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x403230
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.00409910
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x403230
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00409930
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x403230
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x40329f
cmp dword [eax + 4], 6
mov edi, 0xffffffff
jne 0x4032a4
mov edi, dword [eax + 8]
jmp 0x4032a4
mov edi, 0xffffffff
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4032b0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
push 0x2e
push edi
call fcn.00409980
add esp, 8
test eax, eax
je 0x403316
mov ebx, eax
jmp 0x4032f4
mov edi, ebx
inc edi
push 0x2e
push edi
call fcn.00409980
add esp, 8
mov ebx, eax
test eax, eax
je 0x403316
mov eax, ebx
sub eax, edi
mov ecx, esi
mov edx, edi
push eax
call fcn.00402d20
add esp, 4
xor esi, esi
test eax, eax
je 0x4032e0
cmp dword [eax + 4], 4
jne 0x4032e0
mov esi, dword [eax + 8]
jmp 0x4032e0
xor eax, eax
test esi, esi
je 0x40337a
test edi, edi
je 0x40337a
push edi
call fcn.00409910
add esp, 4
test eax, eax
je 0x40335a
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [edi + ebp]
test edx, edx
je 0x403361
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc ebp
mov ecx, ebx
cmp eax, ebp
jne 0x403340
jmp 0x403363
mov ebx, 0x1505
jmp 0x403363
mov ebx, ecx
mov dword [esp + 4], eax
mov ecx, dword [esi + 0x20]
lea ebp, [ecx - 1]
mov eax, ecx
sub eax, 1
mov dword [esp + 0x14], eax
jae 0x403382
xor eax, eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
and ebp, ebx
mov dword [esp], esi
mov eax, dword [esi + 4]
mov dword [esp + 0x10], eax
jmp 0x403394
inc ebp
dec ecx
je 0x403378
mov eax, ebp
and eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x403378
mov eax, dword [esp]
mov eax, dword [eax + 8]
cmp dword [eax + esi*4], ebx
jne 0x403390
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 0xc], eax
push eax
mov dword [esp + 0xc], ecx
call fcn.00409910
mov ecx, dword [esp + 0xc]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x403390
push dword [esp + 4]
push dword [esp + 0x10]
push edi
call fcn.00409930
mov ecx, dword [esp + 0x14]
add esp, 0xc
test eax, eax
jne 0x403390
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + esi*4]
jmp 0x40337a
Function at 0x403490
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 0x4034fd
mov esi, dword [esp + 0x28]
test esi, esi
je 0x4034fd
push esi
call fcn.00409910
add esp, 4
test eax, eax
je 0x4034da
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x4034e1
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x4034c0
jmp 0x4034e3
mov ebx, 0x1505
jmp 0x4034e3
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 0x403505
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 0x403514
inc ebp
dec edi
je 0x4034fb
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x4034fb
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebx
jne 0x403510
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.00409910
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x403510
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00409930
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x403510
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + esi*4]
test ecx, ecx
mov eax, 0
je 0x4034fd
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp dword [ecx + 4], edx
sete al
jmp 0x4034fd
Function at 0x403720
Capabilities:
Hash data using djb2

Disassembly:
mov eax, 0xffffffff
test ecx, ecx
je 0x40382c
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov esi, edx
test edx, edx
je 0x403825
mov dword [esp], ecx
cmp dword [esp + 0x2c], 0
je 0x403825
push esi
call fcn.00409910
add esp, 4
test eax, eax
je 0x40377a
mov ecx, 0x1505
xor edi, edi
movzx edx, byte [esi + edi]
test edx, edx
je 0x403781
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
inc edi
mov ecx, ebp
cmp eax, edi
jne 0x403760
jmp 0x403783
mov ebp, 0x1505
jmp 0x403783
mov ebp, ecx
mov dword [esp + 8], esi
mov ecx, dword [esp]
mov esi, dword [ecx + 0x20]
lea ebx, [esi - 1]
mov edx, esi
sub edx, 1
mov dword [esp + 0x10], edx
jae 0x40382d
mov edi, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x4037ea
call fcn.00403920
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov ecx, dword [esp + 8]
jne 0x403825
push ecx
call fcn.00409910
add esp, 4
mov dword [esp + 4], eax
mov ecx, dword [esp]
mov esi, dword [ecx + 0x20]
lea ebx, [esi - 1]
mov eax, esi
sub eax, 1
mov dword [esp + 0x10], eax
jae 0x40389f
mov edi, 0xffffffff
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 0x18]
mov esi, dword [esp + 8]
mov dword [eax + edx*4], esi
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 0x18]
mov dword [eax + edi*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], edi
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0x18]
mov dword [eax + edx*4], ebp
inc dword [ecx + 0x18]
mov eax, dword [ecx]
mov dword [esi], eax
xor eax, eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 4], eax
and ebx, ebp
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
jmp 0x403848
inc ebx
dec esi
je 0x40379f
mov edi, ebx
and edi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + edi*4]
cmp eax, 0xffffffff
je 0x4037a4
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebp
jne 0x403840
mov ecx, dword [ecx + 0xc]
mov edi, dword [ecx + eax*4]
push edi
call fcn.00409910
mov ecx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x403840
push dword [esp + 4]
push edi
push dword [esp + 0x10]
call fcn.00409930
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x403840
mov eax, 0xffffffff
jmp 0x403825
and ebx, ebp
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
jmp 0x4038b8
inc ebx
dec esi
je 0x4037e5
mov edi, ebx
and edi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + edi*4]
cmp eax, 0xffffffff
je 0x4037ea
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebp
jne 0x4038b0
mov ecx, dword [ecx + 0xc]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x14], eax
push eax
call fcn.00409910
mov ecx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x4038b0
push dword [esp + 4]
push dword [esp + 0x18]
push dword [esp + 0x10]
call fcn.00409930
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x4038b0
jmp 0x4037ea
Function at 0x404050
Capabilities:
Compute adler32 checksum
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x4041f3
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
movzx edi, cx
shr ecx, 0x10
test esi, esi
je 0x4041ec
mov edx, 0x5e6ea9af
mov eax, esi
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, esi
sub edx, eax
jmp 0x4040e7
add ebx, dword [esp + 0xc]
mov esi, dword [esp + 8]
mov eax, edi
mov ebp, 0x80078071
mul ebp
shr edx, 0xf
imul eax, edx, 0xfff1
sub edi, eax
mov eax, ecx
mul ebp
shr edx, 0xf
imul eax, edx, 0xfff1
sub ecx, eax
mov edx, dword [esp]
mov eax, edx
xor eax, esi
not edx
and edx, esi
add edx, edx
mov esi, edx
mov edx, 0x15b0
sub esi, eax
je 0x4041ec
xor eax, eax
cmp edx, 8
mov dword [esp], edx
jb 0x404159
mov eax, edx
and eax, 0x1ff8
xor ebp, ebp
nop
nop
nop
nop
nop
nop
mov edx, ebp
movzx ebp, byte [ebx + ebp]
add ebp, edi
add ecx, ebp
movzx edi, byte [ebx + edx + 1]
add edi, ebp
add ecx, edi
movzx ebp, byte [ebx + edx + 2]
add ebp, edi
add ecx, ebp
movzx edi, byte [ebx + edx + 3]
add edi, ebp
add ecx, edi
movzx ebp, byte [ebx + edx + 4]
add ebp, edi
add ecx, ebp
movzx edi, byte [ebx + edx + 5]
add edi, ebp
add ecx, edi
movzx ebp, byte [ebx + edx + 6]
add ebp, edi
add ecx, ebp
movzx edi, byte [ebx + edx + 7]
add edi, ebp
add ecx, edi
lea ebp, [edx + 8]
add edx, 0xf
cmp edx, dword [esp]
mov edx, dword [esp]
jb 0x404100
add ebx, ebp
mov ebp, edx
sub ebp, eax
mov dword [esp + 0xc], ebp
jbe 0x4040a8
mov ebp, eax
or ebp, 1
mov dword [esp + 4], ebp
test dl, 1
mov dword [esp + 8], esi
jne 0x404190
mov ebp, ebx
mov edx, dword [esp + 4]
cmp dword [esp], edx
je 0x4040a0
jmp 0x4041b0
movzx eax, byte [ebx]
add edi, eax
mov eax, edi
xor eax, ecx
and ecx, edi
lea ecx, [eax + ecx*2]
lea ebp, [ebx + 1]
mov edx, dword [esp + 4]
mov eax, edx
cmp dword [esp], edx
je 0x4040a0
mov edx, dword [esp]
sub edx, eax
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [ebp + eax]
add esi, edi
mov edi, esi
xor edi, ecx
and ecx, esi
lea ecx, [edi + ecx*2]
movzx edi, byte [ebp + eax + 1]
add edi, esi
mov esi, edi
xor esi, ecx
and ecx, edi
lea ecx, [esi + ecx*2]
add eax, 2
cmp edx, eax
jne 0x4041c0
jmp 0x4040a0
shl ecx, 0x10
or ecx, edi
jmp 0x4041f8
mov ecx, 1
mov eax, ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x404210
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x40423e
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
test ebx, ebx
je 0x4042dc
not eax
test bl, 1
jne 0x404245
mov edx, ebx
cmp ebx, 1
jne 0x404276
jmp 0x4042da
xor eax, eax
jmp 0x4042dc
lea edx, [ebx - 1]
movzx esi, byte [ecx]
mov edi, eax
shr edi, 4
xor eax, esi
and eax, 0xf
xor edi, dword [eax*4 + 0x43980c]
inc ecx
mov eax, edi
shr eax, 4
and edi, 0xf
shr esi, 4
xor esi, edi
xor eax, dword [esi*4 + 0x43980c]
cmp ebx, 1
je 0x4042da
xor esi, esi
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
xor ebx, dword [eax*4 + 0x43980c]
mov eax, ebx
shr eax, 4
and ebx, 0xf
shr edi, 4
xor edi, ebx
xor eax, dword [edi*4 + 0x43980c]
movzx edi, byte [ecx + esi + 1]
mov ebx, eax
shr ebx, 4
xor eax, edi
and eax, 0xf
xor ebx, dword [eax*4 + 0x43980c]
mov eax, ebx
shr eax, 4
and ebx, 0xf
shr edi, 4
xor edi, ebx
xor eax, dword [edi*4 + 0x43980c]
add esi, 2
cmp edx, esi
jne 0x404280
not eax
pop esi
pop edi
pop ebx
ret
Function at 0x409720
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 0x40978c
mov edi, edx
cmp dword [esp + 0x18], 0
je 0x40976e
cmp ebx, 1
adc ebx, 0
cmp ebx, eax
jae 0x409770
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, ebx
and edx, 2
mov ebp, ebx
or ebx, 2
imul ebx, edx
xor edx, 2
and ebp, 0xfffffffd
imul ebp, edx
add ebx, ebp
cmp ebx, eax
jb 0x409750
jmp 0x409770
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 0x40978a
mov dword [edi], eax
mov dword [edi + 8], ebx
jmp 0x40978c
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40e8b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x148
mov word [esp + 0x50], 0x2b81
mov dword [esp + 0x52], 0
mov byte [esp + 0x56], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 6
ja 0x40e929
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x50]
add eax, 0x26912347
xor eax, ecx
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xc4]
add al, 0x9d
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x50], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 7
jb 0x40e8f0
lea eax, [esp + 0x50]
push eax
push dword [ebp + 8]
call fcn.00403070
add esp, 8
mov ebx, eax
xor eax, eax
test ebx, ebx
sete al
jmp dword [eax*4 + 0x43d240]
Function at 0x413d40
Capabilities:
Encode data using xor

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 0x413d60
sar esi, 1
lea ebx, [esp + 0x60]
push ebx
push 0
push 0
push esi
push eax
push 0
call dword [0x442ef8]
mov ebp, dword [esp + 0x60]
mov edi, 0xffffffff
test ebp, ebp
jns 0x413d94
mov eax, 0xffffffff
jmp 0x413d9b
lea eax, [ebp*2]
push eax
call fcn.004097d0
add esp, 4
push ebx
push ebp
mov ebp, eax
push eax
push esi
push dword [esp + 0xa4]
push 0
call dword [0x442ef8]
mov eax, dword [esp + 0x60]
mov ecx, eax
add ecx, 0xd
js 0x413dcb
lea edi, [eax*2 + 0x1a]
push edi
call fcn.004097d0
add esp, 4
mov ebx, eax
mov dword [esp + 0xc], 0x41b247a0
mov dword [esp + 0x10], 0x4ddf43a3
mov dword [esp + 0x14], 0x496e4fd0
mov dword [esp + 0x18], 0x75a54bb6
mov dword [esp + 0x1c], 0x71eb77e6
mov dword [esp + 0x20], 0x7de3739b
mov dword [esp + 0x24], 0x797e7fea
mov word [esp + 0x28], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x1d
ja 0x413e5e
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 + 0xc]
add eax, 0xa688b811
xor eax, ecx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x40]
add al, 0xab
mov ecx, dword [esp]
mov byte [esp + ecx + 0xc], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x1e
jb 0x413e30
movzx ecx, word [ebp]
mov eax, ebx
test cx, cx
je 0x413e81
lea edx, [ebp + 2]
mov eax, ebx
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x413e70
mov word [eax], 0
movzx ecx, word [esp + 0xc]
test cx, cx
je 0x413eb1
lea edx, [esp + 0xe]
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 0x413ea0
mov word [eax], 0
lea eax, [esp + 8]
push 0x60
push 3
push 0x120089
push eax
push ebx
call fcn.00437a10
add esp, 0x14
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x43d9ac]
Function at 0x416390
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 0x4163a0
sar ebp, 1
lea eax, [esp + 4]
push eax
push 0
push 0
push ebp
push ebx
push 0
call dword [0x442ef8]
mov edi, dword [esp + 4]
test edi, edi
jns 0x4163cf
mov eax, 0xffffffff
jmp 0x4163d2
lea eax, [edi + edi]
push eax
call fcn.004097d0
add esp, 4
mov esi, eax
lea eax, [esp + 4]
push eax
push edi
push esi
push ebp
push ebx
push 0
call dword [0x442ef8]
lea ebx, [esp + 0x14]
push ebx
push esi
call fcn.00437be0
add esp, 8
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x43dc9c]
Function at 0x417db0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x64
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + 0x7c]
mov edi, dword [esp + 0x78]
mov ecx, dword [ebx + 4]
mov eax, 0xfffffffe
nop
nop
cmp word [ecx + eax + 2], 0
lea eax, [eax + 2]
jne 0x417dd0
cmp eax, 0xffffffdd
jge 0x417de7
mov eax, 0xffffffff
jmp 0x417dea
add eax, 0x22
push eax
call fcn.004097d0
add esp, 4
mov esi, eax
mov dword [esp + 8], 0xe16be740
mov dword [esp + 0xc], 0xdd73e36c
mov dword [esp + 0x10], 0xd97ddf4e
mov dword [esp + 0x14], 0xd545db41
mov dword [esp + 0x18], 0xd14ad770
mov dword [esp + 0x1c], 0xcd4cd34f
mov dword [esp + 0x20], 0xc941cf6f
mov dword [esp + 0x24], 0xc546cb5c
mov word [esp + 0x28], 0xc7c4
mov dword [esp + 0x2a], 0
mov word [esp + 0x2e], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x27
ja 0x417e8e
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 8]
add eax, 0xd963a759
xor eax, ecx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x50]
add al, 0x43
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x28
jb 0x417e60
mov ecx, dword [ebx + 4]
movzx edx, word [ecx]
mov eax, esi
test dx, dx
je 0x417eb1
add ecx, 2
mov eax, esi
mov word [eax], dx
add eax, 2
movzx edx, word [ecx]
add ecx, 2
test dx, dx
jne 0x417ea0
mov word [eax], 0
movzx ecx, word [esp + 8]
test cx, cx
je 0x417ee1
lea edx, [esp + 0xa]
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 0x417ed0
mov word [eax], 0
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebx
mov eax, dword [esp + 0x84]
mov dword [esp + 0x60], eax
mov dword [esp + 8], 0xc157c753
mov dword [esp + 0xc], 0xcd15c35a
mov dword [esp + 0x10], 0xc956cf63
mov dword [esp + 0x14], 0xb565cb54
mov dword [esp + 0x18], 0xb12bb722
mov dword [esp + 0x1c], 0xbd23b31b
mov dword [esp + 0x20], 0xb96bbf2a
mov dword [esp + 0x24], 0xa56fbb6d
mov dword [esp + 0x28], 0xa100a74e
mov dword [esp + 0x2c], 0xad3fa33f
mov dword [esp + 0x30], 0xa93caf03
mov dword [esp + 0x34], 0x953bab65
mov dword [esp + 0x38], 0x910a9702
mov dword [esp + 0x3c], 0x9d0a933f
mov dword [esp + 0x40], 0x99559f00
mov dword [esp + 0x44], 0x855d9b34
mov dword [esp + 0x48], 0x8186876e
mov word [esp + 0x4c], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x45
ja 0x417fe1
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 8]
add eax, 0xb269f131
xor eax, ecx
mov dword [esp], eax
mov eax, dword [esp]
add al, 0xb
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 8], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x46
jb 0x417fb0
lea eax, [esp + 0x50]
lea ecx, [esp + 8]
push eax
push 0x418270
push ecx
push esi
call fcn.00418ae0
add esp, 0x10
jmp dword [0x43dd74]
Function at 0x418130
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push edi
push esi
sub esp, 0x20
mov edi, dword [esp + 0x30]
mov eax, 0xfffffffe
nop
cmp word [edi + eax + 2], 0
lea eax, [eax + 2]
jne 0x418140
cmp eax, 0xffffffed
jge 0x418157
mov eax, 0xffffffff
jmp 0x41815a
add eax, 0x12
push eax
call fcn.004097d0
add esp, 4
mov esi, eax
mov dword [esp + 4], 0x31c33fd0
mov dword [esp + 8], 0x35b933d7
mov dword [esp + 0xc], 0xc9083700
mov dword [esp + 0x10], 0xcd28cb2c
mov word [esp + 0x14], 0xcfcc
mov dword [esp + 0x16], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x15
ja 0x4181de
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 + 4]
add eax, 0x4bd75ef5
xor eax, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
add al, 0x37
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x16
jb 0x4181b0
movzx ecx, word [edi]
mov eax, esi
test cx, cx
je 0x418201
add edi, 2
mov eax, esi
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edi]
add edi, 2
test cx, cx
jne 0x4181f0
mov word [eax], 0
movzx ecx, word [esp + 4]
test cx, cx
je 0x418231
lea edx, [esp + 6]
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 0x418220
mov word [eax], 0
lea eax, [esp + 4]
push eax
push esi
call fcn.00437be0
add esp, 8
mov edi, eax
mov ebx, dword [esp + 4]
jmp dword [0x43dd7c]