joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402550
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
xor ecx, ecx
push ebx
push esi
push edi
mov esi, 0x7d38
lea edi, [ecx + 0x10]
lea ebx, [ecx + 0x54]
mov eax, 0x94458095
imul esi
add edx, esi
sar edx, 7
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x402566
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4026ce
cmp dword [ebp + 0x10], ecx
jne 0x402594
cmp dword [ebp + 0x18], ecx
je 0x4026ce
mov eax, dword [esi + 0x3c]
add eax, esi
mov dword [ebp - 4], eax
mov eax, 0x1b2
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
test eax, eax
jne 0x4025a1
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x4026ce
mov eax, dword [ebp - 4]
cmp dword [eax], 0x4550
jne 0x4026ce
mov eax, dword [eax + 0x7c]
mov dword [ebp - 8], eax
mov esi, 0x594d
mov eax, 0x95a02569
imul esi
add edx, esi
sar edx, 7
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x4025d6
cmp dword [ebp - 8], ecx
je 0x4026ce
inc ecx
mov eax, ecx
and eax, 0x80000001
jns 0x402603
dec eax
or eax, 0xfffffffe
inc eax
jne 0x402608
add ecx, 2
cmp ecx, 0x26e4
jl 0x4025f4
mov eax, 0x36cc
mov ecx, 0xa0
lea ebx, [ebx]
cmp edi, ecx
cmovl edi, ecx
dec eax
jne 0x402620
mov edi, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov edi, dword [edi + 0x78]
add edi, ecx
mov edx, 0x69
mov eax, dword [edi + 0x20]
add eax, ecx
mov dword [ebp - 4], eax
mov eax, 0x1054
cmp ebx, edx
cmovl ebx, edx
dec eax
jne 0x402645
mov eax, dword [edi + 0x24]
add eax, ecx
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0x1c]
add eax, ecx
mov dword [ebp - 0x10], eax
mov ecx, 0x2611
mov eax, 0x6bca1af3
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x402662
mov eax, dword [ebp + 0x10]
shr eax, 0x10
test eax, eax
je 0x4026ce
mov eax, 0x3430
dec eax
jne 0x402684
mov ecx, 0xec4
lea esp, [esp]
mov eax, 0x634c0635
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x402690
mov ecx, dword [ebp + 0xc]
xor esi, esi
cmp dword [edi + 0x18], esi
jbe 0x4026ce
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + esi*4]
add eax, ecx
push eax
push dword [ebp + 0x10]
call fcn.00403070
add esp, 8
test eax, eax
jne 0x4026d7
mov ecx, dword [ebp + 0xc]
inc esi
cmp esi, dword [edi + 0x18]
jb 0x4026b0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + esi*2]
mov ecx, dword [ecx + eax*4]
add ecx, dword [ebp + 0xc]
cmp ecx, edi
jbe 0x4026f4
mov eax, dword [ebp - 8]
add eax, edi
cmp ecx, eax
jb 0x4026ce
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402e40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor eax, eax
mov esi, 0x7700
xor edi, edi
nop
inc eax
mov ecx, eax
and ecx, 0x80000001
jns 0x402e60
dec ecx
or ecx, 0xfffffffe
inc ecx
jne 0x402e65
add eax, 2
cmp eax, 0x26e4
jl 0x402e50
lea esp, [esp]
mov eax, 0x487ede05
imul esi
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x402e70
mov eax, 0x3430
dec eax
jne 0x402e88
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
sub esi, edx
mov eax, 4
mov ebx, 0x4b5e
lea ecx, [ecx]
mov cl, byte [esi + edx]
cmp edi, ebx
cmovl edi, ebx
xor byte [edx], cl
lea edx, [edx + 1]
dec eax
jne 0x402ea0
mov ebx, dword [ebp + 8]
pop edi
mov eax, dword [ebx]
pop esi
pop ebx
pop ebp
ret

Function at 0x402ec0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [ebp + 8]
push ebx
inc byte [edx + 0x123]
movzx eax, byte [edx + 0x123]
lea ecx, [edx + 0x1d]
add eax, ecx
mov dword [ebp - 4], ecx
movzx ecx, byte [eax]
mov dword [ebp + 8], eax
movzx eax, byte [edx + 1]
push esi
push edi
xor edi, edi
xor esi, esi
add eax, ecx
mov ebx, 0x3f14
mov dword [ebp - 8], eax
mov byte [edx + 1], al
mov ecx, 0x7caf
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x402f01
mov eax, dword [ebp - 8]
movzx eax, al
add eax, dword [ebp - 4]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], eax
call fcn.00403420
add esp, 8
mov edi, edi
inc edi
mov eax, 0x2aaaaaab
imul edi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
add ecx, ecx
mov eax, edi
sub eax, ecx
jne 0x402f4b
inc edi
cmp edi, 0x1a0f
jl 0x402f30
mov ecx, 0x75ba
mov edx, 0xb3
mov eax, 0x23
cmp eax, 0xb3
cmovg eax, edx
dec ecx
jne 0x402f62
mov eax, dword [ebp - 8]
mov cl, byte [eax]
mov eax, dword [ebp + 8]
add cl, byte [eax]
inc esi
mov eax, esi
and eax, 0x80000001
jns 0x402f86
dec eax
or eax, 0xfffffffe
inc eax
jne 0x402f8c
add esi, esi
jmp 0x402f95
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add esi, eax
cmp esi, 0x1c1b
jl 0x402f77
movzx eax, cl
mov ecx, dword [ebp - 4]
mov cl, byte [eax + ecx]
mov eax, 0x42df9bb1
imul ebx
sar edx, 6
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x402fa6
movzx eax, cl
movzx ecx, byte [ebp + 0xc]
pop edi
pop esi
xor eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402610
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
xor eax, eax
test ecx, ecx
je 0x4026f7
test edx, edx
je 0x4026f7
mov ebp, dword [esp + 0x28]
test ebp, ebp
mov dword [esp], ecx
je 0x40265a
xor edi, edi
mov ecx, 0x1505
nop
nop
nop
nop
nop
movzx ebx, byte [edx + edi]
test ebx, ebx
je 0x402661
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, ebx
inc edi
mov ecx, esi
cmp ebp, edi
jne 0x402640
jmp 0x402663
mov esi, 0x1505
jmp 0x402663
mov esi, ecx
mov dword [esp + 8], edx
mov ecx, dword [esp]
mov ebp, dword [ecx + 0x20]
lea ebx, [ebp - 1]
mov edx, ebp
sub edx, 1
jb 0x4026f7
and ebx, esi
mov eax, dword [ecx + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 4], edx
jmp 0x402694
inc ebx
dec ebp
je 0x4026f5
mov eax, ebx
and eax, edx
mov edi, dword [esp + 0x10]
mov edi, dword [edi + eax*4]
cmp edi, 0xffffffff
je 0x4026f5
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x402690
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 0xc], eax
push eax
call fcn.00409500
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x402690
push dword [esp + 0x28]
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.00409530
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x402690
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
jmp 0x4026f7
xor eax, eax
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x402700
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 0x402809
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x402809
push ebx
call fcn.00409500
add esp, 4
test eax, eax
je 0x40275a
xor ebp, ebp
mov ecx, 0x1505
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x402761
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x402740
jmp 0x402763
mov esi, 0x1505
jmp 0x402763
mov esi, ecx
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov edx, ebx
sub edx, 1
jb 0x402809
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
mov dword [esp], edx
jmp 0x402794
inc ebp
dec ebx
je 0x402807
mov eax, ebp
and eax, edx
mov edi, dword [esp + 0xc]
mov edi, dword [edi + eax*4]
cmp edi, 0xffffffff
je 0x402807
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x402790
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 8], eax
push eax
call fcn.00409500
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x402790
push dword [esp + 4]
push dword [esp + 0xc]
push dword [esp + 0x30]
call fcn.00409530
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x402790
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x402807
cmp dword [eax + 4], 2
mov edi, 0
jne 0x402809
mov edi, dword [eax + 8]
jmp 0x402809
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402840
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 0x4028a8
mov esi, dword [esp + 0x30]
test esi, esi
je 0x4028a8
push esi
call fcn.00409500
add esp, 4
test eax, eax
je 0x40288a
xor edi, edi
mov ecx, 0x1505
movzx edx, byte [esi + edi]
test edx, edx
je 0x402891
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
inc edi
mov ecx, ebp
cmp eax, edi
jne 0x402870
jmp 0x402893
mov ebp, 0x1505
jmp 0x402893
mov ebp, ecx
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x2c]
mov edi, dword [ecx + 0x20]
lea ebx, [edi - 1]
mov edx, edi
sub edx, 1
jae 0x4028b4
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 + 0xc], eax
mov dword [esp], edx
jmp 0x4028d4
inc ebx
dec edi
je 0x4028a8
mov eax, ebx
and eax, edx
mov esi, dword [esp + 0xc]
mov esi, dword [esi + eax*4]
cmp esi, 0xffffffff
je 0x4028a8
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebp
jne 0x4028d0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 8], eax
push eax
call fcn.00409500
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x30]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x4028d0
push dword [esp + 4]
push dword [esp + 0xc]
push dword [esp + 0x38]
call fcn.00409530
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x38]
add esp, 0xc
test eax, eax
jne 0x4028d0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x4028a8
cmp dword [eax + 4], 3
jne 0x4028a8
fld qword [eax + 8]
fstp qword [esp + 0x10]
jmp 0x4028a8
Function at 0x402980
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 0x402a89
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x402a89
push ebx
call fcn.00409500
add esp, 4
test eax, eax
je 0x4029da
xor ebp, ebp
mov ecx, 0x1505
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x4029e1
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x4029c0
jmp 0x4029e3
mov esi, 0x1505
jmp 0x4029e3
mov esi, ecx
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov edx, ebx
sub edx, 1
jb 0x402a89
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
mov dword [esp], edx
jmp 0x402a14
inc ebp
dec ebx
je 0x402a87
mov eax, ebp
and eax, edx
mov edi, dword [esp + 0xc]
mov edi, dword [edi + eax*4]
cmp edi, 0xffffffff
je 0x402a87
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x402a10
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 8], eax
push eax
call fcn.00409500
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x402a10
push dword [esp + 4]
push dword [esp + 0xc]
push dword [esp + 0x30]
call fcn.00409530
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x402a10
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x402a87
cmp dword [eax + 4], 5
mov edi, 0
jne 0x402a89
mov edi, dword [eax + 8]
jmp 0x402a89
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402ac0
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 0x402bcc
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x402bcc
push ebx
call fcn.00409500
add esp, 4
test eax, eax
je 0x402b1a
xor ebp, ebp
mov ecx, 0x1505
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x402b21
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x402b00
jmp 0x402b23
mov esi, 0x1505
jmp 0x402b23
mov esi, ecx
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov edx, ebx
sub edx, 1
jb 0x402bcc
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
mov dword [esp], edx
jmp 0x402b54
inc ebp
dec ebx
je 0x402bc7
mov eax, ebp
and eax, edx
mov edi, dword [esp + 0xc]
mov edi, dword [edi + eax*4]
cmp edi, 0xffffffff
je 0x402bc7
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x402b50
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 8], eax
push eax
call fcn.00409500
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x402b50
push dword [esp + 4]
push dword [esp + 0xc]
push dword [esp + 0x30]
call fcn.00409530
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x402b50
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x402bc7
cmp dword [eax + 4], 6
mov edi, 0xffffffff
jne 0x402bcc
mov edi, dword [eax + 8]
jmp 0x402bcc
mov edi, 0xffffffff
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402be0
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.00409580
add esp, 8
test eax, eax
je 0x402c46
mov ebx, eax
jmp 0x402c24
mov edi, ebx
inc edi
push 0x2e
push edi
call fcn.00409580
add esp, 8
mov ebx, eax
test eax, eax
je 0x402c46
mov eax, ebx
sub eax, edi
mov ecx, esi
mov edx, edi
push eax
call fcn.00402610
add esp, 4
xor esi, esi
test eax, eax
je 0x402c10
cmp dword [eax + 4], 4
jne 0x402c10
mov esi, dword [eax + 8]
jmp 0x402c10
xor eax, eax
test esi, esi
je 0x402ca6
test edi, edi
je 0x402ca6
push edi
call fcn.00409500
add esp, 4
test eax, eax
je 0x402c8a
xor ebp, ebp
mov ecx, 0x1505
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [edi + ebp]
test edx, edx
je 0x402c91
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc ebp
mov ecx, ebx
cmp eax, ebp
jne 0x402c70
jmp 0x402c93
mov ebx, 0x1505
jmp 0x402c93
mov ebx, ecx
mov dword [esp + 8], eax
mov ecx, dword [esi + 0x20]
lea ebp, [ecx - 1]
mov edx, ecx
sub edx, 1
jae 0x402cae
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 + 0x14], eax
mov dword [esp + 4], edx
jmp 0x402cc4
inc ebp
dec ecx
je 0x402ca4
mov eax, ebp
and eax, edx
mov esi, dword [esp + 0x14]
mov esi, dword [esi + eax*4]
cmp esi, 0xffffffff
je 0x402ca4
mov eax, dword [esp]
mov eax, dword [eax + 8]
cmp dword [eax + esi*4], ebx
jne 0x402cc0
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 0x10], eax
push eax
mov dword [esp + 0x10], ecx
call fcn.00409500
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x10]
add esp, 4
cmp eax, dword [esp + 8]
jne 0x402cc0
push dword [esp + 8]
push dword [esp + 0x14]
push edi
call fcn.00409530
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
add esp, 0xc
test eax, eax
jne 0x402cc0
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + esi*4]
jmp 0x402ca6
Function at 0x402dd0
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 0x402e3d
mov esi, dword [esp + 0x28]
test esi, esi
je 0x402e3d
push esi
call fcn.00409500
add esp, 4
test eax, eax
je 0x402e1a
xor edi, edi
mov ecx, 0x1505
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x402e21
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x402e00
jmp 0x402e23
mov ebx, 0x1505
jmp 0x402e23
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 0x402e45
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 0x402e54
inc ebp
dec edi
je 0x402e3b
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x402e3b
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebx
jne 0x402e50
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.00409500
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x402e50
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00409530
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x402e50
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + esi*4]
test ecx, ecx
mov eax, 0
je 0x402e3d
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp dword [ecx + 4], edx
sete al
jmp 0x402e3d
Function at 0x403060
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, 0xffffffff
test ecx, ecx
je 0x403168
mov esi, edx
test edx, edx
je 0x403168
mov dword [esp], ecx
cmp dword [esp + 0x2c], 0
je 0x403168
push esi
call fcn.00409500
add esp, 4
test eax, eax
je 0x4030ba
xor edi, edi
mov ecx, 0x1505
movzx edx, byte [esi + edi]
test edx, edx
je 0x4030c1
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
inc edi
mov ecx, ebp
cmp eax, edi
jne 0x4030a0
jmp 0x4030c3
mov ebp, 0x1505
jmp 0x4030c3
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 0x403170
mov edi, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x40312a
call fcn.00403260
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov ecx, dword [esp + 8]
jne 0x403168
push ecx
call fcn.00409500
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 0x4031df
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 edx, dword [ecx + 0x18]
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 0x403188
inc ebx
dec esi
je 0x4030df
mov edi, ebx
and edi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + edi*4]
cmp eax, 0xffffffff
je 0x4030e4
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebp
jne 0x403180
mov ecx, dword [ecx + 0xc]
mov edi, dword [ecx + eax*4]
push edi
call fcn.00409500
mov ecx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x403180
push dword [esp + 4]
push edi
push dword [esp + 0x10]
call fcn.00409530
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x403180
mov eax, 0xffffffff
jmp 0x403168
and ebx, ebp
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
jmp 0x4031f8
inc ebx
dec esi
je 0x403125
mov edi, ebx
and edi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + edi*4]
cmp eax, 0xffffffff
je 0x40312a
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebp
jne 0x4031f0
mov ecx, dword [ecx + 0xc]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x14], eax
push eax
call fcn.00409500
mov ecx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x4031f0
push dword [esp + 4]
push dword [esp + 0x18]
push dword [esp + 0x10]
call fcn.00409530
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x4031f0
jmp 0x40312a
Function at 0x4038d0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov ebp, dword [esp + 0x2c]
test ebp, ebp
je 0x403a66
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
movzx edi, cx
shr ecx, 0x10
test esi, esi
je 0x403a5f
mov edx, 0x5e6ea9af
mov eax, esi
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, esi
sub edx, eax
mov eax, edx
jmp 0x403961
add ebp, dword [esp + 0x10]
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 + 0xc]
mov eax, 0x15b0
je 0x403a5f
xor edx, edx
cmp eax, 8
mov dword [esp + 8], esi
jb 0x4039d5
mov edx, eax
and edx, 0x1ff8
mov dword [esp], edx
mov edx, 7
nop
nop
nop
nop
mov ebx, eax
movzx eax, byte [ebp]
add eax, edi
add ecx, eax
movzx esi, byte [ebp + 1]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + 2]
add eax, esi
add ecx, eax
movzx esi, byte [ebp + 3]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + 4]
add eax, esi
add ecx, eax
movzx esi, byte [ebp + 5]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + 6]
add eax, esi
add ecx, eax
movzx edi, byte [ebp + 7]
add edi, eax
mov eax, ebx
add ecx, edi
add ebp, 8
add edx, 8
cmp edx, ebx
jb 0x403980
mov esi, dword [esp + 8]
mov edx, dword [esp]
mov ebx, eax
sub ebx, edx
mov dword [esp + 0xc], eax
jbe 0x403928
mov dword [esp], edx
not edx
add edx, eax
mov dword [esp + 4], edx
mov edx, eax
and edx, 3
mov dword [esp + 0x10], ebx
je 0x403a14
neg edx
xor eax, eax
mov ebx, ebp
nop
movzx esi, byte [ebx]
inc ebx
add edi, esi
add ecx, edi
dec eax
cmp edx, eax
jne 0x403a00
mov edx, dword [esp]
sub edx, eax
jmp 0x403a19
mov ebx, ebp
mov edx, dword [esp]
mov eax, dword [esp + 4]
cmp eax, 3
jb 0x403920
mov eax, dword [esp + 0xc]
sub eax, edx
xor edx, edx
nop
nop
movzx esi, byte [ebx + edx]
add esi, edi
add ecx, esi
movzx edi, byte [ebx + edx + 1]
add edi, esi
add ecx, edi
movzx esi, byte [ebx + edx + 2]
add esi, edi
add ecx, esi
movzx edi, byte [ebx + edx + 3]
add edi, esi
add ecx, edi
add edx, 4
cmp eax, edx
jne 0x403a30
jmp 0x403920
shl ecx, 0x10
or ecx, edi
jmp 0x403a6b
mov ecx, 1
mov eax, ecx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x403a80
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x403ad8
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
test edx, edx
je 0x403ada
not eax
xor esi, esi
nop
nop
nop
nop
movzx edi, byte [ecx + esi]
mov ebx, eax
shr ebx, 4
mov ebp, eax
and ebp, edi
or eax, edi
xor eax, ebp
and eax, 0xf
xor ebx, dword [eax*4 + 0x43ea18]
mov eax, ebx
shr eax, 4
and ebx, 0xf
shr edi, 4
xor edi, ebx
xor eax, dword [edi*4 + 0x43ea18]
inc esi
cmp edx, esi
jne 0x403aa0
not eax
jmp 0x403ada
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x409980
Capabilities:
Terminate process

Disassembly:
sub esp, 0x124
call fcn.00439340
test al, 1
jne 0x409994
jmp 0x409a6b
call fcn.00431c80
test al, 1
jne 0x4099a2
jmp 0x409a64
xor eax, eax
mov dword [esp], 0
mov dword [esp + 4], 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
sub esp, 8
cmp eax, 0
setge al
test al, 1
jne 0x4099cb
jmp 0x409a62
xor eax, eax
mov dword [esp], 0
mov dword [esp + 4], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 3
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
sub esp, 0x24
jmp 0x409a1f
cmp eax, 0
setge al
jmp 0x409a27
test al, 1
jne 0x409a2d
jmp 0x409a5c
call fcn.0040ab80
test al, 1
jne 0x409a38
jmp 0x409a5a
lea eax, [esp + 0x24]
lea ecx, str.system_or_character_via_spellings_glyphs_a_is_uses_that_in_their_modified_other_on_often_reflection_or_resemblance_on_it_leetspeak__used_similarity_internet._play_eleet_the_of_the_replacements_of_primarily_ways
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409a80
call fcn.0040fcb0
call fcn.0040c950
jmp 0x409a5a
jmp 0x409a5c
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x409a64
call fcn.00439c00
jmp 0x409a6b
xor eax, eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]