joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402c30
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 0x402d31
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x402d31
push ebx
call fcn.00409640
add esp, 4
test eax, eax
je 0x402c8a
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 0x402c91
inc ebp
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
mov ecx, esi
cmp eax, ebp
jne 0x402c70
jmp 0x402c93
mov esi, 0x1505
jmp 0x402c93
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 0x402d31
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x402cc4
inc ebp
dec ebx
je 0x402d2f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x402d2f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x402cc0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.00409640
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x402cc0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00409660
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x402cc0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x402d2f
cmp dword [eax + 4], 2
mov edi, 0
jne 0x402d31
mov edi, dword [eax + 8]
jmp 0x402d31
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x402d60
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 0x402dcb
mov esi, dword [esp + 0x30]
test esi, esi
je 0x402dcb
push esi
call fcn.00409640
add esp, 4
test eax, eax
je 0x402daa
mov ecx, 0x1505
xor edi, edi
movzx edx, byte [esi + edi]
test edx, edx
je 0x402db1
inc edi
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
mov ecx, ebp
cmp eax, edi
jne 0x402d90
jmp 0x402db3
mov ebp, 0x1505
jmp 0x402db3
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 0x402dd7
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 0x402df4
inc ebx
dec edi
je 0x402dcb
mov eax, ebx
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x402dcb
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebp
jne 0x402df0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.00409640
mov ecx, dword [esp + 0x30]
add esp, 4
cmp eax, dword [esp]
jne 0x402df0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x38]
call fcn.00409660
mov ecx, dword [esp + 0x38]
add esp, 0xc
test eax, eax
jne 0x402df0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x402dcb
cmp dword [eax + 4], 3
jne 0x402dcb
fld qword [eax + 8]
fstp qword [esp + 0x10]
jmp 0x402dcb
Function at 0x402e90
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 0x402f91
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x402f91
push ebx
call fcn.00409640
add esp, 4
test eax, eax
je 0x402eea
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 0x402ef1
inc ebp
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
mov ecx, esi
cmp eax, ebp
jne 0x402ed0
jmp 0x402ef3
mov esi, 0x1505
jmp 0x402ef3
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 0x402f91
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x402f24
inc ebp
dec ebx
je 0x402f8f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x402f8f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x402f20
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.00409640
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x402f20
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00409660
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x402f20
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x402f8f
cmp dword [eax + 4], 5
mov edi, 0
jne 0x402f91
mov edi, dword [eax + 8]
jmp 0x402f91
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402fc0
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 0x4030c4
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x4030c4
push ebx
call fcn.00409640
add esp, 4
test eax, eax
je 0x40301a
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x403021
inc ebp
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
mov ecx, esi
cmp eax, ebp
jne 0x403000
jmp 0x403023
mov esi, 0x1505
jmp 0x403023
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 0x4030c4
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x403054
inc ebp
dec ebx
je 0x4030bf
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x4030bf
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x403050
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.00409640
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x403050
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00409660
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x403050
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x4030bf
cmp dword [eax + 4], 6
mov edi, 0xffffffff
jne 0x4030c4
mov edi, dword [eax + 8]
jmp 0x4030c4
mov edi, 0xffffffff
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4030d0
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.004096b0
add esp, 8
test eax, eax
je 0x403136
mov ebx, eax
jmp 0x403114
mov edi, ebx
inc edi
push 0x2e
push edi
call fcn.004096b0
add esp, 8
mov ebx, eax
test eax, eax
je 0x403136
mov eax, ebx
sub eax, edi
mov ecx, esi
mov edx, edi
push eax
call fcn.00402b40
add esp, 4
xor esi, esi
test eax, eax
je 0x403100
cmp dword [eax + 4], 4
jne 0x403100
mov esi, dword [eax + 8]
jmp 0x403100
xor eax, eax
test esi, esi
je 0x40319a
test edi, edi
je 0x40319a
push edi
call fcn.00409640
add esp, 4
test eax, eax
je 0x40317a
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 0x403181
inc ebp
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
mov ecx, ebx
cmp eax, ebp
jne 0x403160
jmp 0x403183
mov ebx, 0x1505
jmp 0x403183
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 0x4031a2
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 0x4031b4
inc ebp
dec ecx
je 0x403198
mov eax, ebp
and eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x403198
mov eax, dword [esp]
mov eax, dword [eax + 8]
cmp dword [eax + esi*4], ebx
jne 0x4031b0
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.00409640
mov ecx, dword [esp + 0xc]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x4031b0
push dword [esp + 4]
push dword [esp + 0x10]
push edi
call fcn.00409660
mov ecx, dword [esp + 0x14]
add esp, 0xc
test eax, eax
jne 0x4031b0
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + esi*4]
jmp 0x40319a
Function at 0x4032b0
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 0x40331d
mov esi, dword [esp + 0x28]
test esi, esi
je 0x40331d
push esi
call fcn.00409640
add esp, 4
test eax, eax
je 0x4032fa
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x403301
inc edi
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
mov ecx, ebx
cmp eax, edi
jne 0x4032e0
jmp 0x403303
mov ebx, 0x1505
jmp 0x403303
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 0x403325
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 0x403334
inc ebp
dec edi
je 0x40331b
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x40331b
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebx
jne 0x403330
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.00409640
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x403330
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00409660
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x403330
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + esi*4]
test ecx, ecx
mov eax, 0
je 0x40331d
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp dword [ecx + 4], edx
sete al
jmp 0x40331d
Function at 0x403540
Capabilities:
Hash data using djb2

Disassembly:
mov eax, 0xffffffff
test ecx, ecx
je 0x40364c
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov esi, edx
test edx, edx
je 0x403645
mov dword [esp], ecx
cmp dword [esp + 0x2c], 0
je 0x403645
push esi
call fcn.00409640
add esp, 4
test eax, eax
je 0x40359a
mov ecx, 0x1505
xor edi, edi
movzx edx, byte [esi + edi]
test edx, edx
je 0x4035a1
inc edi
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
mov ecx, ebp
cmp eax, edi
jne 0x403580
jmp 0x4035a3
mov ebp, 0x1505
jmp 0x4035a3
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 0x40364d
mov edi, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x40360a
call fcn.00403740
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov ecx, dword [esp + 8]
jne 0x403645
push ecx
call fcn.00409640
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 0x4036bf
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 0x403668
inc ebx
dec esi
je 0x4035bf
mov edi, ebx
and edi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + edi*4]
cmp eax, 0xffffffff
je 0x4035c4
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebp
jne 0x403660
mov ecx, dword [ecx + 0xc]
mov edi, dword [ecx + eax*4]
push edi
call fcn.00409640
mov ecx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x403660
push dword [esp + 4]
push edi
push dword [esp + 0x10]
call fcn.00409660
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x403660
mov eax, 0xffffffff
jmp 0x403645
and ebx, ebp
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
jmp 0x4036d8
inc ebx
dec esi
je 0x403605
mov edi, ebx
and edi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + edi*4]
cmp eax, 0xffffffff
je 0x40360a
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebp
jne 0x4036d0
mov ecx, dword [ecx + 0xc]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x14], eax
push eax
call fcn.00409640
mov ecx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x4036d0
push dword [esp + 4]
push dword [esp + 0x18]
push dword [esp + 0x10]
call fcn.00409660
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x4036d0
jmp 0x40360a
Function at 0x403e40
Capabilities:
Compute adler32 checksum
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov ebp, dword [esp + 0x24]
test ebp, ebp
je 0x403fe2
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
mov eax, esi
not eax
or eax, 0xffff
lea edi, [esi + eax]
inc edi
shr esi, 0x10
test ebx, ebx
je 0x403fdb
mov ecx, 0x5e6ea9af
mov eax, ebx
mul ecx
mov ecx, ebx
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, ebx
sub edx, eax
mov eax, edx
jmp 0x403ed0
add ebp, dword [esp + 4]
mov ecx, dword [esp + 8]
mov eax, edi
mov edx, 0x80078071
mul edx
mov ebx, edx
shr ebx, 0xf
mov eax, esi
mov edx, 0x80078071
mul edx
imul eax, ebx, 0xfff1
sub edi, eax
shr edx, 0xf
imul eax, edx, 0xfff1
sub esi, eax
sub ecx, dword [esp]
mov eax, 0x15b0
je 0x403fdb
xor edx, edx
cmp eax, 8
mov dword [esp], eax
mov dword [esp + 8], ecx
jb 0x403f4f
and eax, 0x1ff8
mov dword [esp + 4], eax
mov edx, 7
nop
nop
nop
nop
movzx ebx, byte [ebp + edx]
movzx ecx, byte [ebp + edx - 7]
add ecx, edi
add esi, ecx
movzx edi, byte [ebp + edx - 6]
add edi, ecx
add esi, edi
movzx ecx, byte [ebp + edx - 5]
add ecx, edi
add esi, ecx
movzx edi, byte [ebp + edx - 4]
add edi, ecx
add esi, edi
movzx ecx, byte [ebp + edx - 3]
add ecx, edi
add esi, ecx
movzx eax, byte [ebp + edx - 2]
add eax, ecx
add esi, eax
movzx edi, byte [ebp + edx - 1]
add edi, eax
mov eax, dword [esp]
add esi, edi
add edi, ebx
add esi, edi
add edx, 8
cmp edx, eax
jb 0x403ef0
add ebp, edx
add ebp, 0xfffffff9
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov ebx, eax
sub ebx, edx
jbe 0x403e98
mov dword [esp + 4], ebx
mov ecx, edx
or ecx, 1
test al, 1
jne 0x403f80
mov ebx, ebp
cmp eax, ecx
je 0x403e90
jmp 0x403f9f
lea ebx, [ebp + 1]
movzx eax, byte [ebp]
add edi, eax
mov eax, edi
and eax, esi
xor esi, edi
lea esi, [esi + eax*2]
mov eax, dword [esp]
mov edx, ecx
cmp eax, ecx
je 0x403e90
mov ecx, dword [esp]
sub ecx, edx
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + eax]
add edx, edi
mov edi, edx
and edi, esi
xor esi, edx
lea esi, [esi + edi*2]
movzx edi, byte [ebx + eax + 1]
add edi, edx
mov edx, edi
and edx, esi
xor esi, edi
lea esi, [esi + edx*2]
add eax, 2
cmp ecx, eax
jne 0x403fb0
jmp 0x403e90
shl esi, 0x10
add esi, edi
jmp 0x403fe7
mov esi, 1
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x404000
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x404063
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
test edx, edx
je 0x404065
not eax
xor esi, esi
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 + 0x43a80c]
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 + 0x43a80c]
inc esi
cmp edx, esi
jne 0x404020
not eax
jmp 0x404065
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x409460
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov edi, edx
mov eax, dword [esp + 0x14]
mov edx, dword [edx + 8]
mov esi, 1
cmp edx, eax
jae 0x4094d0
cmp dword [esp + 0x18], 0
je 0x4094ae
cmp edx, 1
adc edx, 0
cmp edx, eax
jae 0x4094b2
mov ebx, edx
nop
nop
nop
nop
nop
nop
nop
mov ebp, edx
or ebp, 2
and ebx, 2
imul ebp, ebx
and edx, 0xfffffffd
xor ebx, 2
imul ebx, edx
add ebx, ebp
mov edx, ebx
cmp ebx, eax
jb 0x409490
jmp 0x4094b4
mov ebx, eax
jmp 0x4094b4
mov ebx, edx
push ebx
push dword [edi + 0xc]
push dword [edi]
push dword [ecx + 0x34]
call dword [ecx + 0x30]
add esp, 0x10
test eax, eax
je 0x4094ce
mov dword [edi], eax
mov dword [edi + 8], ebx
jmp 0x4094d0
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40bcd0
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, 0x160
mov esi, esp
mov eax, dword [ebp + 8]
push eax
mov ebx, esp
mov dword [esi + 0x68], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x50], 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 + 0x34], 0
mov dword [esi + 0x30], 0x3c
mov dword [esi + 0x38], 0xffffffff
mov dword [esi + 0x44], 0xffffffff
mov dword [esi + 0x60], 0xffffffff
mov edx, 0xfffffffe
mov ecx, dword [0x442dc4]
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + edx + 2], 0
lea edx, [edx + 2]
jne case.default.0x40bd8e
sar edx, 1
lea edi, [esi + 0x30]
push edi
push 0
push edx
push eax
call ecx
xor ecx, ecx
test eax, eax
setne cl
jmp dword [ecx*4 + 0x43db20]
mov eax, dword [0x43db34]
nop
nop
nop
nop
nop
nop
jmp eax
Function at 0x40eba0
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 + 0x40], 0xb52b
mov dword [esp + 0x42], 0
mov word [esp + 0x46], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 7
ja 0x40ec19
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx ecx, byte [esp + ecx + 0x40]
add eax, 0xe72f749
xor eax, ecx
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0xb8]
inc al
mov ecx, dword [esp + 8]
mov byte [esp + ecx + 0x40], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 8
jb 0x40ebe0
lea eax, [esp + 0x40]
push eax
push dword [ebp + 8]
call fcn.00402e90
add esp, 8
mov esi, eax
xor ecx, ecx
test eax, eax
sete cl
xor edi, edi
xor eax, eax
jmp dword [ecx*4 + 0x43e3a4]
Function at 0x413a90
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov edi, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebp + edi + 2], 0
lea edi, [edi + 2]
jne 0x413ab0
sar edi, 1
mov esi, dword [eax + 4]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + eax + 2], 0
lea eax, [eax + 2]
jne 0x413ad0
sar eax, 1
lea ecx, [edi + eax]
add ecx, 2
test ecx, ecx
jns 0x413aee
mov eax, 0xffffffff
jmp 0x413af7
add eax, edi
lea eax, [eax*2 + 4]
push eax
call fcn.00409510
add esp, 4
movzx ecx, word [esi]
mov ebx, eax
test cx, cx
je 0x413b21
add esi, 2
mov ebx, eax
nop
mov word [ebx], cx
add ebx, 2
movzx ecx, word [esi]
add esi, 2
test cx, cx
jne 0x413b10
mov word [ebx], 0x5c
add ebx, 2
movzx ecx, word [ebp]
test cx, cx
je 0x413b51
lea edx, [ebp + 2]
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 0x413b40
mov word [ebx], 0
lea ecx, [esp + 0xc]
push 0x60
push 3
push 0x120089
push ecx
mov dword [esp + 0x24], eax
push eax
call fcn.00437e20
add esp, 0x14
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x43e8a8]
Function at 0x413de0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x74
mov eax, dword [esp + 0x8c]
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 0x413e00
sar esi, 1
lea ebx, [esp + 0x60]
push ebx
push 0
push 0
push esi
push eax
push 0
call dword [0x4440fc]
mov ebp, dword [esp + 0x60]
mov edi, 0xffffffff
test ebp, ebp
jns 0x413e34
mov eax, 0xffffffff
jmp 0x413e3b
lea eax, [ebp*2]
push eax
call fcn.00409510
add esp, 4
push ebx
push ebp
mov ebp, eax
push eax
push esi
push dword [esp + 0x9c]
push 0
call dword [0x4440fc]
mov eax, dword [esp + 0x60]
mov ecx, eax
add ecx, 0xd
js 0x413e6b
lea edi, [eax*2 + 0x1a]
push edi
call fcn.00409510
add esp, 4
mov ebx, eax
mov dword [esp + 0xc], 0xb30eb11c
mov dword [esp + 0x10], 0xb725b515
mov dword [esp + 0x14], 0xab4aa93c
mov dword [esp + 0x18], 0xaf0bad1a
mov dword [esp + 0x1c], 0xa331a132
mov dword [esp + 0x20], 0xa739a53d
mov dword [esp + 0x24], 0x9b9a9906
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x1b
ja 0x413eee
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0xc]
add eax, 0x9cb54748
xor eax, ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x48]
add al, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0xc], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x1c
jb 0x413ec0
movzx ecx, word [ebp]
mov eax, ebx
test cx, cx
je 0x413f11
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 0x413f00
mov word [eax], 0
movzx ecx, word [esp + 0xc]
test cx, cx
je 0x413f41
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 0x413f30
mov word [eax], 0
lea eax, [esp + 8]
push 0x60
push 3
push 0x120089
push eax
push ebx
call fcn.00437e20
add esp, 0x14
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x43eae4]
Function at 0x416620
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov ebx, dword [esp + 0x3c]
mov ebp, 0xfffffffe
cmp word [ebx + ebp + 2], 0
lea ebp, [ebp + 2]
jne 0x416630
sar ebp, 1
lea eax, [esp + 8]
push eax
push 0
push 0
push ebp
push ebx
push 0
call dword [0x4440fc]
mov edi, dword [esp + 8]
test edi, edi
jns 0x41665f
mov eax, 0xffffffff
jmp 0x416662
lea eax, [edi + edi]
push eax
call fcn.00409510
add esp, 4
mov esi, eax
lea eax, [esp + 8]
push eax
push edi
push esi
push ebp
push ebx
push 0
call dword [0x4440fc]
lea ebx, [esp + 0x10]
push ebx
push esi
call fcn.00437fd0
add esp, 8
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x43eddc]