joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402b20
Capabilities:
Compute adler32 checksum
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x402cd6
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
movzx edi, cx
shr ecx, 0x10
test esi, esi
je 0x402ccf
mov edx, 0x5e6ea9af
mov eax, esi
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov ebp, esi
sub ebp, eax
jmp 0x402bc0
mov ebp, dword [esp + 4]
mov eax, ebp
sub eax, dword [esp]
add ebx, eax
mov esi, dword [esp + 8]
mov eax, edi
mov edx, 0x80078071
mul edx
shr edx, 0xf
imul eax, edx, 0xfff1
sub edi, eax
mov eax, ecx
mov edx, 0x80078071
mul edx
shr edx, 0xf
imul eax, edx, 0xfff1
sub ecx, eax
mov eax, ebp
xor eax, esi
not ebp
and ebp, esi
add ebp, ebp
mov esi, ebp
mov ebp, 0x15b0
sub esi, eax
je 0x402ccf
xor eax, eax
cmp ebp, 8
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
jb 0x402c40
and ebp, 0x1ff8
mov dword [esp], ebp
xor edx, edx
nop
nop
nop
nop
nop
nop
mov eax, edx
movzx edx, byte [ebx + edx]
add edx, edi
add ecx, edx
movzx esi, byte [ebx + eax + 1]
add esi, edx
add ecx, esi
movzx edx, byte [ebx + eax + 2]
add edx, esi
add ecx, edx
movzx esi, byte [ebx + eax + 3]
add esi, edx
add ecx, esi
movzx edx, byte [ebx + eax + 4]
add edx, esi
add ecx, edx
movzx esi, byte [ebx + eax + 5]
add esi, edx
add ecx, esi
movzx edx, byte [ebx + eax + 6]
add edx, esi
mov ebp, dword [esp + 4]
add ecx, edx
movzx edi, byte [ebx + eax + 7]
add edi, edx
add ecx, edi
lea edx, [eax + 8]
add eax, 0xf
cmp eax, ebp
jb 0x402be0
add ebx, edx
mov eax, dword [esp]
mov esi, dword [esp + 8]
mov edx, eax
sub edx, ebp
jae 0x402b7f
mov dword [esp + 0xc], edx
and ebp, 3
mov dword [esp], eax
je 0x402c7f
neg ebp
xor eax, eax
mov edx, ebx
nop
nop
nop
nop
movzx esi, byte [edx]
inc edx
add edi, esi
add ecx, edi
dec eax
cmp ebp, eax
jne 0x402c60
mov ebp, dword [esp]
sub ebp, eax
cmp dword [esp + 0xc], 0xfffffffc
ja 0x402b70
jmp 0x402c8e
mov ebp, eax
mov edx, ebx
cmp dword [esp + 0xc], 0xfffffffc
ja 0x402b70
mov eax, dword [esp + 4]
sub eax, ebp
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [edx + ebp]
add esi, edi
add ecx, esi
movzx edi, byte [edx + ebp + 1]
add edi, esi
add ecx, edi
movzx esi, byte [edx + ebp + 2]
add esi, edi
add ecx, esi
movzx edi, byte [edx + ebp + 3]
add edi, esi
add ecx, edi
add ebp, 4
cmp eax, ebp
jne 0x402ca0
jmp 0x402b70
shl ecx, 0x10
or ecx, edi
jmp 0x402cdb
mov ecx, 1
mov eax, ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402cf0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x402d1e
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
test ebx, ebx
je 0x402dbc
not eax
test bl, 1
jne 0x402d25
mov edx, ebx
cmp ebx, 1
jne 0x402d56
jmp 0x402dba
xor eax, eax
jmp 0x402dbc
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 + 0x43e80c]
inc ecx
mov eax, edi
shr eax, 4
and edi, 0xf
shr esi, 4
xor esi, edi
xor eax, dword [esi*4 + 0x43e80c]
cmp ebx, 1
je 0x402dba
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 + 0x43e80c]
mov eax, ebx
shr eax, 4
and ebx, 0xf
shr edi, 4
xor edi, ebx
xor eax, dword [edi*4 + 0x43e80c]
movzx edi, byte [ecx + esi + 1]
mov ebx, eax
shr ebx, 4
xor eax, edi
and eax, 0xf
xor ebx, dword [eax*4 + 0x43e80c]
mov eax, ebx
shr eax, 4
and ebx, 0xf
shr edi, 4
xor edi, ebx
xor eax, dword [edi*4 + 0x43e80c]
add esi, 2
cmp edx, esi
jne 0x402d60
not eax
pop esi
pop edi
pop ebx
ret
Function at 0x4089b0
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 0x408a1c
mov edi, edx
cmp dword [esp + 0x18], 0
je 0x4089fe
cmp ebx, 1
adc ebx, 0
cmp ebx, eax
jae 0x408a00
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, ebx
and edx, 0xfffffffd
mov ebp, ebx
and ebp, 2
or ebx, 2
imul ebx, ebp
xor ebp, 2
imul ebp, edx
add ebx, ebp
cmp ebx, eax
jb 0x4089e0
jmp 0x408a00
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 0x408a1a
mov dword [edi], eax
mov dword [edi + 8], ebx
jmp 0x408a1c
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4090a0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov ecx, dword [esp + 4]
mov dword [0x446f20], ecx
mov eax, 0xfffffd92
nop
mov edx, ecx
shr edx, 0x1e
xor edx, ecx
imul ecx, edx, 0x6c078965
add ecx, eax
add ecx, 0x26f
mov dword [eax*4 + 0x4478dc], ecx
test eax, eax
je 0x4090f1
mov edx, ecx
shr edx, 0x1e
xor edx, ecx
imul ecx, edx, 0x6c078965
add ecx, eax
add ecx, 0x270
mov dword [eax*4 + 0x4478e0], ecx
add eax, 2
jmp 0x4090b0
mov dword [0x446f1c], 0x270
ret

Function at 0x409100
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov eax, dword [0x446f1c]
cmp eax, 0x270
jne 0x40915f
mov eax, 0xfffff640
mov esi, dword [0x446f20]
nop
nop
nop
nop
nop
nop
nop
nop
and esi, 0x80000000
mov edx, dword [eax + 0x4478e4]
mov ecx, edx
and ecx, 0x7ffffffe
or ecx, esi
shr ecx, 1
mov esi, edx
and edx, 1
neg edx
xor ecx, dword [eax + 0x447f14]
and edx, 0x9908b0df
xor ecx, edx
mov dword [eax + 0x4482a0], ecx
add eax, 4
jne 0x409120
mov eax, 0x270
jmp 0x409175
cmp eax, 0x4e0
jb 0x409175
mov ecx, 0x446f1c
call fcn.00409500
mov eax, dword [0x446f1c]
lea ecx, [eax + 1]
mov dword [0x446f1c], ecx
mov eax, dword [eax*4 + 0x446f20]
mov ecx, eax
shr ecx, 0xb
and ecx, dword [0x4482a0]
xor ecx, eax
mov eax, ecx
shl eax, 7
and eax, 0x9d2c5680
xor eax, ecx
mov ecx, eax
shl ecx, 0xf
and ecx, 0xefc40000
xor ecx, eax
shr ecx, 0x12
and eax, 0x7fff
xor eax, ecx
pop esi
ret
Function at 0x409500
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
push ebx
push edi
push esi
mov edx, dword [ecx + 0x9c4]
mov eax, 0x3fe
jmp 0x40953c
shr esi, 1
xor esi, dword [ecx + eax*4]
xor esi, edi
xor esi, 0xb4a07636
mov dword [ecx + eax*4 - 0xff4], esi
inc eax
cmp eax, 0x4e1
je 0x409577
mov edi, edx
and edi, 0x80000000
mov edx, dword [ecx + eax*4 - 0x630]
lea ebx, [edx - 0x80000000]
mov esi, edx
or esi, 0x7fffffff
and esi, ebx
or esi, edi
mov ebx, esi
xor ebx, 0xfffffffe
mov ebp, esi
or ebp, 1
mov edi, 0xb4a07636
test ebp, ebx
je 0x409520
mov edi, 0x2da8c6e9
jmp 0x409520
mov edx, dword [ecx + 0xd50]
mov eax, 0x355
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, edx
not esi
or esi, 0x80000000
lea edi, [edx + esi]
inc edi
mov edx, dword [ecx + eax*4]
mov esi, edx
and esi, 0x7fffffff
or esi, edi
mov edi, esi
shr edi, 1
and esi, 1
neg esi
and esi, 0x9908b0df
mov ebx, esi
and ebx, edi
add esi, edi
add ebx, ebx
sub esi, ebx
xor esi, dword [ecx + eax*4 - 0xd50]
mov dword [ecx + eax*4 - 0x9c4], esi
inc eax
cmp eax, 0x4e1
jne 0x409590
mov esi, SysReAllocString
and esi, dword [ecx + 0x1380]
mov eax, dword [ecx + 4]
mov edx, eax
and edx, 0x7ffffffe
or edx, esi
and eax, 1
neg eax
and eax, 0x9908b0df
xor eax, dword [ecx + 0x634]
shr edx, 1
xor eax, edx
mov dword [ecx + 0x9c0], eax
mov dword [ecx], 0
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40ba10
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, 0x140
mov esi, esp
mov eax, dword [ebp + 8]
mov dword [esi + 0x12c], 0
mov dword [esi + 0x128], 0
mov dword [esi + 0x120], 0
mov dword [esi + 0x11c], 0
mov dword [esi + 0x118], 0
mov dword [esi + 0x114], 0
mov dword [esi + 0x110], 0
mov dword [esi + 0x10c], 0
mov dword [esi + 0x104], 0
mov dword [esi + 0x100], 0
mov dword [esi + 0xfc], 0
mov dword [esi + 0xf8], 0
mov dword [esi + 0xf4], 0x3c
mov dword [esi + 0x108], 0xffffffff
mov dword [esi + 0x124], 0xffffffff
mov edx, 0xfffffffe
mov ecx, dword [0x4482dc]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + edx + 2], 0
lea edx, [edx + 2]
jne case.default.0x40baf1
sar edx, 1
lea edi, [esi + 0xf4]
push edi
push 0
push edx
push eax
call ecx
xor ecx, ecx
test eax, eax
setne cl
jmp dword [ecx*4 + 0x441f9c]
xor eax, eax
jmp 0x40c24f
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40c290
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x440
mov dword [esp + 0x40], 0x61f767d3
mov dword [esp + 0x44], 0x5df963ea
mov dword [esp + 0x48], 0x59ca5fc8
mov dword [esp + 0x4c], 0x558b5bfb
mov dword [esp + 0x50], 0x5180579b
mov dword [esp + 0x54], 0x4db25380
mov dword [esp + 0x58], 0x49e74f94
mov dword [esp + 0x5c], 0x45dc4bd3
mov dword [esp + 0x60], 0x41d747d8
mov dword [esp + 0x64], 0x3dcf43c9
mov dword [esp + 0x68], 0x39883fdc
mov dword [esp + 0x6c], 0x35da3b94
mov dword [esp + 0x70], 0x31e637e7
mov dword [esp + 0x74], 0x2de233e6
mov dword [esp + 0x78], 0x29ce2fe9
mov dword [esp + 0x7c], 0x25b12b81
mov dword [esp + 0x80], 0x21e827b2
mov dword [esp + 0x84], 0x1de723ec
mov dword [esp + 0x88], 0x19961ffc
mov dword [esp + 0x8c], 0x15d61bd6
mov dword [esp + 0x90], 0x11f617cf
mov dword [esp + 0x94], 0xd8213d3
mov dword [esp + 0x98], 0x99a0f9c
mov dword [esp + 0x9c], 0x5a30b97
mov dword [esp + 0xa0], 0x1a4079b
mov dword [esp + 0xa4], 0xfd9903b5
mov dword [esp + 0xa8], 0xf92fff70
mov dword [esp + 0xac], 0xf537fb37
mov dword [esp + 0xb0], 0xf120f73d
mov dword [esp + 0xb4], 0xed3cf33d
mov dword [esp + 0xb8], 0xe936ef0c
mov dword [esp + 0xbc], 0xe552eb5d
mov dword [esp + 0xc0], 0xe151e748
mov dword [esp + 0xc4], 0xdd36e354
mov dword [esp + 0xc8], 0xd94adf3c
mov dword [esp + 0xcc], 0xd54fdb43
mov dword [esp + 0xd0], 0xd136d74b
mov dword [esp + 0xd4], 0xcd4dd369
mov dword [esp + 0xd8], 0xc95bcf51
mov dword [esp + 0xdc], 0xc511cb59
mov dword [esp + 0xe0], 0xc17bc724
mov dword [esp + 0xe4], 0xbd50c358
mov dword [esp + 0xe8], 0xb929bf2d
mov dword [esp + 0xec], 0xb56bbb27
mov dword [esp + 0xf0], 0xb165b767
mov dword [esp + 0xf4], 0xad64b37b
mov dword [esp + 0xf8], 0xa978af7c
mov dword [esp + 0xfc], 0xa57cab78
mov dword [esp + 0x100], 0xa146a774
mov dword [esp + 0x104], 0x9d01a30d
mov dword [esp + 0x108], 0x993d9f02
mov dword [esp + 0x10c], 0x95019b0a
mov dword [esp + 0x110], 0x91599745
mov dword [esp + 0x114], 0x8d5b935d
mov dword [esp + 0x118], 0x89438f5a
mov dword [esp + 0x11c], 0x858a8b46
mov word [esp + 0x120], 0
mov eax, dword [0x4482d0]
lea ecx, [esp + 0x40]
xor edx, edx
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
mov ebp, edx
and ebp, 0xce
mov ebx, esi
xor ebx, 0x18
sub ebx, ebp
inc bl
xor bl, byte [ecx]
add bl, 0x83
mov byte [ecx], bl
inc ecx
dec esi
add edx, 0xfffffffe
cmp esi, 0xffffff1e
jne 0x40c4f0
lea ebp, [esp + 0x40]
push 0
push 0
push 0
push 0
push ebp
call eax
xor ecx, ecx
test eax, eax
setne cl
mov edx, dword [ecx*4 + 0x44202c]
mov ecx, 0xa53545cd
xor ecx, dword [0x442034]
add ecx, edx
inc ecx
jmp ecx
Function at 0x40cb00
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x23c
mov dword [esp + 0x3c], 0xb725897d
mov dword [esp + 0x40], 0xb35bb532
mov dword [esp + 0x44], 0xbf2ab124
mov dword [esp + 0x48], 0xbb69bd5d
mov dword [esp + 0x4c], 0xa774b965
mov dword [esp + 0x50], 0xa382a574
mov dword [esp + 0x54], 0xaf55a188
mov dword [esp + 0x58], 0xab38ad45
mov dword [esp + 0x5c], 0x57c5a944
mov dword [esp + 0x60], 0x53cd55cf
mov dword [esp + 0x64], 0x5fac5170
mov dword [esp + 0x68], 0x5b7a5da0
mov dword [esp + 0x6c], 0x47965989
mov dword [esp + 0x70], 0x43924596
mov dword [esp + 0x74], 0x4f6e4187
mov dword [esp + 0x78], 0x4ba34db7
mov dword [esp + 0x7c], 0x77ac49da
mov dword [esp + 0x80], 0x73b575a8
mov dword [esp + 0x84], 0x7fe67150
mov dword [esp + 0x88], 0x7ba67da6
mov dword [esp + 0x8c], 0x67467951
mov dword [esp + 0x90], 0x63f265a5
mov dword [esp + 0x94], 0x6ffa61f0
mov dword [esp + 0x98], 0x6b916d81
mov dword [esp + 0x9c], 0x17f86985
mov dword [esp + 0xa0], 0x13fb15e3
mov dword [esp + 0xa4], 0x1fcd118c
mov dword [esp + 0xa8], 0x1bc51dc1
mov dword [esp + 0xac], 0x7d419c3
mov dword [esp + 0xb0], 0x3d805db
mov dword [esp + 0xb4], 0xf260120
mov dword [esp + 0xb8], 0xbc20dfb
mov dword [esp + 0xbc], 0x37c309f4
mov dword [esp + 0xc0], 0x33e635c0
mov dword [esp + 0xc4], 0x3faa3110
mov dword [esp + 0xc8], 0x3bad3dd5
mov dword [esp + 0xcc], 0x270639d5
mov dword [esp + 0xd0], 0x23cf25ef
mov dword [esp + 0xd4], 0x2fb921cf
mov dword [esp + 0xd8], 0x2b032dbf
mov dword [esp + 0xdc], 0xd7192908
mov dword [esp + 0xe0], 0xd34cd53c
mov dword [esp + 0xe4], 0xdf4bd143
mov dword [esp + 0xe8], 0xdb09dd31
mov dword [esp + 0xec], 0xc717d909
mov dword [esp + 0xf0], 0xc310c51d
mov dword [esp + 0xf4], 0xcf1cc110
mov dword [esp + 0xf8], 0xcb18cd1c
mov dword [esp + 0xfc], 0xf7d6c918
mov dword [esp + 0x100], 0xf313f50b
mov dword [esp + 0x104], 0xff1ff11a
mov dword [esp + 0x108], 0xfb13fd62
mov dword [esp + 0x10c], 0xe73bf92b
mov dword [esp + 0x110], 0xe339e53b
mov dword [esp + 0x114], 0xef31e132
mov dword [esp + 0x118], 0xebeaed36
mov byte [esp + 0x11c], 0
mov eax, dword [0x4482d0]
mov dword [esp + 0x38], eax
mov eax, 0x8f315bde
mov edx, 0x70cea421
mov edi, 0xf315bdf
xor esi, esi
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp], esi
mov dword [esp + 4], edi
movzx ebp, byte [esp + eax + 0x70cea45e]
mov ecx, eax
and ecx, ebp
add ecx, ecx
sub ecx, ebp
add ecx, edx
or ecx, edx
mov esi, dword [esp]
lea esi, [esi + ecx*2]
add esi, edx
add esi, 0x1e62b7bf
xor esi, ebp
add ecx, edi
add ecx, ecx
neg ecx
lea edi, [ebx + ecx]
add edi, 0xdd
and edi, ebp
add edi, edi
sub edi, esi
mov esi, edi
and esi, 0x56
mov ecx, edi
xor ecx, 0xa9
add ecx, edi
sub ecx, esi
mov esi, dword [esp]
and edi, 0xa9
add ecx, edi
mov edi, dword [esp + 4]
inc cl
mov byte [esp + eax + 0x70cea45e], cl
inc ebx
inc eax
dec edx
inc edi
add esi, 2
cmp eax, 0x8f315cbf
jne 0x40cd70
lea edi, [esp + 0x3c]
push 0
push 0
push 0
push 0
push edi
call dword [esp + 0x4c]
xor ecx, ecx
test eax, eax
setne cl
mov edx, dword [ecx*4 + 0x4421b4]
mov ecx, 0x7716f657
xor ecx, dword [0x4421bc]
add ecx, edx
inc ecx
jmp ecx
Function at 0x413c30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push eax
mov eax, esp
mov ebx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ecx + ebx + 2], 0
lea ebx, [ebx + 2]
jne 0x413c50
mov dword [ebp - 0x14], eax
mov esi, dword [edx + 4]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + eax + 2], 0
lea eax, [eax + 2]
jne 0x413c70
sar ebx, 1
sar eax, 1
add eax, ebx
inc eax
mov ecx, eax
xor ecx, 1
and eax, 1
lea eax, [ecx + eax*2]
test eax, eax
jns 0x413c98
mov eax, 0xffffffff
jmp 0x413c9a
add eax, eax
push eax
call fcn.00408a60
add esp, 4
mov edi, eax
movzx ecx, word [esi]
test cx, cx
mov edx, dword [ebp + 0x10]
je 0x413cd1
add esi, 2
mov eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [esi]
add esi, 2
test cx, cx
jne 0x413cc0
mov word [eax], 0x5c
add eax, 2
movzx ecx, word [edx]
test cx, cx
je 0x413d01
add edx, 2
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 0x413cf0
mov word [eax], 0
lea eax, [ebp - 0x18]
push 0x60
push 3
push 0x120089
push eax
push edi
call fcn.0043c6e0
add esp, 0x14
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x4425ac]
Function at 0x413fa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
mov eax, 0x11c0
call fcn.00408a30
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov esi, 0xfffffffe
nop
nop
cmp word [eax + esi + 2], 0
lea esi, [esi + 2]
jne 0x413fc0
sar esi, 1
lea ecx, [esp + 0x34]
push ecx
push 0
push 0
push esi
push eax
push 0
call dword [0x44961c]
mov ebx, dword [esp + 0x34]
mov edi, 0xffffffff
test ebx, ebx
jns 0x413ff4
mov eax, 0xffffffff
jmp 0x413ff7
lea eax, [ebx + ebx]
push eax
call fcn.00408a60
add esp, 4
lea ecx, [esp + 0x34]
push ecx
push ebx
mov dword [esp + 0x28], eax
push eax
push esi
mov eax, dword [ebp + 0xc]
push dword [eax + 4]
push 0
call dword [0x44961c]
mov eax, dword [esp + 0x34]
mov ecx, eax
add ecx, 0xd
js 0x41402c
lea edi, [eax*2 + 0x1a]
push edi
call fcn.00408a60
add esp, 4
mov edi, eax
mov dword [esp + 0x1bc], 0x59065be8
mov dword [esp + 0x1c0], 0x5deb5fff
mov dword [esp + 0x1c4], 0x513253e8
mov dword [esp + 0x1c8], 0x55ed57fa
mov dword [esp + 0x1cc], 0xa91fabe2
mov dword [esp + 0x1d0], 0xad1faf17
mov dword [esp + 0x1d4], 0xa1a2a31e
mov word [esp + 0x1d8], 0
mov byte [esp + 0x1da], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0xef
xor cl, byte [esp + eax + 0x1bc]
add cl, 0x55
mov byte [esp + eax + 0x1bc], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
add eax, 0xb6ef7b90
mov ecx, eax
and ecx, 0x70
xor eax, 0x49108470
lea eax, [eax + ecx*2]
cmp eax, 0x1f
jb 0x4140a0
mov eax, dword [esp + 0x20]
movzx ecx, word [eax]
mov eax, edi
test cx, cx
je 0x414101
mov eax, dword [esp + 0x20]
lea edx, [eax + 2]
mov eax, edi
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x4140f0
mov word [eax], 0
movzx ecx, word [esp + 0x1bc]
test cx, cx
je 0x414131
lea edx, [esp + 0x1be]
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x414120
mov word [eax], 0
lea eax, [esp + 0xa0]
push 0x60
push 3
push 0x120089
push eax
push edi
call fcn.0043c6e0
add esp, 0x14
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x442a08]
Function at 0x418d80
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x64
mov eax, dword [esp + 0x7c]
mov edi, dword [eax + 4]
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
cmp word [edi + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x418da0
mov eax, dword [esp + 0x80]
mov esi, dword [eax + 4]
mov edx, 0xfffffffe
nop
nop
nop
nop
mov eax, edx
cmp word [esi + edx + 2], 0
lea edx, [edx + 2]
jne 0x418dc0
mov ebx, ecx
sar ebx, 1
sar edx, 1
lea eax, [ebx + edx]
add eax, 0x1b
test eax, eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], ebx
jns 0x418df0
mov eax, 0xffffffff
jmp 0x418dfa
lea eax, [ebx + edx]
lea eax, [eax*2 + 0x36]
push eax
call fcn.00408a60
add esp, 4
mov dword [esp], eax
mov dword [esp + 0x10], 0x71a27fd0
mov dword [esp + 0x14], 0x75d773c1
mov dword [esp + 0x18], 0x49ca77d7
mov dword [esp + 0x1c], 0x4d8d4ba8
mov dword [esp + 0x20], 0x41fa4fc4
mov dword [esp + 0x24], 0x45fc43e7
mov dword [esp + 0x28], 0x59fd47f1
mov dword [esp + 0x2c], 0x5de45be9
mov dword [esp + 0x30], 0x518b5fbc
mov dword [esp + 0x34], 0x55e653f7
mov dword [esp + 0x38], 0x29ed57e0
mov dword [esp + 0x3c], 0x2d932b96
mov dword [esp + 0x40], 0x21822f99
mov word [esp + 0x44], 0x2320
mov dword [esp + 0x46], 0
mov byte [esp + 0x4a], 0
mov eax, 0x15
mov ecx, 0xea
nop
nop
nop
nop
movzx ebx, byte [esp + eax - 5]
mov edx, eax
xor edx, ecx
and edx, ebx
xor edx, ecx
mov bl, 0x96
sub bl, dl
mov byte [esp + eax - 5], bl
inc eax
dec ecx
cmp eax, 0x50
jne 0x418e90
movzx ecx, word [edi]
mov eax, dword [esp]
test cx, cx
je 0x418ed1
add edi, 2
mov eax, dword [esp]
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edi]
add edi, 2
test cx, cx
jne 0x418ec0
mov word [eax], 0
movzx ecx, word [esp + 0x10]
test cx, cx
je 0x418f03
lea edx, [esp + 0x12]
mov edi, dword [esp + 0x7c]
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 0x418ef0
jmp 0x418f07
mov edi, dword [esp + 0x7c]
mov word [eax], 0
movzx ecx, word [esi]
test cx, cx
je 0x418f31
add esi, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [esi]
add esi, 2
test cx, cx
jne 0x418f20
mov word [eax], 0
mov ebp, dword [edi]
mov eax, 0xfffffffe
nop
nop
nop
cmp word [ebp + eax + 2], 0
lea eax, [eax + 2]
jne 0x418f40
sar eax, 1
mov ebx, dword [edi + 8]
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebx + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x418f60
sar ecx, 1
add eax, ecx
inc eax
mov ecx, eax
and ecx, 0xc
xor eax, 0xc
lea edx, [eax + ecx*2]
mov dword [esp + 0x54], edx
mov eax, dword [esp + 0x80]
mov esi, dword [eax]
mov ecx, 0xfffffffe
nop
nop
nop
mov eax, ecx
cmp word [esi + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x418f90
sar ecx, 1
mov dword [esp + 0x50], ecx
jmp dword [0x442e64]
Function at 0x420a10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
movzx ecx, word [esi]
mov eax, ebp
test cx, cx
je 0x420b52
mov edx, dword [esp + 0x18]
mov eax, ebp
dec edx
je 0x420b52
mov eax, ebp
nop
nop
nop
nop
nop
nop
nop
movzx ebx, cx
lea edi, [esi + 2]
cmp bx, 0x7f
ja 0x420a60
mov byte [eax], bl
lea ecx, [eax + 1]
jmp 0x420af0
cmp ebx, 0x7ff
ja 0x420a90
cmp edx, 2
jb 0x420a90
mov ecx, ebx
shr ecx, 6
add cl, 0xc0
mov byte [eax], cl
and bl, 0x3f
or bl, 0x80
lea ecx, [eax + 2]
mov byte [eax + 1], bl
jmp 0x420af0
mov ecx, ebx
and ecx, 0xfc00
cmp ecx, 0xd800
jne 0x420b14
cmp edx, 4
jb 0x420b14
movzx ecx, word [esi + 2]
shl ebx, 0xa
lea edi, [ebx + ecx]
add edi, 0xfca02400
mov ebx, edi
shr ebx, 0x12
add bl, 0xf0
mov byte [eax], bl
mov ebx, edi
shr ebx, 0xc
and bl, 0x3f
or bl, 0x80
mov byte [eax + 1], bl
shr edi, 6
mov ebx, edi
not ebx
or ebx, 0x3f
add ebx, edi
add bl, 0x81
mov byte [eax + 2], bl
and cl, 0x3f
or cl, 0x80
mov byte [eax + 3], cl
lea ecx, [eax + 4]
add esi, 4
mov edi, esi
mov esi, ecx
xor esi, eax
not eax
and eax, ecx
add eax, eax
add edx, esi
sub edx, eax
mov esi, edi
mov eax, ecx
movzx ecx, word [esi]
test cx, cx
je 0x420b52
test edx, edx
jne 0x420a40
jmp 0x420b52
movzx ecx, cx
cmp ecx, 0xdc00
jne 0x420b23
mov esi, edi
jmp 0x420b02
cmp edx, 3
jb 0x420b4e
mov ecx, ebx
shr ecx, 0xc
or cl, 0xe0
mov byte [eax], cl
mov ecx, ebx
shr ecx, 6
and cl, 0x3f
or cl, 0x80
mov byte [eax + 1], cl
and bl, 0x3f
or bl, 0x80
lea ecx, [eax + 3]
mov byte [eax + 2], bl
jmp 0x420af0
mov ecx, eax
jmp 0x420af0
mov byte [eax], 0
sub eax, ebp
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x424365
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc8
mov dword [esp + 0x2c], 0x37f73905
mov dword [esp + 0x30], 0x33c235c4
mov dword [esp + 0x34], 0xcf2f31ec
mov dword [esp + 0x38], 0xcb2bcd40
mov dword [esp + 0x3c], 0xc722c9f5
mov dword [esp + 0x40], 0xc331c516
mov dword [esp + 0x44], 0xdf23c14c
mov dword [esp + 0x48], 0xdb3bdd2c
mov dword [esp + 0x4c], 0xd7e1d924
mov dword [esp + 0x50], 0xd336d5e3
mov dword [esp + 0x54], 0xef13d15f
mov dword [esp + 0x58], 0xeb65ed63
mov dword [esp + 0x5c], 0xe715e911
mov dword [esp + 0x60], 0xe3d0e516
mov dword [esp + 0x64], 0xff0be168
mov dword [esp + 0x68], 0xfbfafd08
lea eax, [esp + 0x6c]
mov word [esp + 0x6c], 0
mov ecx, 0x37728af6
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + ecx - 0x37728aca]
xor edx, ecx
add edx, 0xeac34931
mov esi, edx
and esi, 1
xor edx, 1
lea edx, [edx + esi*2]
mov byte [esp + ecx - 0x37728aca], dl
inc ecx
cmp ecx, 0x37728b38
jne 0x4243c0
lea ebx, [esp + 0x88]
lea edx, [esp + 0x2c]
mov edi, ebx
mov ecx, 0x10
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0xc8]
xor ecx, ecx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
lea esi, [esp + 0x84]
push esi
push 0
push 0
push 0x1f
push ebx
push 0
call dword [0x44961c]
mov edi, dword [esp + 0x84]
test edi, edi
jns 0x42443a
mov eax, 0xffffffff
jmp 0x42443d
lea eax, [edi + edi]
push eax
call fcn.00408a60
add esp, 4
mov ebp, eax
push esi
push edi
push eax
push 0x1f
push ebx
push 0
call dword [0x44961c]
lea eax, [esp + 0x28]
push 0x60
push 3
push 0x120089
push eax
push ebp
call fcn.0043c6e0
add esp, 0x14
not eax
shr eax, 0x1f
lea ebx, [esp + 0x2c]
jmp dword [eax*4 + 0x444024]