joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f46c
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42d518]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00417095
mov dword [ebp - 0x14], eax
cmp dword [0x433eb8], edi
jne 0x41f55d
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x41f4ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x41f63d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41f63d
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41f63d
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x433eb8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x433ebc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x433ec0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x433ec8], eax
test eax, eax
je 0x41f55a
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x433ec4], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x41f582
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41f575
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x41f597
push 4
pop eax
jmp 0x41f63f
cmp dword [ebp - 0x14], edi
je 0x41f597
push dword [0x433eb8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41f57c
mov eax, dword [0x433ec4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x41f5f5
cmp dword [0x433ec8], esi
je 0x41f5f5
push eax
call ebx
push dword [0x433ec8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x41f5f5
test eax, eax
je 0x41f5f5
call ecx
test eax, eax
je 0x41f5ea
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x41f5ea
test byte [ebp - 8], 1
jne 0x41f5f5
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x41f625
mov eax, dword [0x433ebc]
cmp eax, esi
je 0x41f622
push eax
call ebx
test eax, eax
je 0x41f622
call eax
mov edi, eax
test edi, edi
je 0x41f622
mov eax, dword [0x433ec0]
cmp eax, esi
je 0x41f622
push eax
call ebx
test eax, eax
je 0x41f622
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x433eb8]
call ebx
test eax, eax
je 0x41f63d
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x41f63f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040cf20
leave
ret
Function at 0x402390
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
xor eax, eax
cmp dword [esp + 0x20], 0
je 0x402460
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x402460
mov ebp, dword [esp + 0x28]
mov esi, 0x1505
test ebp, ebp
je 0x4023dd
xor edi, edi
nop
movzx ecx, byte [ebx + edi]
test ecx, ecx
je 0x4023dd
mov edx, esi
shl edx, 5
add edx, esi
mov esi, edx
and esi, ecx
xor edx, ecx
lea esi, [edx + esi*2]
inc edi
cmp ebp, edi
jne 0x4023c0
mov ecx, dword [esp + 0x20]
mov ebx, dword [ecx + 0x20]
lea edi, [ebx - 1]
mov edx, ebx
sub edx, 1
mov dword [esp + 8], edx
jb 0x402460
and edi, esi
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x402404
inc edi
dec ebx
je 0x40245e
mov eax, edi
and eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov ebp, dword [edx + eax*4]
cmp ebp, 0xffffffff
je 0x40245e
mov eax, dword [ecx + 8]
cmp dword [eax + ebp*4], esi
jne 0x402400
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + ebp*4]
mov dword [esp], eax
push eax
call fcn.00409da0
mov ecx, dword [esp + 0x24]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x402400
push dword [esp + 0x28]
push dword [esp + 4]
push dword [esp + 0x2c]
call fcn.00409dc0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
jne 0x402400
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + ebp*4]
jmp 0x402460
xor eax, eax
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4031b0
Capabilities:
Compute adler32 checksum
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x403346
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
movzx edi, cx
shr ecx, 0x10
test esi, esi
je 0x40333f
mov edx, 0x5e6ea9af
mov eax, esi
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, esi
sub edx, eax
jmp 0x403245
mov eax, dword [esp]
sub eax, dword [esp + 0xc]
add ebp, eax
mov esi, dword [esp + 4]
mov eax, ecx
mov edx, 0x80078071
mul edx
mov ebx, edx
shr ebx, 0xf
mov eax, edi
mov edx, 0x80078071
mul edx
imul eax, ebx, 0xfff1
sub ecx, eax
shr edx, 0xf
imul eax, edx, 0xfff1
sub edi, eax
sub esi, dword [esp]
mov edx, 0x15b0
je 0x40333f
xor ebx, ebx
cmp edx, 8
mov dword [esp], edx
mov dword [esp + 4], esi
jb 0x4032c5
mov ebx, edx
and ebx, 0x1ff8
xor eax, eax
nop
nop
nop
mov edx, eax
movzx eax, byte [ebp + eax]
mov esi, edi
and esi, eax
xor edi, eax
lea eax, [edi + esi*2]
add ecx, eax
movzx esi, byte [ebp + edx + 1]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + edx + 2]
add eax, esi
add ecx, eax
movzx esi, byte [ebp + edx + 3]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + edx + 4]
add eax, esi
add ecx, eax
movzx esi, byte [ebp + edx + 5]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + edx + 6]
add eax, esi
add ecx, eax
movzx edi, byte [ebp + edx + 7]
add edi, eax
add ecx, edi
lea eax, [edx + 8]
add edx, 0xf
cmp edx, dword [esp]
mov edx, dword [esp]
jb 0x403260
add ebp, eax
mov esi, dword [esp + 4]
mov eax, ebx
sub eax, edx
jae 0x40320d
mov dword [esp + 8], eax
mov esi, edx
and esi, 3
mov dword [esp + 0xc], ebx
mov eax, ebx
mov edx, ebp
je 0x4032fc
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
movzx ebx, byte [edx]
add edi, ebx
add ecx, edi
inc edx
dec esi
jne 0x4032f0
cmp dword [esp + 8], 0xfffffffc
ja 0x403200
mov ebx, dword [esp]
sub ebx, eax
xor eax, eax
nop
nop
movzx esi, byte [edx + eax]
add esi, edi
add ecx, esi
movzx edi, byte [edx + eax + 1]
add edi, esi
add ecx, edi
movzx esi, byte [edx + eax + 2]
add esi, edi
add ecx, esi
movzx edi, byte [edx + eax + 3]
add edi, esi
add ecx, edi
add eax, 4
cmp ebx, eax
jne 0x403310
jmp 0x403200
shl ecx, 0x10
or ecx, edi
jmp 0x40334b
mov ecx, 1
mov eax, ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40a5b0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [ecx]
cmp eax, 0x270
jne 0x40a63e
xor eax, eax
mov edx, 0x80000000
nop
nop
nop
nop
nop
nop
nop
nop
lea esi, [eax + 0x270]
mov edi, esi
not edi
and edi, 0x270
and esi, 0x58f
sub esi, edi
mov edi, dword [ecx + esi*4 + 8]
lea ebp, [edi - 0x80000000]
mov ebx, edi
or ebx, 0x7ffffffe
and ebx, ebp
mov ebp, dword [ecx + esi*4 + 4]
and ebp, edx
or ebx, ebp
mov ebp, esi
and ebp, 0x18d
xor esi, 0x18d
lea esi, [esi + ebp*2]
and edi, 1
neg edi
and edi, 0x9908b0df
xor edi, dword [ecx + esi*4 + 4]
shr ebx, 1
xor edi, ebx
mov dword [ecx + eax*4 + 0x9c4], edi
inc eax
cmp eax, 0x270
jne 0x40a5d0
mov eax, 0x270
jmp 0x40a650
cmp eax, 0x4e0
jb 0x40a650
mov esi, ecx
call fcn.0040a6a0
mov ecx, esi
mov eax, dword [esi]
lea edx, [eax + 1]
mov dword [ecx], edx
mov edx, dword [ecx + eax*4 + 4]
mov eax, edx
shr eax, 0xb
and eax, dword [ecx + 0x1384]
xor eax, edx
mov ecx, eax
shl ecx, 7
and ecx, 0x9d2c5680
mov edx, ecx
and edx, eax
add edx, edx
sub ecx, edx
add ecx, eax
mov edx, ecx
shl edx, 0xf
and edx, 0xefc60000
xor edx, ecx
mov eax, edx
shr eax, 0x12
xor eax, edx
pop esi
pop edi
pop ebx
pop ebp
ret

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

Disassembly:
push ebp
push ebx
push edi
push esi
xor eax, eax
mov edx, 0x80000000
nop
nop
nop
nop
nop
mov edi, eax
and edi, 0x70
mov esi, eax
or esi, 0x270
add esi, edi
mov ebp, dword [ecx + esi*4 + 4]
and ebp, edx
mov edi, dword [ecx + esi*4 + 8]
mov ebx, edi
and ebx, 0x7ffffffe
or ebx, ebp
shr ebx, 1
and edi, 1
neg edi
and edi, 0x9908b0df
xor edi, dword [ecx + esi*4 + 0x638]
xor edi, ebx
mov dword [ecx + eax*4 + 4], edi
inc eax
cmp eax, 0xe3
jne 0x40a6b0
mov esi, dword [ecx + 0xd50]
mov eax, 0x355
and esi, 0x80000000
mov edi, dword [ecx + eax*4]
mov edx, edi
and edx, 0x7ffffffe
or edx, esi
shr edx, 1
mov esi, edi
and edi, 1
neg edi
and edi, 0x9908b0df
xor edi, dword [ecx + eax*4 - 0xd50]
xor edi, edx
mov dword [ecx + eax*4 - 0x9c4], edi
inc eax
cmp eax, 0x4e1
jne 0x40a700
mov edx, 0x80000000
and edx, dword [ecx + 0x1380]
mov eax, dword [ecx + 4]
mov esi, eax
and esi, 0x7fffffff
or edx, esi
shr edx, 1
xor eax, 0x7ffffffe
and eax, esi
je 0x40a762
mov eax, 0x9908b0df
mov esi, eax
and esi, edx
add eax, edx
add esi, esi
sub eax, esi
xor eax, dword [ecx + 0x634]
mov dword [ecx + 0x9c0], eax
mov dword [ecx], 0
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40b800
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x228
push eax
sub esp, 8
mov dword [ebp - 0x14], esp
sub esp, 0x40
mov dword [ebp - 0x1c], esp
sub esp, 0x80
mov dword [ebp - 0x20], esp
mov eax, dword [0x449d3c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x234], 0xc1c6cfc4
mov word [ebp - 0x230], 0
xor ecx, ecx
nop
mov edx, ecx
not edx
movzx esi, byte [ebp + ecx - 0x234]
lea ebx, [ecx + 0xd1]
mov edi, 0x2e
sub edi, ecx
xor ebx, edi
and ebx, esi
xor ebx, edi
mov al, 0xea
sub al, bl
mov byte [ebp + ecx - 0x234], al
and edx, 6
mov eax, ecx
and eax, 1
xor ecx, 0xfffffffe
or ecx, edx
not ecx
lea ecx, [ecx + eax*2]
cmp ecx, 6
jb 0x40b840
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 0x1b4], 0x63f161f7
mov dword [ebp - 0x1b0], 0x67c965b6
mov dword [ebp - 0x1ac], 0x5b88598b
mov dword [ebp - 0x1a8], 0x5ffa5d82
mov dword [ebp - 0x1a4], 0x53ce51cc
mov word [ebp - 0x1a0], 0x5554
mov dword [ebp - 0x19e], 0
mov byte [ebp - 0x19a], 0
mov edx, 0x5bcc3c98
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [ebp + edx - 0x5bcc3e4c]
xor ebx, edx
mov esi, ebx
and esi, 5
mov eax, ebx
and eax, 2
mov edi, eax
xor edi, 2
imul edi, esi
or esi, 2
imul esi, eax
xor ebx, 7
add ebx, edi
add ebx, esi
inc bl
mov byte [ebp + edx - 0x5bcc3e4c], bl
inc edx
cmp edx, 0x5bcc3cb3
jne 0x40b8e0
lea esi, [ebp - 0x1b4]
push ecx
push 0
push esi
call dword [ebp - 0x10]
mov ecx, 0x449d40
push eax
call fcn.0043b1b0
movzx eax, al
mov eax, dword [eax*4 + 0x443958]
mov ecx, 0x7bbfa073
xor ecx, dword [0x443960]
add eax, ecx
inc eax
xor ebx, ebx
jmp eax
Function at 0x40de30
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x21c
push eax
sub esp, 0x2c
mov dword [ebp - 0x20], esp
push eax
mov dword [ebp - 0x24], esp
push eax
mov dword [ebp - 0x28], esp
mov eax, dword [0x449d0c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x228], 0x61176733
mov dword [ebp - 0x224], 0x7d1963ea
mov dword [ebp - 0x220], 0x790a7f08
mov dword [ebp - 0x21c], 0x754b7b1b
mov dword [ebp - 0x218], 0x7140773b
mov dword [ebp - 0x214], 0x8d527340
mov dword [ebp - 0x210], 0x89e78fb4
mov dword [ebp - 0x20c], 0x85fc8bf3
mov dword [ebp - 0x208], 0x81f787f8
mov dword [ebp - 0x204], 0x9d0f8309
mov dword [ebp - 0x200], 0x99c89fbc
mov dword [ebp - 0x1fc], 0x95ba9bf4
mov dword [ebp - 0x1f8], 0x91a697a7
mov dword [ebp - 0x1f4], 0xada293a6
mov dword [ebp - 0x1f0], 0xa98eafe9
mov dword [ebp - 0x1ec], 0xa5d1abc1
mov dword [ebp - 0x1e8], 0xa1e8a7d2
mov dword [ebp - 0x1e4], 0xbde7a3ec
mov dword [ebp - 0x1e0], 0xb936bf9c
mov dword [ebp - 0x1dc], 0xb5f6bbf6
mov dword [ebp - 0x1d8], 0xb196b78f
mov dword [ebp - 0x1d4], 0xcdc2b3f3
mov dword [ebp - 0x1d0], 0xc9bacfbc
mov dword [ebp - 0x1cc], 0xc5a3cbb7
mov dword [ebp - 0x1c8], 0xc1a4c7bb
mov dword [ebp - 0x1c4], 0xddb9c395
mov dword [ebp - 0x1c0], 0xd9efdf50
mov dword [ebp - 0x1bc], 0xd597db97
mov dword [ebp - 0x1b8], 0xd1e0d79d
mov dword [ebp - 0x1b4], 0xed9cd39d
mov dword [ebp - 0x1b0], 0xe9d6efcc
mov dword [ebp - 0x1ac], 0xe5b2ebbd
mov dword [ebp - 0x1a8], 0xe1b1e788
mov dword [ebp - 0x1a4], 0xfdd6e3b4
mov dword [ebp - 0x1a0], 0xf98affdc
mov dword [ebp - 0x19c], 0xf58ffb83
mov dword [ebp - 0x198], 0xf1d6f78b
mov dword [ebp - 0x194], 0xd8df3a9
mov dword [ebp - 0x190], 0x97b0f71
mov dword [ebp - 0x18c], 0x5310b79
mov dword [ebp - 0x188], 0x15b0724
mov dword [ebp - 0x184], 0x1d700378
mov dword [ebp - 0x180], 0x19691f6d
mov dword [ebp - 0x17c], 0x152b1b67
mov dword [ebp - 0x178], 0x11251727
mov dword [ebp - 0x174], 0x2d24135b
mov dword [ebp - 0x170], 0x29182f1c
mov dword [ebp - 0x16c], 0x251c2b18
mov dword [ebp - 0x168], 0x21062714
mov dword [ebp - 0x164], 0x3d41234d
mov dword [ebp - 0x160], 0x395d3f42
mov dword [ebp - 0x15c], 0x35413b4a
mov dword [ebp - 0x158], 0x31793705
mov dword [ebp - 0x154], 0x4d7b337d
mov dword [ebp - 0x150], 0x49034f7a
mov dword [ebp - 0x14c], 0x454a4b06
mov dword [ebp - 0x148], 0
xor ecx, ecx
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [ebp + edx - 0x228]
mov edi, ecx
and edi, 0xd2
mov ebx, edx
xor ebx, 0xaae8d269
add ebx, edi
mov edi, ebx
and edi, esi
add edi, edi
sub ebx, edi
add ebx, esi
mov esi, ebx
and esi, 0xf0
mov eax, ebx
and eax, 2
mov edi, eax
xor edi, 2
imul edi, esi
or esi, 2
imul esi, eax
xor ebx, 0xf2
add ebx, edi
add ebx, esi
inc bl
mov byte [ebp + edx - 0x228], bl
inc edx
add ecx, 2
cmp edx, 0xe4
jne 0x40e0a0
lea eax, [ebp - 0x228]
push 0
push 0
push 0
push 0
push eax
call dword [ebp - 0x14]
mov esi, eax
xor eax, eax
test esi, esi
setne al
mov eax, dword [eax*4 + 0x443eb4]
mov ecx, dword [0x443ebc]
mov edx, ecx
and edx, 0xe81a69fd
add edx, edx
sub edx, ecx
add eax, edx
add eax, 0x97e59603
xor ebx, ebx
jmp eax
Function at 0x416000
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov ebp, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
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 0x416020
mov esi, dword [eax]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + eax + 2], 0
lea eax, [eax + 2]
jne 0x416040
sar edi, 1
sar eax, 1
add eax, edi
inc eax
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
test eax, eax
jns 0x416068
mov eax, 0xffffffff
jmp 0x41606a
add eax, eax
push eax
call fcn.00409c90
add esp, 4
movzx ecx, word [esi]
mov dword [esp + 8], eax
test cx, cx
je 0x4160a1
add esi, 2
mov eax, dword [esp + 8]
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 0x416090
mov word [eax], 0x5c
add eax, 2
movzx ecx, word [ebp]
test cx, cx
je 0x4160d1
lea edx, [ebp + 2]
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 0x4160c0
mov word [eax], 0
lea eax, [esp + 0xc]
push 0x60
push 7
push 0x120089
push eax
push dword [esp + 0x18]
call fcn.0043edf0
add esp, 0x14
mov esi, dword [0x444434]
xor ebx, ebx
jmp esi
Function at 0x41b6e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x1a0
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x18], 0xf740f98b
mov dword [esp + 0x1c], 0xf341f57b
mov dword [esp + 0x20], 0xcfcef142
mov dword [esp + 0x24], 0
mov edx, 0x56
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [esp + edx - 0x3e]
mov ebx, eax
mov edi, eax
and ebx, edx
mov eax, ebx
or al, 0xfd
inc al
mov ecx, ebx
and cl, 0x7d
mul cl
mov ecx, eax
mov eax, edi
add cl, al
mov eax, ebx
shr al, 1
and al, 1
or bl, 2
mul bl
add al, al
sub cl, al
movzx eax, cl
add eax, edx
add al, 0x52
mov byte [esp + edx - 0x3e], al
inc edx
cmp edx, 0x66
jne 0x41b720
mov dword [esp + 0x34], 0x179a1980
mov dword [esp + 0x38], 0x13821598
mov dword [esp + 0x3c], 0xf5d1156
mov dword [esp + 0x40], 0xb9e0d5f
mov dword [esp + 0x44], 0x799099b
mov dword [esp + 0x48], 0x3960565
mov dword [esp + 0x4c], 0x3fad0198
mov dword [esp + 0x50], 0x3bb63db3
mov dword [esp + 0x54], 0x3736397e
mov word [esp + 0x58], 0
xor eax, eax
nop
mov ecx, eax
add cl, 6
xor cl, byte [esp + eax + 0x34]
add cl, 0xe2
mov byte [esp + eax + 0x34], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 0x26
jb 0x41b7b0
movzx ecx, word [esp + 0x34]
lea eax, [esp + 0x15c]
test cx, cx
je 0x41b801
lea edx, [esp + 0x36]
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 0x41b7f0
mov word [eax], 0
movzx ecx, word [esi]
test cx, cx
je 0x41b831
lea edx, [esi + 2]
nop
nop
nop
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 0x41b820
mov word [eax], 0
movzx ecx, word [esp + 0x18]
test cx, cx
je 0x41b861
lea edx, [esp + 0x1a]
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 0x41b850
mov word [eax], 0
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax]
mov dword [esp + 0x34], 0xb5b0b00a
mov byte [esp + 0x38], 0x18
mov dword [esp + 0x39], 0
mov word [esp + 0x3d], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
lea ecx, [eax + 0xfb]
mov edx, 4
sub edx, eax
and edx, 0x7e
and ecx, 0x81
or ecx, edx
xor cl, byte [esp + eax + 0x34]
xor cl, 0x7e
add cl, 0x19
mov byte [esp + eax + 0x34], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 0xb
jb 0x41b890
movzx eax, byte [esp + 0x34]
test al, al
je 0x41b8eb
lea ecx, [esp + 0x35]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [ebx], al
inc ebx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x41b8e0
mov byte [ebx], 0
lea eax, [esp + 0x140]
lea ecx, [esp + 0x150]
lea edx, [esp + 0x30]
lea edi, [esp + 0x15c]
push eax
push ecx
push edx
push edi
call fcn.0040cc10
add esp, 0x10
movzx eax, al
mov eax, dword [eax*4 + 0x444c70]
mov ecx, 0xa1eb21e6
xor ecx, dword [0x444c78]
add eax, ecx
inc eax
jmp eax
Function at 0x42af00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x30
mov esi, esp
mov eax, ecx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x42b04a
movzx ecx, byte [ebx]
test cl, cl
je 0x42b04a
mov edi, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
mov eax, ecx
cmp cl, 0x2f
je 0x42af48
movzx ecx, byte [ebx + edx + 1]
inc edx
test cl, cl
jne 0x42af30
xor ecx, ecx
jmp 0x42afee
mov byte [esi + 0xf], al
mov dword [esi + 0x14], edi
lea eax, [edx + 4]
and eax, 0xfffffffc
call fcn.00409b70
mov eax, esp
and eax, 0xfffffff0
mov esp, eax
mov edi, eax
mov dword [esi + 0x18], eax
mov ecx, edx
shr ecx, 2
mov dword [esi + 0x10], ebx
mov eax, dword [esi + 0x10]
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov ecx, ebx
mov ebx, edx
and ebx, 0xfffffffc
mov eax, dword [esi + 0x18]
add eax, ebx
mov dword [esi + 0x1c], eax
add ebx, ecx
mov ecx, edx
shr ecx, 1
and ecx, 1
mov edi, ebx
mov dword [esi + 0x10], ebx
mov edi, eax
mov eax, dword [esi + 0x10]
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov eax, dword [esi + 0x1c]
mov ecx, edx
and ecx, 2
or eax, ecx
mov edi, edx
test dl, 1
je 0x42afb3
movzx ecx, byte [ebx + ecx]
mov byte [eax], cl
inc eax
mov ebx, dword [ebp + 8]
add edi, ebx
mov dword [esi + 0x10], edi
mov byte [eax], 0
xor ecx, ecx
cmp byte [ebx + ecx], 0
lea ecx, [ecx + 1]
jne 0x42afc0
add ecx, ebx
dec ecx
mov edx, ebx
not edx
and edx, ecx
xor ecx, ebx
add edx, edx
sub edx, ecx
cmp edx, 2
movzx eax, byte [esi + 0xf]
mov ecx, dword [esi + 0x18]
jae 0x42afe6
mov ecx, ebx
mov ebx, ecx
mov edi, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
mov edi, dword [edi + 8]
test edi, edi
je 0x42b048
mov byte [esi + 0xf], al
mov dword [esi + 0x18], ebx
mov dword [esi + 0x10], ecx
nop
nop
mov dword [esi + 0x14], edi
mov eax, dword [edi]
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
movsx ebx, byte [eax + edi]
lea edx, [ebx - 0x41]
cmp edx, 0x1a
jae 0x42b01f
or ebx, 0x20
mov ecx, dword [esi + 0x18]
movsx edx, byte [ecx + edi]
lea ecx, [edx - 0x41]
cmp ecx, 0x1a
jae 0x42b031
or edx, 0x20
test ebx, ebx
je 0x42b03a
inc edi
cmp ebx, edx
je 0x42b010
cmp ebx, edx
je 0x42b054
mov edi, dword [esi + 0x14]
mov edi, dword [edi + 4]
test edi, edi
jne 0x42b000
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
cmp byte [esi + 0xf], 0x2f
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
jne 0x42b04a
inc edx
mov ecx, eax
push edx
call fcn.0042af00
jmp 0x42b04a
Function at 0x437f60
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
lea eax, [esp + 0x14]
push 0x68
push 7
push 0x100080
push eax
push dword [esp + 0x44]
call fcn.0043edf0
add esp, 0x14
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x447590]
Function at 0x439ee0
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
sub esp, 8
mov eax, dword [esp + 0x14]
mov dword [esp], 0x898a8b7c
mov word [esp + 4], 0
mov ecx, 0x208346e3
nop
nop
nop
nop
movzx edx, byte [esp + ecx - 0x208346e3]
mov esi, ecx
xor esi, edx
and edx, 0x10
mov edi, esi
xor edi, 0x90
lea edx, [edi + edx*2]
and esi, 1
or edx, 1
add edx, esi
mov byte [esp + ecx - 0x208346e3], dl
inc ecx
cmp ecx, 0x208346e9
jne 0x439f00
mov ecx, dword [esp]
mov ecx, dword fs:[ecx]
push eax
push 0
push dword [ecx + 0x18]
call dword [0x453088]
add esp, 8
pop esi
pop edi
ret