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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push esi
push edi
mov edi, ecx
xor esi, esi
push 6
mov dword [ebp - 0xc], edi
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x4142de
movaps xmm0, xmmword [0x441190]
lea ecx, [ebp - 0x20]
push ebx
mov ebx, 0x80000000
mov edx, ebx
movups xmmword [ebp - 0x20], xmm0
call fcn.00414217
mov eax, dword [ebp - 0x20]
push 0x40
mov dword [ebp - 8], eax
lea eax, [ebp - 0x60]
push esi
push eax
call fcn.0041dab0
add esp, 0xc
cmp dword [ebp - 8], ebx
jb 0x4142d2
mov edx, ebx
lea ecx, [ebp - 0x20]
call fcn.00414217
cmp ebx, 0x80000002
jne 0x4142a8
lea edi, [ebp - 0x60]
jmp 0x4142c0
cmp ebx, 0x80000003
jne 0x4142b5
lea edi, [ebp - 0x50]
jmp 0x4142c0
cmp ebx, 0x80000004
jne 0x4142c7
lea edi, [ebp - 0x40]
lea esi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
inc ebx
cmp ebx, dword [ebp - 8]
jbe 0x414291
mov edi, dword [ebp - 0xc]
xor esi, esi
cmp byte [ebp - 0x60], 0
pop ebx
je 0x4142de
lea eax, [ebp - 0x60]
jmp 0x414307
mov eax, dword [0x440750]
mov dword [ebp - 8], eax
mov al, byte [0x440754]
mov byte [ebp - 4], al
xor edx, edx
mov eax, esi
push 0x35
pop ecx
div ecx
add dl, 0x34
xor byte [ebp + esi - 8], dl
inc esi
cmp esi, 5
jl 0x4142ee
lea eax, [ebp - 8]
push eax
mov ecx, edi
call fcn.004040bd
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x414315
Capabilities:
Encode data using xor

Disassembly:
push 0x2c
mov eax, 0x436cfe
call fcn.0041c6d0
mov dword [ebp - 0x18], ecx
mov esi, 0x43fe1c
lea edi, [ebp - 0x24]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov ecx, ebx
push 0x35
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x34
xor byte [ebp + ecx - 0x24], dl
inc ecx
cmp ecx, 0xb
jl 0x41433b
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, eax
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x4143b6
mov esi, str.sPBdAJNQp_K2__0D
lea edi, [ebp - 0x38]
push 0x35
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ebx
div esi
add dl, 0x34
xor byte [ebp + ebx - 0x38], dl
inc ebx
cmp ebx, 0x11
jl 0x414371
lea eax, [ebp - 0x38]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4143ad
push dword [ebp - 0x18]
call eax
push dword [ebp - 0x14]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
jmp 0x4143b9
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
or eax, 0xffffffff
call fcn.0041c635
ret
Function at 0x415acc
Capabilities:
Encode data using xor

Disassembly:
push 0x164
mov eax, 0x43706b
call fcn.0041c69a
mov ebx, ecx
mov dword [ebp - 0x130], ebx
push 6
pop ecx
mov esi, str.uQ_VHP_t_t
mov dword [ebp - 0x130], ebx
lea edi, [ebp - 0x14c]
rep movsd dword es:[edi], dword [esi]
push 0x36
xor ecx, ecx
movsw word es:[edi], word [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add edx, 0x34
xor word [ebp + ecx*2 - 0x14c], dx
inc ecx
cmp ecx, 0xd
jl 0x415b00
lea eax, [ebp - 0x14c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, eax
mov dword [ebp - 0x114], ecx
test ecx, ecx
je 0x415cab
mov esi, str.fPQp_MlZPH__
lea edi, [ebp - 0x124]
push 0x36
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
xor esi, esi
pop edi
xor edx, edx
mov eax, esi
div edi
add dl, 0x34
xor byte [ebp + esi - 0x124], dl
inc esi
cmp esi, 0xd
jl 0x415b48
lea eax, [ebp - 0x124]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x130], eax
test eax, eax
je 0x415c9f
cmp byte [0x440a27], 0
lea edi, [ebp - 0x160]
mov esi, str.CTZ__MeK_IV_XR_G_I_WLSY___.______.__8042T
mov dword [ebp - 0x114], 0x100
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x415bb6
push 0x36
xor ecx, ecx
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x34
xor byte [ebp + ecx - 0x160], dl
inc ecx
cmp ecx, 0xc
jl 0x415ba0
push 9
pop ecx
lea edi, [ebp - 0x154]
mov esi, str.gzpcoxh_PQQ_3_n47____
rep movsd dword es:[edi], dword [esi]
push 0x36
xor ecx, ecx
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x34
xor byte [ebp + ecx - 0x154], dl
inc ecx
cmp ecx, 0x24
jl 0x415bcb
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x110]
push eax
push 0
push 0xffff
lea eax, [ebp - 0x160]
push eax
lea eax, [ebp - 0x154]
push eax
push 0x80000001
call dword [ebp - 0x130]
test eax, eax
jne 0x415cab
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x12c]
call fcn.004040bd
and dword [ebp - 4], 0
lea ecx, [ebp - 0x148]
push 0x43f144
call fcn.004040bd
push 0x43f60c
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 1
call fcn.004040bd
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x16c]
lea ecx, [ebp - 0x12c]
call fcn.00406f5f
pop ecx
lea ecx, [ebp - 0x16c]
call fcn.00402636
lea ecx, [ebp - 0x148]
call fcn.00402636
lea eax, [ebp - 0x12c]
mov ecx, ebx
push eax
call fcn.00404084
lea ecx, [ebp - 0x12c]
call fcn.00402636
jmp 0x415cb7
push dword [ebp - 0x114]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x43f133
mov ecx, ebx
call fcn.004040bd
mov eax, ebx
call fcn.0041c649
ret
Function at 0x416095
Capabilities:
Encode data using xor

Disassembly:
push 0x54
mov eax, 0x437162
call fcn.0041c667
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x43f133
call fcn.004040bd
and dword [ebp - 4], 0
lea edi, [ebp - 0x30]
cmp byte [0x440bad], 0
mov esi, 0x440ba4
push 0x36
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop esi
je 0x4160e4
xor ecx, ecx
xor edx, edx
mov eax, ecx
div esi
add dl, 0x34
xor byte [ebp + ecx - 0x30], dl
inc ecx
cmp ecx, 0xa
jl 0x4160d1
sub esp, 0x18
lea eax, [ebp - 0x30]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.004040bd
mov byte [ebp - 4], 1
cmp byte [0x43f6ab], 0
mov eax, dword [str.UYZ7]
mov dword [ebp - 0x14], eax
je 0x41611f
xor ecx, ecx
xor edx, edx
mov eax, ecx
div esi
add dl, 0x34
xor byte [ebp + ecx - 0x14], dl
inc ecx
cmp ecx, 4
jl 0x41610c
sub esp, 0x18
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.004040bd
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x449498
call fcn.004058a5
push 0x1a
pop edx
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 3
call fcn.00405b8b
mov esi, str.hw_YYWY_
mov byte [ebp - 4], 4
lea edi, [ebp - 0x30]
xor ecx, ecx
push 0x36
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x34
xor byte [ebp + ecx - 0x30], dl
inc ecx
cmp ecx, 9
jl 0x416169
sub esp, 0x18
lea eax, [ebp - 0x30]
mov esi, esp
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x24], esi
push eax
call fcn.0040464d
push eax
mov ecx, esi
call fcn.00404084
push 0
xor dl, dl
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x48]
call fcn.004088dc
add esp, 0x7c
mov ecx, 0x449498
push eax
call fcn.004058f1
lea ecx, [ebp - 0x3c]
call fcn.0040412d
lea ecx, [ebp - 0x48]
call fcn.004041b7
lea ecx, [ebp - 0x60]
call fcn.00402636
call fcn.0041c635
ret
Function at 0x4161d4
Capabilities:
Encode data using xor

