joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411b00
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4790
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x548014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 0xec]
mov dword [esi], vtable.CChattingOption.0
call fcn.00411cd0
push dword [esi + 0xf0]
call fcn.00411cd0
mov ecx, dword [esi + 0xec]
test ecx, ecx
je 0x411b5c
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0xec], 0
mov ecx, dword [esi + 0xf0]
test ecx, ecx
je 0x411b77
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0xf0], 0
lea ecx, [esi + 0xb4]
call dword [0x50114c]
lea ecx, [esi + 0xb0]
call dword [0x50114c]
lea ecx, [esi + 0xa8]
call dword [0x50114c]
lea ecx, [esi + 0xa4]
call dword [0x50114c]
lea ecx, [esi + 0xa0]
call dword [0x50114c]
lea ecx, [esi + 0x9c]
call dword [0x50114c]
lea ecx, [esi + 0x98]
call dword [0x50114c]
lea ecx, [esi + 0x94]
call dword [0x50114c]
lea ecx, [esi + 0x90]
call dword [0x50114c]
lea ecx, [esi + 0x8c]
call dword [0x50114c]
lea ecx, [esi + 0x88]
call dword [0x50114c]
lea ecx, [esi + 0x84]
call dword [0x50114c]
lea ecx, [esi + 0x80]
call dword [0x50114c]
lea ecx, [esi + 0x7c]
call dword [0x50114c]
lea ecx, [esi + 0x78]
call dword [0x50114c]
lea ecx, [esi + 0x74]
call dword [0x50114c]
lea ecx, [esi + 0x70]
call dword [0x50114c]
lea ecx, [esi + 0x6c]
call dword [0x50114c]
lea ecx, [esi + 0x68]
call dword [0x50114c]
lea ecx, [esi + 0x64]
call dword [0x50114c]
lea ecx, [esi + 0x5c]
call dword [0x50114c]
lea ecx, [esi + 0x58]
call dword [0x50114c]
lea ecx, [esi + 0x50]
call dword [0x50114c]
lea ecx, [esi + 0x4c]
call dword [0x50114c]
lea ecx, [esi + 0x48]
call dword [0x50114c]
lea ecx, [esi + 0x30]
call dword [0x50114c]
lea ecx, [esi + 0x2c]
call dword [0x50114c]
lea ecx, [esi + 0x24]
call dword [0x50114c]
lea ecx, [esi + 0x10]
call dword [0x50114c]
lea ecx, [esi + 0xc]
call dword [0x50114c]
lea ecx, [esi + 8]
call dword [0x50114c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4193f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0xa4], 0
je 0x419592
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x41958b
mov ecx, dword [esi + 0xac]
xor edx, edx
div ecx
mov dword [ebp - 4], eax
test edx, edx
jne 0x41958b
mov edx, dword [ebp + 0x14]
sub edx, 1
je 0x4194fb
sub edx, 1
je 0x41947c
mov ebx, dword [ebp + 8]
xor edi, edi
mov eax, dword [ebp + 0xc]
mov dword [ebp + 8], eax
cmp dword [ebp - 4], edi
jbe 0x419473
nop dword [eax]
push eax
push ebx
mov ecx, esi
call fcn.00418e50
mov ecx, dword [esi + 0xac]
xor edx, edx
mov eax, dword [ebp + 0x10]
inc edi
div ecx
add dword [ebp + 8], ecx
add ebx, ecx
cmp edi, eax
mov eax, dword [ebp + 8]
jb 0x419450
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [ebp + 8]
xor ecx, ecx
mov ebx, dword [ebp + 0xc]
mov dword [ebp + 0x14], ecx
test eax, eax
je 0x419473
lea eax, [esi + 0x24]
nop
push ebx
push eax
mov ecx, esi
call fcn.00418e50
cmp byte [esi + 0xa4], 0
mov ecx, ebx
je 0x419592
mov eax, dword [esi + 0xac]
xor edx, edx
test eax, eax
jle 0x4194c8
mov al, byte [edx + edi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
inc edx
mov eax, dword [esi + 0xac]
cmp edx, eax
jl 0x4194b4
push eax
lea eax, [esi + 0x24]
push ebx
push eax
call fcn.004f3ce0
mov ecx, dword [esi + 0xac]
xor edx, edx
mov eax, dword [ebp + 0x10]
add esp, 0xc
div ecx
inc dword [ebp + 0x14]
add edi, ecx
add ebx, ecx
cmp dword [ebp + 0x14], eax
lea eax, [esi + 0x24]
jb 0x419490
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [ebp + 8]
xor edx, edx
mov dword [ebp + 0x14], edx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], edi
mov dword [ebp + 8], edx
test eax, eax
je 0x419473
lea ebx, [esi + 0x24]
nop word [eax + eax]
cmp byte [esi + 0xa4], 0
mov eax, ebx
je 0x419592
xor edx, edx
test ecx, ecx
jle 0x419548
sub edi, ebx
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
inc edx
cmp edx, dword [esi + 0xac]
jl 0x419533
mov edi, dword [ebp - 4]
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.00418e50
push dword [esi + 0xac]
push dword [ebp + 8]
push ebx
call fcn.004f3ce0
mov ecx, dword [esi + 0xac]
xor edx, edx
mov eax, dword [ebp + 0x10]
add edi, ecx
div ecx
inc dword [ebp + 0x14]
add esp, 0xc
add dword [ebp + 8], ecx
mov dword [ebp - 4], edi
cmp dword [ebp + 0x14], eax
jb 0x419520
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push str.Data_not_multiple_of_Block_Size
jmp 0x419597
push str.Object_not_Initialized
lea ecx, [ebp - 0x10]
call fcn.00419800
push 0x543388
lea eax, [ebp - 0x10]
push eax
call fcn.004f45c8
int3
Function at 0x4195b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0xa4], 0
je 0x41973f
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x419738
xor edx, edx
div dword [esi + 0xac]
mov dword [ebp - 4], eax
test edx, edx
jne 0x419738
mov ecx, dword [ebp + 0x14]
sub ecx, 1
je 0x4196b7
sub ecx, 1
je 0x419633
mov ebx, dword [ebp + 8]
xor edi, edi
mov eax, dword [ebp + 0xc]
mov dword [ebp + 8], eax
cmp dword [ebp - 4], edi
jbe 0x41962a
push eax
push ebx
mov ecx, esi
call fcn.00419120
mov ecx, dword [esi + 0xac]
xor edx, edx
mov eax, dword [ebp + 0x10]
inc edi
div ecx
add dword [ebp + 8], ecx
add ebx, ecx
cmp edi, eax
mov eax, dword [ebp + 8]
jb 0x419607
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [ebp + 8]
xor ecx, ecx
mov ebx, dword [ebp + 0xc]
mov dword [ebp + 0x14], ecx
test eax, eax
je 0x41962a
lea eax, [esi + 0x24]
push ebx
push eax
mov ecx, esi
call fcn.00418e50
cmp byte [esi + 0xa4], 0
mov ecx, ebx
je 0x41973f
mov eax, dword [esi + 0xac]
xor edx, edx
test eax, eax
jle 0x419684
nop dword [eax]
mov al, byte [edx + edi]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
inc edx
mov eax, dword [esi + 0xac]
cmp edx, eax
jl 0x419670
push eax
lea eax, [esi + 0x24]
push edi
push eax
call fcn.004f3ce0
mov ecx, dword [esi + 0xac]
xor edx, edx
mov eax, dword [ebp + 0x10]
add esp, 0xc
div ecx
inc dword [ebp + 0x14]
add edi, ecx
add ebx, ecx
cmp dword [ebp + 0x14], eax
lea eax, [esi + 0x24]
jb 0x419645
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 8]
xor ecx, ecx
mov ebx, dword [ebp + 0xc]
mov dword [ebp + 0x14], ecx
mov dword [ebp + 8], eax
cmp dword [ebp - 4], ecx
jbe 0x41962a
lea edi, [esi + 0x24]
push ebx
push eax
mov ecx, esi
call fcn.00419120
cmp byte [esi + 0xa4], 0
mov ecx, ebx
je 0x41973f
mov eax, dword [esi + 0xac]
xor edx, edx
test eax, eax
jle 0x419705
mov al, byte [edi + edx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
inc edx
mov eax, dword [esi + 0xac]
cmp edx, eax
jl 0x4196f1
push eax
push dword [ebp + 8]
push edi
call fcn.004f3ce0
mov ecx, dword [esi + 0xac]
xor edx, edx
mov eax, dword [ebp + 0x10]
add esp, 0xc
div ecx
add dword [ebp + 8], ecx
add ebx, ecx
inc dword [ebp + 0x14]
cmp dword [ebp + 0x14], eax
mov eax, dword [ebp + 8]
jb 0x4196d1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push str.Data_not_multiple_of_Block_Size
jmp 0x419744
push str.Object_not_Initialized
lea ecx, [ebp - 0x10]
call fcn.00419800
push 0x543388
lea eax, [ebp - 0x10]
push eax
call fcn.004f45c8
int3
Function at 0x419850
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x548014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [edi], 1
cmp eax, 1
je 0x41988e
test eax, eax
je 0x41988e
cmp eax, 2
je 0x41988e
or eax, 0xffffffff
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ad8d4
mov esp, ebp
pop ebp
ret 0x14
mov dword [edi + 4], eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4198b3
cmp eax, 1
je 0x4198b3
mov eax, 0xfffffffe
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ad8d4
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [ebp + 0x18]
mov dword [edi + 8], eax
test edx, edx
je 0x4198cf
xor ecx, ecx
nop
mov al, byte [ecx + edx]
mov byte [edi + ecx + 0xc], al
inc ecx
cmp ecx, 0x10
jl 0x4198c0
jmp 0x4198d6
xorps xmm0, xmm0
movups xmmword [edi + 0xc], xmm0
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 0x1c], 0xa
test ebx, ebx
jne 0x4198fa
lea eax, [ebx - 4]
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ad8d4
mov esp, ebp
pop ebp
ret 0x14
xor eax, eax
push esi
nop dword [eax]
mov ecx, eax
lea edx, [ebp - 0x24]
and ecx, 3
mov esi, eax
add edx, ecx
shr esi, 2
mov cl, byte [eax + ebx]
inc eax
mov byte [edx + esi*4], cl
cmp eax, 0x10
jb 0x419900
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
call fcn.00419fa0
cmp dword [edi + 8], 1
jne 0x419a0a
mov ebx, 1
cmp dword [edi + 0x1c], ebx
jbe 0x419a0a
lea esi, [edi + 0x32]
movzx eax, byte [esi + 1]
lea esi, [esi + 0x10]
movzx ecx, byte [esi - 0x11]
inc ebx
mov edx, dword [eax*4 + 0x54ec20]
xor edx, dword [ecx*4 + 0x54e420]
movzx eax, byte [esi - 0x10]
xor edx, dword [eax*4 + 0x54e820]
movzx eax, byte [esi - 0x12]
xor edx, dword [eax*4 + 0x54e020]
mov dword [esi - 0x12], edx
movzx eax, byte [esi - 0xb]
movzx ecx, byte [esi - 0xc]
mov edx, dword [eax*4 + 0x54ec20]
xor edx, dword [ecx*4 + 0x54e820]
movzx eax, byte [esi - 0xd]
xor edx, dword [eax*4 + 0x54e420]
movzx eax, byte [esi - 0xe]
xor edx, dword [eax*4 + 0x54e020]
mov dword [esi - 0xe], edx
movzx eax, byte [esi - 7]
movzx ecx, byte [esi - 8]
mov edx, dword [eax*4 + 0x54ec20]
xor edx, dword [ecx*4 + 0x54e820]
movzx eax, byte [esi - 9]
xor edx, dword [eax*4 + 0x54e420]
movzx eax, byte [esi - 0xa]
xor edx, dword [eax*4 + 0x54e020]
mov dword [esi - 0xa], edx
movzx eax, byte [esi - 3]
movzx ecx, byte [esi - 4]
mov edx, dword [eax*4 + 0x54ec20]
movzx eax, byte [esi - 5]
xor edx, dword [ecx*4 + 0x54e820]
xor edx, dword [eax*4 + 0x54e420]
movzx eax, byte [esi - 6]
xor edx, dword [eax*4 + 0x54e020]
mov dword [esi - 6], edx
cmp ebx, dword [edi + 0x1c]
jb 0x419941
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
pop ebx
mov dword [edi], 0
xor ecx, ebp
pop edi
call fcn.004ad8d4
mov esp, ebp
pop ebp
ret 0x14
Function at 0x419da0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x548014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x18], ebx
cmp dword [ebx], 0
je 0x419dd6
pop edi
mov eax, 0xfffffffb
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ad8d4
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 8], 1
je 0x419df3
pop edi
mov eax, 0xfffffffa
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ad8d4
mov esp, ebp
pop ebp
ret 0xc
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x419f80
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x419f80
mov ecx, eax
and ecx, 0x8000000f
jns 0x419e1b
dec ecx
or ecx, 0xfffffff0
add ecx, 1
jne 0x419f68
mov ecx, dword [ebx + 4]
cdq
and edx, 0xf
add eax, edx
sar eax, 4
mov dword [ebp - 0x1c], eax
sub ecx, 0
je 0x419ee5
sub ecx, 1
je 0x419e54
pop esi
pop edi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ad8d4
mov esp, ebp
pop ebp
ret 0xc
movups xmm1, xmmword [ebx + 0xc]
dec eax
mov dword [ebp - 0x18], eax
test eax, eax
jle 0x419e8f
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
push esi
call fcn.0041a570
movups xmm0, xmmword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
dec eax
pxor xmm0, xmm1
mov dword [ebp - 0x18], eax
movups xmm1, xmmword [esi]
add esi, 0x10
movups xmmword [edi], xmm0
add edi, 0x10
movups xmmword [ebp - 0x14], xmm0
test eax, eax
jg 0x419e60
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
push esi
call fcn.0041a570
movups xmm0, xmmword [ebp - 0x14]
pxor xmm0, xmm1
movups xmmword [ebp - 0x14], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
movzx esi, al
lea eax, [esi - 1]
cmp eax, 0xf
ja 0x419f68
mov edx, 0x10
sub edx, esi
mov ecx, edx
cmp ecx, 0x10
jge 0x419f3f
nop dword [eax]
movzx eax, byte [ebp + ecx - 0x14]
cmp eax, esi
jne 0x419f68
inc ecx
cmp ecx, 0x10
jl 0x419ed0
jmp 0x419f3f
lea ebx, [eax - 1]
test ebx, ebx
jle 0x419f05
nop dword [eax]
mov ecx, dword [ebp - 0x18]
push edi
push esi
call fcn.0041a570
dec ebx
add esi, 0x10
add edi, 0x10
test ebx, ebx
jg 0x419ef0
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.0041a570
movzx esi, byte [ebp - 5]
cmp esi, 0x10
jae 0x419f68
mov edx, 0x10
sub edx, esi
mov ecx, edx
cmp ecx, 0x10
jge 0x419f3f
nop dword [eax]
movzx eax, byte [ebp + ecx - 0x14]
cmp eax, esi
jne 0x419f68
inc ecx
cmp ecx, 0x10
jl 0x419f30
push edx
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.004f3ce0
mov eax, dword [ebp - 0x1c]
add esp, 0xc
shl eax, 4
sub eax, esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ad8d4
mov esp, ebp
pop ebp
ret 0xc
pop esi
pop edi
mov eax, 0xfffffff9
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ad8d4
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.004ad8d4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x419fa0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x548014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ecx + 0x1c]
sub ebx, 6
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], ebx
push esi
push edi
test ebx, ebx
jle 0x419fd0
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x24]
mov ecx, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x28]
xor edi, edi
xor eax, eax
xor esi, esi
test ebx, ebx
jle 0x41a028
nop word [eax + eax]
cmp edi, dword [ecx + 0x1c]
ja 0x41a164
cmp esi, ebx
jge 0x41a00c
nop dword [eax]
cmp eax, 4
jge 0x41a00c
mov ebx, dword [ebp - 0x28]
lea edx, [eax + edi*4]
mov ecx, dword [ebp + esi*4 - 0x24]
inc eax
inc esi
mov dword [ebx + edx*4 + 0x20], ecx
mov ebx, dword [ebp - 0x2c]
cmp esi, ebx
jl 0x419ff0
cmp eax, 4
lea ecx, [edi + 1]
cmovne ecx, edi
mov edi, ecx
xor ecx, ecx
cmp eax, 4
cmovne ecx, eax
mov eax, ecx
mov ecx, dword [ebp - 0x28]
cmp esi, ebx
jl 0x419fe0
cmp edi, dword [ecx + 0x1c]
ja 0x41a164
mov esi, 0x511ed0
nop word [eax + eax]
movzx ecx, byte [ebp + ebx*4 - 0x27]
mov dl, byte [ebp - 0x24]
xor dl, byte [ecx + 0x512048]
mov byte [ebp - 0x24], dl
movzx ecx, byte [ebp + ebx*4 - 0x26]
movzx ecx, byte [ecx + 0x512048]
xor byte [ebp - 0x23], cl
movzx ecx, byte [ebp + ebx*4 - 0x25]
movzx ecx, byte [ecx + 0x512048]
xor byte [ebp - 0x22], cl
movzx ecx, byte [ebp + ebx*4 - 0x28]
movzx ecx, byte [ecx + 0x512048]
xor byte [ebp - 0x21], cl
movzx ecx, byte [esi]
add esi, 4
xor cl, dl
mov dword [ebp - 0x30], esi
mov byte [ebp - 0x24], cl
mov edx, 1
cmp ebx, 8
je 0x41a0b0
cmp ebx, edx
jle 0x41a10e
nop word [eax + eax]
mov ecx, dword [ebp + edx*4 - 0x28]
xor dword [ebp + edx*4 - 0x24], ecx
inc edx
cmp edx, ebx
jl 0x41a0a0
jmp 0x41a10e
mov ecx, dword [ebp + edx*4 - 0x28]
xor dword [ebp + edx*4 - 0x24], ecx
inc edx
cmp edx, 4
jl 0x41a0b0
movzx ecx, byte [ebp - 0x18]
mov edx, 5
movzx ecx, byte [ecx + 0x512048]
xor byte [ebp - 0x14], cl
movzx ecx, byte [ebp - 0x17]
movzx ecx, byte [ecx + 0x512048]
xor byte [ebp - 0x13], cl
movzx ecx, byte [ebp - 0x16]
movzx ecx, byte [ecx + 0x512048]
xor byte [ebp - 0x12], cl
movzx ecx, byte [ebp - 0x15]
movzx ecx, byte [ecx + 0x512048]
xor byte [ebp - 0x11], cl
nop dword [eax + eax]
mov ecx, dword [ebp + edx*4 - 0x28]
xor dword [ebp + edx*4 - 0x24], ecx
inc edx
cmp edx, 8
jl 0x41a100
xor esi, esi
test ebx, ebx
jle 0x41a155
mov ecx, dword [ebp - 0x28]
cmp edi, dword [ecx + 0x1c]
ja 0x41a155
cmp esi, ebx
jge 0x41a13c
cmp eax, 4
jge 0x41a13c
mov ebx, dword [ebp - 0x28]
lea edx, [eax + edi*4]
mov ecx, dword [ebp + esi*4 - 0x24]
inc eax
inc esi
mov dword [ebx + edx*4 + 0x20], ecx
mov ebx, dword [ebp - 0x2c]
cmp esi, ebx
jl 0x41a120
cmp eax, 4
lea ecx, [edi + 1]
cmovne ecx, edi
mov edi, ecx
xor ecx, ecx
cmp eax, 4
cmovne ecx, eax
mov eax, ecx
cmp esi, ebx
jl 0x41a114
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x30]
cmp edi, dword [ecx + 0x1c]
jbe 0x41a040
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ad8d4
mov esp, ebp
pop ebp
ret 4
Function at 0x41a920
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ecx
xor esi, esi
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
lea ebx, [edi - 2]
test ebx, ebx
jle 0x41a9af
mov edi, edx
nop
movzx ecx, byte [edi + esi]
shr ecx, 2
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], cl
movzx edx, byte [edi + esi]
movzx ecx, byte [edi + esi + 1]
and edx, 3
shr ecx, 4
shl edx, 4
or edx, ecx
movzx ecx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 1], cl
movzx edx, byte [edi + esi + 1]
movzx ecx, byte [edi + esi + 2]
and edx, 0xf
shr ecx, 6
shl edx, 2
or edx, ecx
movzx ecx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 2], cl
movzx ecx, byte [edi + esi + 2]
add esi, 3
and ecx, 0x3f
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 3], cl
add eax, 4
cmp esi, ebx
jl 0x41a940
mov edi, dword [ebp + 8]
mov edx, dword [ebp - 4]
cmp esi, edi
jge 0x41aa0f
movzx ecx, byte [esi + edx]
shr ecx, 2
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], cl
lea ecx, [edi - 1]
movzx edx, byte [esi + edx]
and edx, 3
shl edx, 4
cmp esi, ecx
jne 0x41a9e0
mov cl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov dl, 0x3d
mov byte [eax + 1], cl
jmp 0x41aa05
mov edi, dword [ebp - 4]
movzx ecx, byte [esi + edi + 1]
shr ecx, 4
or ecx, edx
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 1], cl
movzx ecx, byte [esi + edi + 1]
and ecx, 0xf
mov dl, byte [ecx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 2], dl
mov byte [eax + 3], 0x3d
add eax, 4
pop edi
mov byte [eax], 0
sub eax, dword [ebp - 8]
pop esi
inc eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c750
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x272c
call fcn.004f3e00
mov eax, dword [0x548014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xf0000040
push 1
xor edi, edi
lea eax, [ebp - 8]
push edi
push edi
push eax
mov dword [ebp - 8], edi
call dword [0x500038]
cmp eax, 1
jne 0x42c7b0
mov eax, dword [ebp - 8]
test eax, eax
je 0x42c7b0
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], edi
push ecx
push 4
push eax
call dword [0x50003c]
push 0
push dword [ebp - 8]
cmp eax, 1
cmove edi, dword [ebp - 0xc]
call dword [0x500040]
mov esi, 1
mov eax, 5
nop word [eax + eax]
lea esi, [esi + esi*4]
add esi, esi
sub eax, 1
jne 0x42c7c0
test edi, edi
jne 0x42c934
call dword [0x500374]
push edi
push 0x2710
push edx
push eax
call fcn.004f3e30
mov edx, eax
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x1394], edx
lea ecx, [edi + 1]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [ebp + ecx*4 - 0x1394], edx
inc ecx
cmp ecx, 0x270
jl 0x42c7f7
mov dword [ebp - 0x1398], 0x270
cmp esi, 1
jbe 0x42c918
lea eax, [esi - 1]
mov dword [ebp - 0x2728], 0
mov dword [ebp - 0x2724], eax
lea eax, [ebp - 0x1398]
push 0x1388
push eax
lea eax, [ebp - 0x2720]
push eax
call fcn.004f3ce0
mov eax, dword [ebp - 0x2728]
add esp, 0xc
cmp eax, 0x80000000
lea ecx, [eax - 0x80000000]
lea edx, [eax - 0x80000000]
mov eax, dword [ebp - 0x2724]
cmovae edx, ecx
cmp eax, 0x80000000
mov dword [ebp - 0x272c], edx
lea ecx, [eax - 0x80000000]
lea esi, [eax - 0x80000000]
cmovae esi, ecx
sub esi, edx
cmp esi, 0xffffffff
jne 0x42c8a7
lea ecx, [ebp - 0x2720]
call fcn.0042d150
mov edx, eax
jmp 0x42c8e9
lea ebx, [esi + 1]
mov dword [ebp - 8], ebx
jmp 0x42c8b3
lea ebx, [esi + 1]
xor edi, edi
xor eax, eax
test esi, esi
je 0x42c8cb
lea ecx, [ebp - 0x2720]
call fcn.0042d150
mov edi, eax
or eax, 0xffffffff
xor edx, edx
div ebx
mov ecx, eax
mov ebx, edx
xor edx, edx
mov eax, edi
div dword [ebp - 8]
cmp eax, ecx
jb 0x42c8e2
cmp ebx, esi
jne 0x42c8b0
mov eax, edi
xor edx, edx
div dword [ebp - 8]
mov eax, dword [ebp - 0x272c]
add eax, edx
cmp eax, 0x80000000
lea ecx, [eax - 0x80000000]
lea edx, [eax - 0x80000000]
cmovae edx, ecx
mov eax, edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ad8d4
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x1398]
call fcn.0042d150
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ad8d4
mov esp, ebp
pop ebp
ret
mov eax, edi
cmp esi, 1
jbe 0x42c941
xor edx, edx
div esi
mov eax, edx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ad8d4
mov esp, ebp
pop ebp
ret
Function at 0x42d150
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
mov eax, dword [edi]
cmp eax, 0x270
jne 0x42d1ae
lea edx, [edi + 8]
mov esi, eax
nop dword [eax]
mov ecx, dword [edx - 4]
lea edx, [edx + 4]
xor ecx, dword [edx - 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0x42d170
mov eax, dword [edi]
jmp 0x42d299
cmp eax, 0x4e0
jb 0x42d299
mov eax, dword [edi + 0x9c4]
push ebx
lea ebx, [edi + 0x9c4]
mov edi, 0xe3
nop dword [eax + eax]
mov ecx, dword [ebx + 4]
lea edx, [ebx + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x42d1d0
mov ebx, dword [ebp - 4]
mov edi, 0x18c
add ebx, 0xd50
mov eax, dword [ebx]
nop dword [eax]
mov ecx, eax
lea edx, [ebx + 4]
xor ecx, dword [edx]
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx - 0xd4c]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x42d220
mov edi, dword [ebp - 4]
pop ebx
mov ecx, dword [edi + 0x1380]
xor ecx, dword [edi + 4]
and ecx, 0x7fffffff
xor ecx, dword [edi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi + 0x9c0], eax
xor eax, eax
mov dword [edi], 0
mov edx, dword [edi + eax*4 + 4]
inc eax
mov dword [edi], eax
mov ecx, edx
mov eax, dword [edi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42e690
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4970
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x548014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push ecx
mov dword [esi], vtable.Web::CQueryBase.0
call fcn.0042edf0
lea ecx, [esi + 0x88]
call dword [0x50114c]
lea ecx, [esi + 0x84]
call dword [0x50114c]
lea ecx, [esi + 0x80]
call dword [0x50114c]
lea ecx, [esi + 0x7c]
call dword [0x50114c]
lea ecx, [esi + 0x44]
call dword [0x500c2c]
lea ecx, [esi + 0x38]
mov dword [esi + 0x2c], vtable.Web::CProxyInfo.0
call dword [0x50114c]
lea ecx, [esi + 0x34]
call dword [0x50114c]
lea ecx, [esi + 0x30]
call dword [0x50114c]
lea ecx, [esi + 0x10]
mov dword [ebp - 4], 0
mov dword [ecx], vtable.CList_class_Web::CMIME__class_Web::CMIME_.0
call fcn.0042f600
lea ecx, [esi + 0xc]
mov dword [esi + 4], vtable.Web::CMIME.0
call dword [0x50114c]
lea ecx, [esi + 8]
call dword [0x50114c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret