joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b0e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x3c
mov eax, dword [0x427da0]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
mov ebp, dword [esp + 0x48]
mov eax, ebp
imul eax, eax, 0x126
cmp dword [eax + 0x432bc8], 0
push esi
mov esi, dword [esp + 0x58]
push edi
jne 0x40b125
mov eax, 0xa2
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0040fac6
add esp, 0x3c
ret 0x10
mov ebx, dword [esp + 0x58]
cmp ebx, 0x5dc
jle 0x40b14b
mov eax, 0xa4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0040fac6
add esp, 0x3c
ret 0x10
mov ecx, ebx
and ecx, reloc.WSOCK32.dll_ntohs
jns 0x40b15a
dec ecx
or ecx, 0xfffffff0
inc ecx
jne 0x40b131
test ebx, ebx
jl 0x40b131
lea edx, [esp + 0x10]
push 0x19
push edx
call fcn.0040a4f0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00410924
add esp, 4
call fcn.00410931
mov cl, byte [esp + 0x54]
or cl, 4
mov edx, ebx
sar edx, 8
xor cl, al
xor dl, al
mov byte [esp + 0x13], cl
mov ecx, dword [esi]
mov byte [esp + 0x14], dl
mov edx, dword [esi + 4]
mov dword [esp + 0x16], ecx
mov ecx, dword [esi + 8]
xor bl, al
mov dword [esp + 0x1a], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x1e], ecx
mov byte [esp + 0x11], 0x10
mov byte [esp + 0x12], al
mov byte [esp + 0x15], bl
mov dword [esp + 0x22], edx
xor ecx, ecx
jmp 0x40b1d0
xor byte [esp + ecx + 0x16], al
add ecx, 1
cmp ecx, 0x10
jl 0x40b1d0
sub esp, 0x1c
mov ecx, 6
lea esi, [esp + 0x2c]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
call fcn.0040a880
mov byte [esp + 0x44], al
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x30]
push ecx
push ebp
call fcn.0040a6d0
mov ecx, dword [esp + 0x70]
add esp, 0x28
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040fac6
add esp, 0x3c
ret 0x10
Function at 0x40b220
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x3c
mov eax, dword [0x427da0]
xor eax, esp
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x40]
imul eax, eax, 0x126
cmp dword [eax + 0x432bc8], 0
push ebx
push ebp
mov ebp, dword [esp + 0x54]
push esi
push edi
jne 0x40b263
mov eax, 0xa2
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0040fac6
add esp, 0x3c
ret 0x10
mov eax, dword [esp + 0x58]
cmp eax, 0x1f0
jle 0x40b288
mov eax, 0xa4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0040fac6
add esp, 0x3c
ret 0x10
mov ecx, eax
and ecx, reloc.WSOCK32.dll_ntohs
jns 0x40b297
dec ecx
or ecx, 0xfffffff0
inc ecx
jne 0x40b26e
test eax, eax
jl 0x40b26e
lea edx, [esp + 0x10]
push 0x19
push edx
call fcn.0040a4f0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00410924
call fcn.00410931
mov bl, al
xor al, byte [esp + 0x58]
mov dl, bl
mov byte [esp + 0x17], al
mov eax, dword [esp + 0x5c]
mov ecx, eax
xor al, bl
mov byte [esp + 0x19], al
mov al, dl
mov ah, al
sar ecx, 8
xor cl, bl
mov byte [esp + 0x18], cl
sub esp, 0x18
mov byte [esp + 0x2d], 0xf
mov byte [esp + 0x2e], bl
mov edx, eax
shl edx, 0x10
mov dx, ax
mov ecx, 6
lea esi, [esp + 0x2c]
mov edi, esp
mov eax, edx
mov dword [esp + 0x32], eax
mov dword [esp + 0x36], eax
mov dword [esp + 0x3a], eax
mov dword [esp + 0x3e], eax
mov word [esp + 0x42], ax
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
call fcn.0040a880
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x30]
mov byte [esp + 0x48], al
mov eax, dword [esp + 0x70]
push edx
push eax
call fcn.0040a6d0
lea esi, [esp + 0x5a]
add esp, 0x28
mov ecx, ebp
sub esi, ebp
mov edi, 0x10
mov dl, byte [esi + ecx]
xor dl, bl
mov byte [ecx], dl
add ecx, 1
sub edi, 1
jne 0x40b348
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040fac6
add esp, 0x3c
ret 0x10
Function at 0x40b370
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x3c
mov eax, dword [0x427da0]
xor eax, esp
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x40]
imul eax, eax, 0x126
cmp dword [eax + 0x432bc8], 0
push ebx
push ebp
mov ebp, dword [esp + 0x54]
push esi
push edi
jne 0x40b3b3
mov eax, 0xa2
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0040fac6
add esp, 0x3c
ret 0x10
mov eax, dword [esp + 0x58]
cmp eax, 0x5dc
jle 0x40b3d8
mov eax, 0xa4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0040fac6
add esp, 0x3c
ret 0x10
mov ecx, eax
and ecx, reloc.WSOCK32.dll_ntohs
jns 0x40b3e7
dec ecx
or ecx, 0xfffffff0
inc ecx
jne 0x40b3be
test eax, eax
jl 0x40b3be
lea edx, [esp + 0x10]
push 0x19
push edx
call fcn.0040a4f0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00410924
call fcn.00410931
mov bl, al
mov al, byte [esp + 0x58]
or al, 4
xor al, bl
mov byte [esp + 0x17], al
mov eax, dword [esp + 0x5c]
mov ecx, eax
xor al, bl
mov byte [esp + 0x19], al
mov dl, bl
mov al, dl
mov ah, al
sar ecx, 8
xor cl, bl
mov byte [esp + 0x18], cl
sub esp, 0x18
mov byte [esp + 0x2d], 0xf
mov byte [esp + 0x2e], bl
mov edx, eax
shl edx, 0x10
mov dx, ax
mov ecx, 6
lea esi, [esp + 0x2c]
mov edi, esp
mov eax, edx
mov dword [esp + 0x32], eax
mov dword [esp + 0x36], eax
mov dword [esp + 0x3a], eax
mov dword [esp + 0x3e], eax
mov word [esp + 0x42], ax
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
call fcn.0040a880
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x30]
mov byte [esp + 0x48], al
mov eax, dword [esp + 0x70]
push edx
push eax
call fcn.0040a6d0
lea esi, [esp + 0x5a]
add esp, 0x28
mov ecx, ebp
sub esi, ebp
mov edi, 0x10
lea esp, [esp]
mov dl, byte [esi + ecx]
xor dl, bl
mov byte [ecx], dl
add ecx, 1
sub edi, 1
jne 0x40b4a0
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040fac6
add esp, 0x3c
ret 0x10
Function at 0x40c140
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
sub esp, 0x3c
mov eax, dword [0x427da0]
xor eax, esp
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x40]
imul eax, eax, 0x126
cmp dword [eax + 0x432bc8], 0
push ebx
push ebp
mov ebp, dword [esp + 0x4c]
push esi
push edi
jne 0x40c183
mov eax, 0xa2
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0040fac6
add esp, 0x3c
ret 8
lea ecx, [esp + 0x10]
push 0x19
push ecx
call fcn.0040a4f0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00410924
call fcn.00410931
mov bl, al
sub esp, 0x18
mov byte [esp + 0x2d], 0xd
mov byte [esp + 0x2e], bl
mov byte [esp + 0x2f], bl
mov byte [esp + 0x30], bl
mov byte [esp + 0x31], bl
mov ecx, 6
lea esi, [esp + 0x2c]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
call fcn.0040a880
mov ecx, dword [esp + 0x6c]
lea edx, [esp + 0x48]
mov byte [esp + 0x44], al
push edx
lea eax, [esp + 0x30]
push eax
push ecx
call fcn.0040a6d0
lea esi, [esp + 0x5a]
add esp, 0x28
mov ecx, ebp
sub esi, ebp
mov edi, 0x10
mov dl, byte [esi + ecx]
xor dl, bl
mov byte [ecx], dl
add ecx, 1
sub edi, 1
jne 0x40c1f8
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040fac6
add esp, 0x3c
ret 8
Function at 0x40c220
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x48
mov eax, dword [0x427da0]
xor eax, esp
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x68]
imul ecx, ecx, 0x126
cmp dword [ecx + 0x432bc8], 0
push ebx
push ebp
mov ebp, dword [esp + 0x64]
push esi
mov esi, dword [esp + 0x6c]
push edi
mov edi, dword [esp + 0x74]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
jne 0x40c27b
mov eax, 0xa2
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0040fac6
add esp, 0x48
ret 0x20
lea edx, [esp + 0x1c]
push 0x19
push edx
call fcn.0040a4f0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00410924
call fcn.00410931
mov bl, al
xor al, byte [esp + 0x64]
mov cl, bl
xor cl, byte [esp + 0x68]
mov byte [esp + 0x23], al
movzx eax, byte [ebp + 1]
mov byte [esp + 0x24], cl
movzx ecx, byte [ebp]
mov dl, bl
xor dl, byte [esp + 0x6c]
xor cl, bl
mov byte [esp + 0x25], dl
movzx edx, byte [esi + 1]
xor al, bl
mov byte [esp + 0x26], al
movzx eax, byte [esi]
mov byte [esp + 0x27], cl
movzx ecx, byte [edi + 1]
xor dl, bl
mov byte [esp + 0x28], dl
movzx edx, byte [edi]
xor cl, bl
xor al, bl
mov byte [esp + 0x29], al
mov eax, dword [esp + 0x14]
mov byte [esp + 0x2a], cl
movzx ecx, byte [eax + 1]
xor dl, bl
mov byte [esp + 0x2b], dl
movzx edx, byte [eax]
xor cl, bl
mov byte [esp + 0x2c], cl
sub esp, 0x18
xor dl, bl
mov byte [esp + 0x45], dl
mov byte [esp + 0x39], 9
mov byte [esp + 0x3a], bl
mov ecx, 6
lea esi, [esp + 0x38]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
call fcn.0040a880
mov edx, dword [esp + 0x78]
mov byte [esp + 0x50], al
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x3c]
push ecx
push edx
call fcn.0040a6d0
movzx ecx, byte [esp + 0x67]
movzx edx, byte [esp + 0x68]
mov esi, eax
movzx eax, byte [esp + 0x66]
xor al, bl
mov byte [ebp + 1], al
movzx eax, byte [esp + 0x69]
xor cl, bl
mov byte [ebp], cl
mov ecx, dword [esp + 0x40]
xor dl, bl
mov byte [ecx + 1], dl
movzx edx, byte [esp + 0x6a]
xor al, bl
mov byte [ecx], al
movzx eax, byte [esp + 0x6b]
mov ecx, dword [esp + 0x3c]
xor dl, bl
add esp, 0x28
mov byte [ecx + 1], dl
xor al, bl
movzx edx, byte [esp + 0x44]
mov byte [ecx], al
movzx eax, byte [esp + 0x45]
mov ecx, dword [esp + 0x10]
xor al, bl
mov byte [ecx], al
pop edi
xor dl, bl
mov eax, esi
pop esi
mov byte [ecx + 1], dl
mov ecx, dword [esp + 0x4c]
pop ebp
pop ebx
xor ecx, esp
call fcn.0040fac6
add esp, 0x48
ret 0x20
Function at 0x40c4c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x40
mov eax, dword [0x427da0]
xor eax, esp
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x44]
imul eax, eax, 0x126
cmp dword [eax + 0x432bc8], 0
push ebx
push ebp
mov ebp, dword [esp + 0x50]
push esi
push edi
jne 0x40c503
mov eax, 0xa2
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0040fac6
add esp, 0x40
ret 8
lea ecx, [esp + 0x14]
push 0x19
push ecx
call fcn.0040a4f0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00410924
add esp, 4
call fcn.00410931
mov bl, al
mov dword [esp + 0x10], 0
mov eax, dword [ebp]
mov dl, byte [esp + 0x10]
mov ecx, dword [ebp + 4]
mov dword [esp + 0x19], eax
mov eax, dword [ebp + 0xc]
mov byte [esp + 0x17], dl
mov edx, dword [ebp + 8]
mov dword [esp + 0x25], eax
mov byte [esp + 0x15], 0x30
mov byte [esp + 0x16], bl
mov dword [esp + 0x1d], ecx
mov dword [esp + 0x21], edx
xor eax, eax
nop
xor byte [esp + eax + 0x17], bl
add eax, 1
cmp eax, 0x12
jl 0x40c560
sub esp, 0x1c
mov ecx, 6
lea esi, [esp + 0x30]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
call fcn.0040a880
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x34]
mov byte [esp + 0x4c], al
mov eax, dword [esp + 0x74]
push edx
push eax
call fcn.0040a6d0
add esp, 0x28
test eax, eax
jne 0x40c5cf
mov eax, dword [esp + 0x10]
add eax, 1
add ebp, 0x10
cmp eax, 8
mov dword [esp + 0x10], eax
jl 0x40c530
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0040fac6
add esp, 0x40
ret 8
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 0x2b
call fcn.0040fac6
add esp, 0x40
ret 8
Function at 0x40c5f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x40
mov eax, dword [0x427da0]
xor eax, esp
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x44]
imul eax, eax, 0x126
cmp dword [eax + 0x432bc8], 0
push ebx
push ebp
mov ebp, dword [esp + 0x50]
push esi
push edi
jne 0x40c633
mov eax, 0xa2
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0040fac6
add esp, 0x40
ret 8
lea ecx, [esp + 0x14]
push 0x19
push ecx
call fcn.0040a4f0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00410924
add esp, 4
call fcn.00410931
mov bl, al
mov dword [esp + 0x10], 0
mov dl, byte [esp + 0x10]
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
or dl, 0x10
mov dword [esp + 0x19], eax
mov eax, dword [ebp + 0xc]
mov byte [esp + 0x17], dl
mov edx, dword [ebp + 8]
mov dword [esp + 0x25], eax
mov byte [esp + 0x15], 0x30
mov byte [esp + 0x16], bl
mov dword [esp + 0x1d], ecx
mov dword [esp + 0x21], edx
xor eax, eax
xor byte [esp + eax + 0x17], bl
add eax, 1
cmp eax, 0x12
jl 0x40c692
sub esp, 0x1c
mov ecx, 6
lea esi, [esp + 0x30]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
call fcn.0040a880
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x34]
mov byte [esp + 0x4c], al
mov eax, dword [esp + 0x74]
push edx
push eax
call fcn.0040a6d0
add esp, 0x28
test eax, eax
jne 0x40c701
mov eax, dword [esp + 0x10]
add eax, 1
add ebp, 0x10
cmp eax, 8
mov dword [esp + 0x10], eax
jl 0x40c660
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0040fac6
add esp, 0x40
ret 8
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 0x2b
call fcn.0040fac6
add esp, 0x40
ret 8
Function at 0x40c720
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x40
mov eax, dword [0x427da0]
xor eax, esp
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x44]
imul eax, eax, 0x126
cmp dword [eax + 0x432bc8], 0
push ebx
push ebp
mov ebp, dword [esp + 0x50]
push esi
push edi
jne 0x40c763
mov eax, 0xa2
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0040fac6
add esp, 0x40
ret 8
lea ecx, [esp + 0x14]
push 0x19
push ecx
call fcn.0040a4f0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00410924
add esp, 4
call fcn.00410931
mov bl, al
mov dword [esp + 0x10], 0
mov dl, byte [esp + 0x10]
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
or dl, 0x10
mov dword [esp + 0x19], eax
mov eax, dword [ebp + 0xc]
mov byte [esp + 0x17], dl
mov edx, dword [ebp + 8]
mov dword [esp + 0x25], eax
mov byte [esp + 0x15], 0x31
mov byte [esp + 0x16], bl
mov dword [esp + 0x1d], ecx
mov dword [esp + 0x21], edx
xor eax, eax
xor byte [esp + eax + 0x17], bl
add eax, 1
cmp eax, 0x12
jl 0x40c7c2
sub esp, 0x1c
mov ecx, 6
lea esi, [esp + 0x30]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
call fcn.0040a880
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x34]
mov byte [esp + 0x4c], al
mov eax, dword [esp + 0x74]
push edx
push eax
call fcn.0040a6d0
add esp, 0x28
test eax, eax
jne 0x40c831
mov eax, dword [esp + 0x10]
add eax, 1
add ebp, 0x10
cmp eax, 8
mov dword [esp + 0x10], eax
jl 0x40c790
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0040fac6
add esp, 0x40
ret 8
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 0x2c
call fcn.0040fac6
add esp, 0x40
ret 8
Function at 0x40c850
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x40
mov eax, dword [0x427da0]
xor eax, esp
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x44]
imul eax, eax, 0x126
cmp dword [eax + 0x432bc8], 0
push ebx
push ebp
mov ebp, dword [esp + 0x50]
push esi
push edi
jne 0x40c893
mov eax, 0xa2
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0040fac6
add esp, 0x40
ret 8
lea ecx, [esp + 0x14]
push 0x19
push ecx
call fcn.0040a4f0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00410924
add esp, 4
call fcn.00410931
mov bl, al
mov dword [esp + 0x10], 0
mov eax, dword [ebp]
mov dl, byte [esp + 0x10]
mov ecx, dword [ebp + 4]
mov dword [esp + 0x19], eax
mov eax, dword [ebp + 0xc]
mov byte [esp + 0x17], dl
mov edx, dword [ebp + 8]
mov dword [esp + 0x25], eax
mov byte [esp + 0x15], 0x31
mov byte [esp + 0x16], bl
mov dword [esp + 0x1d], ecx
mov dword [esp + 0x21], edx
xor eax, eax
nop
xor byte [esp + eax + 0x17], bl
add eax, 1
cmp eax, 0x12
jl 0x40c8f0
sub esp, 0x1c
mov ecx, 6
lea esi, [esp + 0x30]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
call fcn.0040a880
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x34]
mov byte [esp + 0x4c], al
mov eax, dword [esp + 0x74]
push edx
push eax
call fcn.0040a6d0
add esp, 0x28
test eax, eax
jne 0x40c95f
mov eax, dword [esp + 0x10]
add eax, 1
add ebp, 0x10
cmp eax, 8
mov dword [esp + 0x10], eax
jl 0x40c8c0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0040fac6
add esp, 0x40
ret 8
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 0x2c
call fcn.0040fac6
add esp, 0x40
ret 8
Function at 0x40cc30
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x40
mov eax, dword [0x427da0]
xor eax, esp
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x44]
imul eax, eax, 0x126
cmp dword [eax + 0x432bc8], 0
push ebx
push ebp
mov ebp, dword [esp + 0x50]
push esi
push edi
jne 0x40cc73
mov eax, 0xa2
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0040fac6
add esp, 0x40
ret 8
lea ecx, [esp + 0x14]
push 0x19
push ecx
call fcn.0040a4f0
add esp, 8
call fcn.00410931
mov bl, al
mov dword [esp + 0x10], 0
mov eax, dword [ebp]
mov dl, byte [esp + 0x10]
mov ecx, dword [ebp + 4]
mov dword [esp + 0x19], eax
mov eax, dword [ebp + 0xc]
mov byte [esp + 0x17], dl
mov edx, dword [ebp + 8]
mov dword [esp + 0x25], eax
mov byte [esp + 0x15], 0x37
mov byte [esp + 0x16], bl
mov dword [esp + 0x1d], ecx
mov dword [esp + 0x21], edx
xor eax, eax
xor byte [esp + eax + 0x17], bl
add eax, 1
cmp eax, 0x12
jl 0x40ccc0
sub esp, 0x1c
mov ecx, 6
lea esi, [esp + 0x30]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
call fcn.0040a880
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x34]
mov byte [esp + 0x4c], al
mov eax, dword [esp + 0x74]
push edx
push eax
call fcn.0040a6d0
add esp, 0x28
test eax, eax
jne 0x40cd18
mov eax, dword [esp + 0x10]
add eax, 1
add ebp, 0x10
cmp eax, 8
mov dword [esp + 0x10], eax
jl 0x40cc91
mov byte [esp + 0x16], bl
sub esp, 0x1c
xor bl, 8
mov byte [esp + 0x31], 0x37
mov byte [esp + 0x33], bl
mov ecx, 6
lea esi, [esp + 0x30]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
call fcn.0040a880
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x34]
mov byte [esp + 0x4c], al
mov eax, dword [esp + 0x74]
push edx
push eax
call fcn.0040a6d0
mov ecx, dword [esp + 0x74]
add esp, 0x28
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040fac6
add esp, 0x40
ret 8
Function at 0x40d010
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x40
mov eax, dword [0x427da0]
xor eax, esp
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x44]
imul eax, eax, 0x126
cmp dword [eax + 0x432bc8], 0
push ebx
push ebp
mov ebp, dword [esp + 0x50]
push esi
push edi
jne 0x40d053
mov eax, 0xa2
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0040fac6
add esp, 0x40
ret 8
lea ecx, [esp + 0x14]
push 0x19
push ecx
call fcn.0040a4f0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00410924
add esp, 4
call fcn.00410931
mov bl, al
mov dword [esp + 0x10], 0
mov eax, dword [ebp]
mov dl, byte [esp + 0x10]
mov ecx, dword [ebp + 4]
mov dword [esp + 0x19], eax
mov eax, dword [ebp + 0xc]
mov byte [esp + 0x17], dl
mov edx, dword [ebp + 8]
mov dword [esp + 0x25], eax
mov byte [esp + 0x15], 0x35
mov byte [esp + 0x16], bl
mov dword [esp + 0x1d], ecx
mov dword [esp + 0x21], edx
xor eax, eax
nop
xor byte [esp + eax + 0x17], bl
add eax, 1
cmp eax, 0x12
jl 0x40d0b0
sub esp, 0x1c
mov ecx, 6
lea esi, [esp + 0x30]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
call fcn.0040a880
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x34]
mov byte [esp + 0x4c], al
mov eax, dword [esp + 0x74]
push edx
push eax
call fcn.0040a6d0
add esp, 0x28
test eax, eax
jne 0x40d108
mov eax, dword [esp + 0x10]
add eax, 1
add ebp, 0x10
cmp eax, 8
mov dword [esp + 0x10], eax
jl 0x40d080
mov byte [esp + 0x16], bl
sub esp, 0x1c
xor bl, 8
mov byte [esp + 0x31], 0x35
mov byte [esp + 0x33], bl
mov ecx, 6
lea esi, [esp + 0x30]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
call fcn.0040a880
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x34]
mov byte [esp + 0x4c], al
mov eax, dword [esp + 0x74]
push edx
push eax
call fcn.0040a6d0
mov ecx, dword [esp + 0x74]
add esp, 0x28
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040fac6
add esp, 0x40
ret 8
Function at 0x40d2e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x3c
mov eax, dword [0x427da0]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
mov ebx, dword [esp + 0x44]
mov eax, ebx
imul eax, eax, 0x126
cmp dword [eax + 0x432bc8], 0
push esi
mov esi, dword [esp + 0x4c]
push edi
jne 0x40d323
mov eax, 0xa2
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0040fac6
add esp, 0x3c
ret 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00410924
add esp, 4
call fcn.00410931
mov dl, byte [esi + 1]
xor ecx, ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov byte [esp + 0x24], cl
movzx ecx, byte [esi]
xor cl, al
mov byte [esp + 0xf], cl
movzx ecx, byte [esi + 2]
xor cl, al
xor dl, al
mov byte [esp + 0x11], cl
mov byte [esp + 0xd], 0x91
mov byte [esp + 0xe], al
mov byte [esp + 0x10], dl
xor ecx, ecx
lea esp, [esp]
xor byte [esp + ecx + 0x12], al
add ecx, 1
cmp ecx, 0x12
jl 0x40d380
sub esp, 0x1c
mov ecx, 6
lea esi, [esp + 0x28]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
call fcn.0040a880
lea edx, [esp + 0x44]
mov byte [esp + 0x40], al
push edx
lea eax, [esp + 0x2c]
push eax
push ebx
call fcn.0040a6d0
mov ecx, dword [esp + 0x6c]
add esp, 0x28
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040fac6
add esp, 0x3c
ret 8

Function at 0x40d3d0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x40
mov eax, dword [0x427da0]
xor eax, esp
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x44]
imul eax, eax, 0x126
cmp dword [eax + 0x432bc8], 0
push ebx
push ebp
push esi
push edi
jne 0x40d40f
mov eax, 0xa2
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0040fac6
add esp, 0x40
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00410924
call fcn.00410931
cmp word [esp + 0x5c], 0
mov bl, al
setne al
lea ecx, [esp + 0x18]
push 0x19
push ecx
lea eax, [eax*8 + 8]
mov byte [esp + 0x1f], al
call fcn.0040a4f0
mov cl, byte [esp + 0x1f]
movzx edi, cl
mov dl, cl
xor dl, bl
add esp, 0xc
xor eax, eax
test edi, edi
mov byte [esp + 0x15], 0x41
mov byte [esp + 0x16], bl
mov byte [esp + 0x17], dl
jle 0x40d482
mov ebp, dword [esp + 0x5c]
lea ecx, [esp + 0x1a]
sub ebp, ecx
lea ecx, [ecx]
lea esi, [esp + eax + 0x1a]
mov dl, byte [esi + ebp]
xor dl, bl
add eax, 1
cmp eax, edi
mov byte [esi], dl
jl 0x40d470
sub esp, 0x1c
mov ecx, 6
lea esi, [esp + 0x30]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
call fcn.0040a880
mov edx, dword [esp + 0x70]
mov byte [esp + 0x48], al
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x34]
push ecx
push edx
call fcn.0040a6d0
add esp, 0x28
test eax, eax
jbe 0x40d4bc
mov eax, 0x28
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040fac6
add esp, 0x40
ret 0xc