Disassembly:
push 0x64
mov eax, 0x4371ac
call fcn.0041c667
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x43f133
call fcn.004040bd
and dword [ebp - 4], 0
cmp byte [0x43f6ab], 0
mov eax, dword [str.UYZ7]
push 0x36
mov dword [ebp - 0x10], eax
pop esi
je 0x41621f
xor ecx, ecx
xor edx, edx
mov eax, ecx
div esi
add dl, 0x34
xor byte [ebp + ecx - 0x10], dl
inc ecx
cmp ecx, 4
jl 0x41620c
sub esp, 0x18
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.004040bd
mov byte [ebp - 4], 1
cmp byte [0x43f6ab], 0
mov eax, dword [str.UYZ7]
mov dword [ebp - 0x10], eax
je 0x41625a
xor ecx, ecx
xor edx, edx
mov eax, ecx
div esi
add dl, 0x34
xor byte [ebp + ecx - 0x10], dl
inc ecx
cmp ecx, 4
jl 0x416247
sub esp, 0x18
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.004040bd
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x449258
call fcn.004058a5
push 0x1a
pop edx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 3
call fcn.00405b8b
push 7
mov byte [ebp - 4], 4
lea edi, [ebp - 0x70]
cmp byte [0x440d11], 0
mov esi, str.hTBXUPYgpR__a
pop ecx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
je 0x4162c4
push 0x36
xor ecx, ecx
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x34
xor byte [ebp + ecx - 0x70], dl
inc ecx
cmp ecx, 0x1e
jl 0x4162b1
sub esp, 0x18
lea eax, [ebp - 0x70]
mov esi, esp
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x20], esi
push eax
call fcn.0040464d
push eax
mov ecx, esi
call fcn.00404084
push 0
xor dl, dl
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x38]
call fcn.004088dc
add esp, 0x7c
mov ecx, 0x449258
push eax
call fcn.004058f1
lea ecx, [ebp - 0x2c]
call fcn.0040412d
lea ecx, [ebp - 0x38]
call fcn.004041b7
lea ecx, [ebp - 0x50]
call fcn.00402636
call fcn.0041c635
ret
Function at 0x41631c
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push 0x5c
mov eax, 0x4371f6
call fcn.0041c667
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x43f133
call fcn.004040bd
and dword [ebp - 4], 0
cmp byte [0x43f6ab], 0
mov eax, dword [str.UYZ7]
push 0x36
mov dword [ebp - 0x10], eax
pop esi
je 0x416367
xor ecx, ecx
xor edx, edx
mov eax, ecx
div esi
add dl, 0x34
xor byte [ebp + ecx - 0x10], dl
inc ecx
cmp ecx, 4
jl 0x416354
sub esp, 0x18
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.004040bd
mov byte [ebp - 4], 1
cmp byte [0x43f6ab], 0
mov eax, dword [str.UYZ7]
mov dword [ebp - 0x10], eax
je 0x4163a2
xor ecx, ecx
xor edx, edx
mov eax, ecx
div esi
add dl, 0x34
xor byte [ebp + ecx - 0x10], dl
inc ecx
cmp ecx, 4
jl 0x41638f
sub esp, 0x18
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.004040bd
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x449210
call fcn.004058a5
push 0x1a
pop edx
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call fcn.00405b8b
push 5
mov byte [ebp - 4], 4
lea edi, [ebp - 0x38]
cmp byte [0x4409e9], 0
mov esi, str.hpNXLIgYEQ_52l4____I
pop ecx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
je 0x41640c
push 0x36
xor ecx, ecx
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x34
xor byte [ebp + ecx - 0x38], dl
inc ecx
cmp ecx, 0x16
jl 0x4163f9
sub esp, 0x18
lea eax, [ebp - 0x38]
mov esi, esp
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x20], esi
push eax
call fcn.0040464d
push eax
mov ecx, esi
call fcn.00404084
push 0
xor dl, dl
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x50]
call fcn.004088dc
add esp, 0x7c
mov ecx, 0x449210
push eax
call fcn.004058f1
lea ecx, [ebp - 0x44]
call fcn.0040412d
lea ecx, [ebp - 0x50]
call fcn.004041b7
lea ecx, [ebp - 0x68]
call fcn.00402636
call fcn.0041c635
ret
Function at 0x418ec5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 0xc], edx
mov ebx, ecx
call fcn.00418de8
mov eax, dword [ebx + 0x1af68]
lea esi, [ebx + 0x1af64]
dec eax
lea ecx, [ebx + 0x10]
lea edi, [ebx + 0x1af60]
mov dword [ebp - 4], ecx
cmp dword [esi], eax
jb 0x418f0a
push esi
push dword [edi]
push dword [ebx]
call dword [ecx]
lea eax, [ebx + 0x1af64]
add esp, 0xc
mov dword [ebp - 8], eax
jmp 0x418f10
mov dword [ebp - 4], ecx
mov dword [ebp - 8], esi
mov ecx, dword [esi]
mov eax, dword [edi]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x10], esi
mov byte [ecx + eax], dl
mov edx, dword [esi]
mov eax, dword [ebp + 8]
inc edx
movzx ecx, ax
mov eax, dword [edi]
mov dword [ebp - 0x14], ecx
shr ecx, 8
mov dword [esi], edx
mov byte [edx + eax], cl
mov ecx, dword [esi]
mov eax, dword [ebx + 0x1af68]
inc ecx
dec eax
mov dword [esi], ecx
cmp ecx, eax
jb 0x418f56
mov eax, dword [ebp - 4]
push esi
push dword [edi]
push dword [ebx]
call dword [eax]
mov eax, dword [ebp - 8]
add esp, 0xc
mov dword [ebp - 0x10], eax
mov ecx, dword [esi]
mov eax, dword [edi]
mov dl, byte [ebp + 8]
not dl
mov byte [ecx + eax], dl
mov ecx, dword [esi]
mov edx, dword [ebp - 0x14]
inc ecx
mov eax, dword [edi]
not edx
shr edx, 8
mov dword [esi], ecx
mov byte [ecx + eax], dl
lea ecx, [ebx + 0x1af6c]
inc dword [esi]
add dword [ecx], 0x20
cmp dword [ebx + 0x1af54], 0
mov edx, dword [esi]
mov dword [ebp - 0x14], ecx
je 0x418faf
push esi
push dword [edi]
mov edi, dword [ebp - 4]
push dword [ebx]
call dword [edi]
mov eax, dword [ebp + 8]
push esi
push dword [ebp - 0xc]
mov dword [esi], eax
push dword [ebx]
call dword [edi]
mov ecx, dword [ebp - 0x14]
add esp, 0x18
mov edx, dword [ebp + 8]
jmp 0x419011
mov ecx, dword [ebp + 8]
lea eax, [edx + ecx]
cmp eax, dword [ebx + 0x1af68]
jbe 0x418ff2
push 0xc
pop ecx
mov esi, 0x441130
lea edi, [ebp - 0x48]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
movsw word es:[edi], word [esi]
xor edx, edx
mov eax, ecx
push 0x37
pop esi
div esi
add dl, 0x32
xor byte [ebp + ecx - 0x48], dl
inc ecx
cmp ecx, 0x32
jl 0x418fce
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x48]
mov dword [ebx + 0x6afa4], eax
jmp 0x41900b
mov eax, dword [edi]
push ecx
push dword [ebp - 0xc]
add eax, edx
push eax
call fcn.0041d350
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov edx, dword [ebp + 8]
add dword [eax], edx
lea ecx, [ebx + 0x1af6c]
pop edi
shl edx, 3
add dword [ecx], edx
pop esi
pop ebx
leave
ret
Function at 0x41901b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov esi, 0x441114
mov dword [ebp - 8], edx
lea edi, [ebp - 0x18]
mov byte [ebp - 1], 1
mov ebx, ecx
lea eax, [edx - 1]
xor ecx, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
cmp eax, 7
jbe 0x419048
mov byte [ebp - 1], cl
mov esi, ecx
xor edx, edx
mov eax, esi
push 0x37
pop edi
div edi
add dl, 0x32
xor byte [ebp + esi - 0x18], dl
inc esi
cmp esi, 0xf
jl 0x41904a
cmp byte [ebp - 1], cl
jne 0x41906e
lea eax, [ebp - 0x18]
mov dword [ebx + 0x6afa4], eax
mov dword [ebx + 0x6af78], ecx
cmp dword [ebx + 0x6af70], ecx
jne 0x419090
mov dword [ebx + 0x6af78], 1
mov dword [ebx + 0x6af70], 0x10000
push 0x1fffc
push ecx
lea eax, [ebx + 0x4af70]
mov dword [ebx + 0x6af6c], ecx
push eax
call fcn.0041dab0
mov ecx, dword [ebp - 8]
add esp, 0xc
movzx eax, word [ecx*8 + 0x43f06a]
mov dword [ebx + 0x6af98], eax
movzx eax, word [ecx*8 + 0x43f068]
mov dword [ebx + 0x6af9c], eax
movzx eax, word [ecx*8 + 0x43f06c]
push 2
mov dword [ebx + 0x6afa0], eax
movzx eax, word [ecx*8 + 0x43f06e]
pop edi
mov dword [ebx + 0x6af94], eax
cmp ecx, edi
jg 0x4190f6
mov eax, dword [ebp + 8]
or word [eax], 4
jmp 0x419101
cmp ecx, 8
jl 0x419101
mov eax, dword [ebp + 8]
or word [eax], di
push 0x10000
lea eax, [ebx + 0x1af70]
xor esi, esi
push eax
push ebx
mov dword [ebx + 0x6af84], esi
mov dword [ebx + 0x6af74], esi
call dword [ebx + 0xc]
add esp, 0xc
mov dword [ebx + 0x6af90], eax
test eax, eax
je 0x41916d
cmp eax, 0xffffffff
je 0x41916d
mov dword [ebx + 0x6af8c], esi
cmp eax, 0x106
jae 0x419145
mov ecx, ebx
call fcn.004192ec
mov dword [ebx + 0x6af7c], esi
mov ecx, esi
movzx eax, byte [ebx + esi + 0x1af70]
shl ecx, 5
xor ecx, eax
and ecx, 0x7fff
inc esi
mov dword [ebx + 0x6af7c], ecx
cmp esi, edi
jb 0x41914d
jmp 0x41917d
mov dword [ebx + 0x6af8c], 1
mov dword [ebx + 0x6af90], esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x419423
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov ecx, ebx
push edi
mov dword [ebp - 4], ecx
mov edi, ebx
mov dword [esi + 0x6af80], 2
jmp 0x41961c
cmp eax, 3
jb 0x41949c
mov edx, dword [esi + 0x6af84]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
movzx ecx, byte [edx + esi + 0x1af72]
xor ecx, eax
and ecx, 0x7fff
and edx, 0x7fff
mov dword [esi + 0x6af7c], ecx
mov eax, dword [esi + ecx*4 + 0x4af70]
mov dword [esi + edx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af7c]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af84]
mov dword [esi + ecx*4 + 0x4af70], eax
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x4194d9
mov eax, dword [esi + 0x6af84]
sub eax, ecx
cmp eax, 0x7efa
ja 0x4194d9
mov eax, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], eax
jbe 0x4194c3
mov dword [esi + 0x6afa0], eax
mov edx, ecx
mov ecx, esi
call fcn.00419182
mov ecx, dword [esi + 0x6af90]
mov edi, eax
cmp edi, ecx
cmova edi, ecx
mov ecx, dword [esi + 0x6af84]
cmp edi, 3
jb 0x4195a8
sub ecx, dword [esi + 0x6af88]
lea eax, [edi - 3]
mov edx, ecx
mov ecx, esi
push eax
call fcn.00418a65
pop ecx
mov ecx, dword [esi + 0x6af90]
sub ecx, edi
mov dword [ebp - 8], eax
mov dword [esi + 0x6af90], ecx
cmp edi, dword [esi + 0x6af98]
ja 0x419577
cmp ecx, 3
jb 0x419577
dec edi
inc dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af84]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
movzx ecx, byte [edx + esi + 0x1af72]
and edx, 0x7fff
xor ecx, eax
and ecx, 0x7fff
mov dword [esi + 0x6af7c], ecx
mov eax, dword [esi + ecx*4 + 0x4af70]
mov dword [esi + edx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af7c]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af84]
mov dword [esi + ecx*4 + 0x4af70], eax
sub edi, 1
jne 0x41951b
jmp 0x4195c4
add dword [esi + 0x6af84], edi
mov edi, ebx
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [edx + esi + 0x1af70]
mov dword [esi + 0x6af7c], ecx
movzx eax, byte [edx + esi + 0x1af71]
shl ecx, 5
xor eax, ecx
mov dword [esi + 0x6af7c], eax
jmp 0x4195d0
movzx eax, byte [ecx + esi + 0x1af70]
xor edx, edx
push eax
mov ecx, esi
call fcn.00418a65
dec dword [esi + 0x6af90]
pop ecx
mov dword [ebp - 8], eax
inc dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af84]
cmp dword [ebp - 8], ebx
je 0x419606
mov eax, dword [esi + 0x6af74]
test eax, eax
js 0x4195e9
lea ecx, [esi + 0x1af70]
add ecx, eax
jmp 0x4195eb
mov ecx, ebx
sub edx, eax
push ebx
push edx
mov edx, ecx
mov ecx, esi
call fcn.00418876
mov eax, dword [esi + 0x6af84]
pop ecx
pop ecx
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x419619
mov ecx, esi
call fcn.004192ec
mov ecx, dword [ebp - 4]
mov eax, dword [esi + 0x6af90]
test eax, eax
jne 0x419445
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
js 0x41963c
lea ebx, [esi + 0x1af70]
add ebx, ecx
mov eax, dword [esi + 0x6af84]
mov edx, ebx
sub eax, ecx
mov ecx, esi
push 1
push eax
call fcn.00418876
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41a2d9
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x41a2e4
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x41a3a0
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x43eb28]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x43eb28]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x43eb28]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x43eb28]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x43eb28]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x43eb28]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x43eb28]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x43eb28]
sub edi, 1
jne 0x41a2f9
pop edi
test esi, esi
je 0x41a3bc
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x43eb28]
inc edx
sub esi, 1
jne 0x41a3a4
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x41a3c3
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push esi
mov esi, ecx
movsx eax, dl
mov ecx, dword [esi]
xor eax, ecx
movzx eax, al
shr ecx, 8
xor ecx, dword [eax*4 + 0x43eb28]
movzx eax, cl
add eax, dword [esi + 4]
imul eax, eax, 0x8088405
mov dword [esi], ecx
mov ecx, dword [esi + 8]
inc eax
mov dword [esi + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x43eb28]
mov dword [esi + 8], ecx
pop esi
ret
Function at 0x41a427
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, ecx
push esi
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x41a433
sub edx, esi
lea esi, [edx + ecx]
jmp 0x41a447
cmp byte [esi], 0x2e
je 0x41a459
dec esi
cmp esi, ecx
ja 0x41a441
jne 0x41a459
cmp byte [esi], 0x2e
je 0x41a459
xor al, al
jmp 0x41a62e
mov ax, word [0x441100]
push ebx
push edi
mov word [ebp - 8], ax
xor edi, edi
mov al, byte [0x441102]
mov ecx, edi
push 0x32
mov byte [ebp - 6], al
mov dword [ebp - 0x10], 0x37
pop ebx
xor edx, edx
mov eax, ecx
div dword [ebp - 0x10]
add dl, bl
xor byte [ebp + ecx - 8], dl
inc ecx
cmp ecx, 3
jl 0x41a47b
lea eax, [ebp - 8]
push eax
push esi
call fcn.004250fd
pop ecx
pop ecx
test eax, eax
je 0x41a62a
mov eax, dword [0x4410f8]
mov ecx, edi
mov dword [ebp - 8], eax
mov al, byte [0x4410fc]
mov byte [ebp - 4], al
xor edx, edx
mov eax, ecx
div dword [ebp - 0x10]
add dl, bl
xor byte [ebp + ecx - 8], dl
inc ecx
cmp ecx, 5
jl 0x41a4b4
lea eax, [ebp - 8]
push eax
push esi
call fcn.004250fd
pop ecx
pop ecx
test eax, eax
je 0x41a62a
mov eax, dword [0x441164]
mov ecx, edi
mov dword [ebp - 8], eax
mov al, byte [0x441168]
mov byte [ebp - 4], al
xor edx, edx
mov eax, ecx
div dword [ebp - 0x10]
add dl, bl
xor byte [ebp + ecx - 8], dl
inc ecx
cmp ecx, 5
jl 0x41a4ed
lea eax, [ebp - 8]
push eax
push esi
call fcn.004250fd
pop ecx
pop ecx
test eax, eax
je 0x41a62a
mov eax, dword [0x441104]
mov ecx, edi
mov dword [ebp - 8], eax
mov al, byte [0x441108]
mov byte [ebp - 4], al
xor edx, edx
mov eax, ecx
div dword [ebp - 0x10]
add dl, bl
xor byte [ebp + ecx - 8], dl
inc ecx
cmp ecx, 5
jl 0x41a526
lea eax, [ebp - 8]
push eax
push esi
call fcn.004250fd
pop ecx
pop ecx
test eax, eax
je 0x41a62a
mov eax, dword [0x44110c]
mov ecx, edi
mov dword [ebp - 8], eax
mov al, byte [0x441110]
mov byte [ebp - 4], al
xor edx, edx
mov eax, ecx
div dword [ebp - 0x10]
add dl, bl
xor byte [ebp + ecx - 8], dl
inc ecx
cmp ecx, 5
jl 0x41a55f
lea eax, [ebp - 8]
push eax
push esi
call fcn.004250fd
pop ecx
pop ecx
test eax, eax
je 0x41a62a
mov eax, dword [0x4410b8]
mov ecx, edi
mov dword [ebp - 8], eax
mov al, byte [0x4410bc]
mov byte [ebp - 4], al
xor edx, edx
mov eax, ecx
div dword [ebp - 0x10]
add dl, bl
xor byte [ebp + ecx - 8], dl
inc ecx
cmp ecx, 5
jl 0x41a598
lea eax, [ebp - 8]
push eax
push esi
call fcn.004250fd
pop ecx
pop ecx
test eax, eax
je 0x41a62a
cmp byte [0x44112f], 0
mov eax, dword [0x44112c]
mov dword [ebp - 8], eax
je 0x41a5e1
mov ecx, edi
xor edx, edx
mov eax, ecx
div dword [ebp - 0x10]
add dl, bl
xor byte [ebp + ecx - 8], dl
inc ecx
cmp ecx, 4
jl 0x41a5ce
lea eax, [ebp - 8]
push eax
push esi
call fcn.004250fd
pop ecx
pop ecx
test eax, eax
je 0x41a62a
mov eax, dword [0x441124]
mov dword [ebp - 0x10], eax
mov al, byte [0x441128]
push 0x37
mov byte [ebp - 0xc], al
pop ecx
xor edx, edx
mov eax, edi
div ecx
add dl, bl
xor byte [ebp + edi - 0x10], dl
inc edi
cmp edi, 5
jl 0x41a604
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.004250fd
neg eax
pop ecx
sbb al, al
pop ecx
inc al
jmp 0x41a62c
mov al, 1
pop edi
pop ebx
pop esi
leave
ret