joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45f7c7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x90
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push 0x34
mov ebx, eax
lea eax, [esp + 0x24]
push ebp
push eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x1c], ebp
call fcn.00467467
push 0x18
lea ecx, [esp + 0x74]
push ebp
push ecx
call fcn.00467467
push 0x24
lea edx, [esp + 0x98]
push ebp
push edx
call fcn.00467467
mov edi, ebx
add esp, 0x24
and edi, 2
lea eax, [esp + 0x64]
mov dword [esp + 0x40], eax
jne 0x45f82d
lea ecx, [esp + 0x54]
lea edx, [esp + 0x7c]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x58], edx
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x24], 0x637476
call fcn.004659e7
add esp, 4
test eax, eax
jne 0x45f84e
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xac]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0xac]
push eax
push ecx
push edx
call fcn.00463d37
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x45f8aa
mov eax, dword [esp + 0xb8]
mov edx, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
push edx
call fcn.004632f7
mov esi, eax
mov eax, dword [esp + 0x28]
push eax
call fcn.004618e7
add esp, 0x10
test esi, esi
jne 0x45f8aa
mov ebp, 1
jmp 0x45f8d9
test bl, 1
je 0x45f995
push 0x10
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0x10
call fcn.0046ab87
add esp, 4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 0
and ebx, 1
je 0x45f94c
mov eax, dword [esp + 0xb0]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0xb0]
push edi
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0xb0]
push eax
push ecx
push edx
call fcn.0046a977
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x45f995
mov esi, dword [esp + 0x40]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x4c], 0
call fcn.00464e77
add esp, 0xc
test eax, eax
mov dword [esp + 0x40], esi
jne 0x45f990
mov eax, dword [esp + 0x14]
test eax, eax
je 0x45f957
xor eax, eax
xor ecx, ecx
jmp 0x45f965
test ebp, ebp
jne 0x45f913
mov esi, 7
jmp 0x45f995
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xbc]
push edx
mov edx, dword [esp + 0xb8]
push ebx
push edx
push ecx
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
call fcn.0046a847
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x45f995
mov esi, 0x2bb
mov eax, dword [esp + 0x10]
test eax, eax
je 0x45f9a6
push eax
call fcn.0047a0c7
add esp, 4
mov eax, dword [esp + 0x40]
test eax, eax
je 0x45f9de
xor edi, edi
lea esp, [esp]
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 0x14]
test eax, eax
je 0x45f9d6
mov eax, dword [eax + 4]
mov eax, dword [eax + edi + 8]
test eax, eax
je 0x45f9d6
push eax
call fcn.0047a0c7
add esp, 4
add edi, 0xc
cmp edi, 0x24
jb 0x45f9b7
mov eax, dword [esp + 0x44]
test eax, eax
je 0x45f9ef
push eax
call fcn.0047a0c7
add esp, 4
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x45fa00
push eax
call fcn.0047a0c7
add esp, 4
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x45fa11
push eax
call fcn.0047a0c7
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
Function at 0x467997
Capabilities:
Hash data using sha1

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x5c
push 0
push esi
call fcn.0048a157
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
pop esi
ret

Function at 0x4679e7
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, eax
mov eax, dword [0x4e4190]
and eax, 0xff00
cmp eax, 0x5000
je 0x467a34
shr edi, 2
xor edx, edx
test edi, edi
jle 0x467a34
push ebx
mov edi, edi
mov ecx, dword [esi + edx*4]
mov eax, ecx
shl ecx, 0x10
shr eax, 0x10
or eax, ecx
mov ecx, eax
shr ecx, 8
mov ebx, eax
shl ebx, 8
xor ecx, ebx
and ecx, 0xff00ff
shl eax, 8
xor ecx, eax
mov dword [esi + edx*4], ecx
inc edx
cmp edx, edi
jl 0x467a07
pop ebx
pop edi
ret
Function at 0x46a207
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
cmp dword [ebx], 0
push ebp
push edi
je 0x46a223
pop edi
mov dword [esp + 0xc], 0xdd
mov eax, dword [esp + 0xc]
pop ebp
pop ebx
ret
mov eax, dword [esp + 0x10]
movzx edx, byte [eax + 2]
xor ecx, ecx
mov ch, byte [eax]
push esi
mov cl, byte [eax + 1]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 3]
shl ecx, 8
or ecx, edx
cmp ecx, 0x54534421
jne 0x46a26a
movzx esi, byte [eax + 6]
xor edx, edx
mov dh, byte [eax + 4]
mov ecx, 1
mov dl, byte [eax + 5]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 7]
shl edx, 8
or edx, esi
jmp 0x46a28a
mov edx, dword [eax]
xor ecx, ecx
cmp edx, 0x54534421
je 0x46a287
pop esi
pop edi
mov dword [esp + 0xc], 0xd8
mov eax, dword [esp + 0xc]
pop ebp
pop ebx
ret
mov edx, dword [eax + 4]
cmp edx, 2
je 0x46a2a0
pop esi
pop edi
mov dword [esp + 0xc], 0xdf
mov eax, dword [esp + 0xc]
pop ebp
pop ebx
ret
cmp ecx, 1
jne 0x46a2c1
movzx edx, byte [eax + 0x16]
xor ecx, ecx
mov ch, byte [eax + 0x14]
mov cl, byte [eax + 0x15]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 0x17]
shl ecx, 8
or ecx, edx
jmp 0x46a2c4
mov ecx, dword [eax + 0x14]
add ecx, 0x20
push ecx
push eax
call fcn.0048b857
mov esi, eax
add esp, 8
test esi, esi
je 0x46a36c
push ebx
push esi
call fcn.0048b067
mov edi, eax
push esi
mov dword [esp + 0x20], edi
call fcn.0048b7f7
add esp, 0xc
test edi, edi
jne 0x46a374
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
xor ebp, ebp
test ecx, ecx
jbe 0x46a374
xor ebx, ebx
jmp 0x46a307
mov esi, dword [eax + 0x14]
mov ecx, dword [esi + ebx]
mov edx, dword [eax + 0x18]
add esi, ebx
lea eax, [edx + ecx*8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
push ecx
push edx
call fcn.0048b797
mov edi, eax
add esp, 8
test edi, edi
je 0x46a35d
push edi
call fcn.00469e17
push edi
mov dword [esi + 0xc], eax
call fcn.0048b467
mov eax, dword [esi + 0xc]
add esp, 8
test eax, eax
mov eax, dword [esp + 0x18]
je 0x46a37d
mov eax, dword [eax]
mov ecx, dword [eax + 8]
inc ebp
add ebx, 0x10
cmp ebp, ecx
jb 0x46a307
mov eax, dword [esp + 0x14]
pop esi
pop edi
pop ebp
pop ebx
ret
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
push edx
call fcn.00469cf7
add esp, 4
mov dword [esp + 0x14], 0xc
mov eax, dword [esp + 0x14]
pop esi
pop edi
pop ebp
pop ebx
ret
mov ecx, dword [eax]
push ecx
call fcn.00469cf7
add esp, 4
pop esi
pop edi
mov dword [esp + 0xc], 0x7d1
mov eax, dword [esp + 0xc]
pop ebp
pop ebx
ret
Function at 0x471f17
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
test cx, cx
push ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 4], eax
jbe 0x471fb9
push ebp
movzx ecx, cx
push esi
push edi
mov dword [esp + 0x1c], ecx
jmp 0x471f47
mov eax, dword [esp + 0x10]
jmp 0x471f47
mov edi, dword [eax + 4]
mov ebp, dword [eax]
mov dword [esp + 0x18], 0x10
lea ecx, [ecx]
xor ecx, ecx
mov cl, bl
lea edx, [esp + 0x14]
mov dword [esp + 0x14], edi
and ecx, 0xf
call fcn.00471ee7
mov edx, dword [esp + 0x14]
mov esi, ebp
xor esi, edx
mov ecx, 2
lea edx, [esp + 0x24]
xor esi, ebx
call fcn.0048e877
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
dec eax
mov ebp, edi
mov edi, esi
mov dword [esp + 0x18], eax
jne 0x471f57
mov eax, dword [esp + 0x10]
mov dword [eax + 4], esi
mov dword [eax], ebp
add eax, 8
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
inc ebx
dec eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], eax
jne 0x471f38
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x471fc7
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
test ax, ax
push ebp
mov ebp, dword [esp + 0x10]
jbe 0x472050
push ebx
movzx eax, ax
push esi
mov dword [esp + 0x10], eax
push edi
jmp 0x471fe7
mov esi, dword [ebp]
mov edi, dword [ebp + 4]
mov dword [esp + 0x10], 0x10
mov edi, edi
mov ecx, 2
lea edx, [esp + 0x20]
call fcn.00471ee7
mov ebx, dword [esp + 0x20]
xor ecx, ecx
mov cl, bl
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], esi
and ecx, 0xf
call fcn.00471ee7
mov ecx, dword [esp + 0x10]
mov eax, edi
xor eax, dword [esp + 0x1c]
xor eax, ebx
dec ecx
mov edi, esi
mov esi, eax
mov dword [esp + 0x10], ecx
jne 0x471ff7
mov dword [ebp], eax
mov eax, dword [esp + 0x14]
mov dword [ebp + 4], edi
add ebp, 8
inc ebx
dec eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], eax
jne 0x471fe7
pop edi
pop esi
pop ebx
pop ebp
add esp, 8
ret

Function at 0x472317
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
movzx eax, byte [esi + 2]
movzx ecx, byte [eax + 0x4e4be8]
mov eax, 4
cmp edi, eax
jle 0x472349
push ebx
mov bl, byte [eax + esi]
mov edx, ecx
and edx, 0xff
mov dl, byte [edx + 0x4e4be8]
xor bl, dl
inc ecx
mov byte [eax + esi], bl
inc eax
cmp eax, edi
jl 0x47232c
pop ebx
ret

Function at 0x472497
Capabilities:
Check if process is running under wine

Disassembly:
push ecx
mov eax, dword [0x54e220]
test eax, eax
mov dword [esp], 0
jne 0x47251c
push esi
push 0x4e4d6c
mov dword [0x54e220], 1
call dword [fcn.0045f183]
mov esi, eax
test esi, esi
je 0x47251b
push ebx
push edi
mov edi, dword [fcn.0045f17a]
push 0x4e4d7c
push esi
call edi
mov ebx, eax
test ebx, ebx
je 0x472512
push 0x4e4d88
push esi
call edi
mov edi, eax
test edi, edi
je 0x472512
lea eax, [esp + 0xc]
push eax
push 0x4e4d94
push 0x80000002
call ebx
test eax, eax
jne 0x472512
mov eax, dword [esp + 0xc]
test eax, eax
je 0x472508
push eax
call edi
mov dword [0x54e21c], 1
push esi
call dword [fcn.0045f171]
pop edi
pop ebx
pop esi
pop ecx
ret
Function at 0x4726e7
Capabilities:
Encode data using xor

Disassembly:
mov dx, word [eax + 0x2c]
mov ecx, dword [esp + 4]
mov word [ecx], dx
mov dx, word [eax + 0x2e]
mov word [ecx + 2], dx
mov dx, word [eax + 0x28]
mov word [ecx + 4], dx
mov dx, word [eax + 0x2a]
mov word [ecx + 6], dx
mov edx, dword [esp + 8]
sub esp, 8
dec word [eax + 0x18]
mov edx, dword [edx]
test byte [edx + 0x4d], 1
push edi
mov di, word [eax + 0x18]
jne 0x472738
mov dl, byte [eax + 0x1c]
cmp dl, 2
jb 0x47272f
cmp dl, 0x34
jbe 0x472738
mov ax, 7
pop edi
add esp, 8
ret
test di, di
je 0x4728d0
cmp di, 0x1fff
ja 0x4728d0
add ecx, 8
test di, di
mov dword [esp + 0x10], ecx
jbe 0x4728d0
push ebx
push ebp
jmp 0x472767
mov ecx, dword [esp + 0x18]
lea ecx, [ecx]
mov dx, word [ecx]
mov word [eax + 0x28], dx
mov dx, word [ecx + 2]
mov word [eax + 0x2a], dx
mov dx, word [ecx + 4]
mov word [eax + 0x2c], dx
mov cx, word [ecx + 6]
mov word [eax + 0x2e], cx
lea ecx, [eax + 2]
mov dword [esp + 0xc], ecx
mov ebp, eax
mov dword [esp + 0x10], 6
mov dx, word [eax + 0x2c]
mov bl, dl
mov word [eax + 0x20], dx
mov cx, word [eax + 0x2e]
mov byte [esp + 0x1c], bl
mov bl, dh
xor bl, dl
movzx dx, dl
mov word [eax + 0x22], cx
movzx di, bl
mov bl, cl
shl edi, 8
add edi, edx
mov dl, ch
xor dl, bl
movzx dx, dl
and ecx, 0xff00
mov word [eax + 0x2c], di
add ecx, edx
mov word [eax + 0x2e], cx
mov dx, word [ebp]
xor dx, di
mov edi, dword [esp + 0xc]
mov word [eax + 0x2c], dx
mov dx, word [edi]
xor dx, cx
mov word [eax + 0x2e], dx
mov cl, byte [esi + 2]
add cl, byte [esi + 1]
inc cl
mov dl, cl
shr dl, 7
shl cl, 1
or dl, cl
mov bl, dl
shl dl, 1
shr bl, 7
or bl, dl
mov dl, byte [esi]
add dl, bl
mov cl, dl
shl dl, 1
shr cl, 7
or cl, dl
mov dl, cl
shr dl, 7
shl cl, 1
or dl, cl
mov byte [esi], dl
mov dl, byte [esi + 2]
add dl, bl
mov cl, dl
shr cl, 7
shl dl, 1
or cl, dl
mov dl, cl
shl cl, 1
shr dl, 7
or dl, cl
mov cl, byte [esi + 3]
add cl, dl
mov byte [esi + 2], dl
inc cl
mov dl, cl
shl cl, 1
shr dl, 7
or dl, cl
mov cl, dl
shr cl, 7
shl dl, 1
or cl, dl
mov byte [esi + 1], bl
mov byte [esi + 3], cl
mov dx, word [eax + 0x28]
xor word [eax + 0x2c], dx
mov cx, word [eax + 0x2a]
mov dx, word [eax + 0x20]
xor word [eax + 0x2e], cx
mov cx, word [eax + 0x22]
mov word [eax + 0x28], dx
mov word [eax + 0x2a], cx
mov ecx, dword [esp + 0x10]
add edi, 4
add ebp, 4
dec ecx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ecx
jne 0x472797
mov ecx, dword [esp + 0x18]
mov dx, word [eax + 0x2c]
mov word [ecx], dx
mov dx, word [eax + 0x2e]
mov word [ecx + 2], dx
mov dx, word [eax + 0x28]
mov word [ecx + 4], dx
mov dx, word [eax + 0x2a]
mov word [ecx + 6], dx
dec word [eax + 0x18]
add ecx, 8
cmp word [eax + 0x18], 0
mov dword [esp + 0x18], ecx
ja 0x472760
pop ebp
pop ebx
xor ax, ax
pop edi
add esp, 8
ret
Function at 0x472dd7
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov ebp, 0xc
jmp 0x472de7
mov ebx, dword [edi + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + ebp*8 + 4]
mov edx, dword [edi]
sub edx, ecx
mov esi, ebx
shr esi, 7
and esi, 0x1f
mov eax, edx
mov ecx, 0x20
sub ecx, esi
shl eax, cl
mov ecx, esi
shr edx, cl
mov ecx, dword [esp + 0x10]
or eax, edx
xor eax, ebx
mov dword [edi], eax
mov edx, dword [ecx + ebp*8]
lea esi, [edx + ebx]
mov edx, eax
shr edx, 4
and edx, 0x1f
mov ecx, 0x20
sub ecx, edx
mov ebx, esi
shl ebx, cl
mov ecx, edx
shr esi, cl
or ebx, esi
xor ebx, eax
dec ebp
mov dword [edi + 4], ebx
jne 0x472de7
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
sub dword [edi], ecx
mov edx, dword [eax]
mov eax, ebx
pop esi
sub eax, edx
pop ebp
mov dword [edi + 4], eax
pop ebx
ret
Function at 0x47c227
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebx
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 4], ebx
jle 0x47c2b7
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
xor edi, edi
xor esi, esi
nop
lea eax, [edi + 1]
and eax, 0x800000ff
jns 0x47c258
dec eax
or eax, 0xffffff00
inc eax
movzx edi, al
movzx eax, byte [edi + ebp]
lea ecx, [edi + ebp]
add eax, ebx
and eax, 0x800000ff
jns 0x47c272
dec eax
or eax, 0xffffff00
inc eax
movzx ebx, al
lea eax, [ebx + ebp]
call fcn.0047c217
movzx ecx, byte [ecx]
movzx edx, byte [eax]
add ecx, edx
and ecx, 0x800000ff
jns 0x47c295
dec ecx
or ecx, 0xffffff00
inc ecx
movzx eax, cl
mov cl, byte [eax + ebp]
mov eax, dword [esp + 0x18]
xor byte [esi + eax], cl
mov eax, dword [esp + 0x10]
inc eax
movsx esi, ax
mov dword [esp + 0x10], eax
cmp esi, dword [esp + 0x1c]
jl 0x47c247
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x47c2c7
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
push edi
xor eax, eax
mov ecx, ebx
lea esp, [esp]
mov byte [ecx], al
inc eax
inc ecx
cmp ax, 0x100
jl 0x47c2d7
xor dl, dl
xor esi, esi
mov ecx, ebx
mov ebp, pe_nt_image_headers32
mov eax, dword [esp + 0x14]
movzx edi, dl
movzx eax, byte [edi + eax]
movzx edx, byte [ecx]
sub eax, edx
add eax, esi
and eax, 0x800000ff
jns 0x47c30c
dec eax
or eax, 0xffffff00
inc eax
movzx esi, al
lea eax, [esi + ebx]
call fcn.0047c217
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x18]
inc ecx
dec ebp
jne 0x47c2ec
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x47cc37
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0xc]
xor eax, eax
test edi, edi
jbe 0x47cc8f
push ebx
push esi
mov esi, dword [esp + 0x10]
movzx edx, byte [esi]
mov ecx, eax
and ecx, 0xf
movzx ecx, word [ecx*4 + 0x4e54e8]
shr ax, 4
mov ebx, edx
and ebx, 0xf
xor cx, word [ebx*4 + 0x4e54e8]
shr edx, 4
xor ecx, eax
mov eax, ecx
and eax, 0xf
movzx eax, word [eax*4 + 0x4e54e8]
xor ax, word [edx*4 + 0x4e54e8]
shr cx, 4
xor eax, ecx
inc esi
dec edi
jne 0x47cc48
pop esi
pop ebx
pop edi
ret
Function at 0x47db47
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
cmp dword [esi + 0x94], 1
push edi
jne 0x47dbc6
mov ebx, dword [esp + 0x18]
test bl, 3
jne 0x47dbd6
xor edi, edi
test ebx, ebx
jbe 0x47db93
mov ebp, dword [esp + 0x14]
lea eax, [edi + ebp]
call fcn.0047d2c7
add dword [esi + 0x3c], eax
mov ecx, esi
call fcn.0047d2e7
mov edx, esi
call fcn.0047d377
mov edx, dword [esi + 0x10]
xor edx, eax
add edi, 4
cmp edi, ebx
mov dword [esi + 0x10], edx
jb 0x47db6b
add dword [esi + 0x3c], ebx
mov eax, esi
call fcn.0047d527
call fcn.0047d507
mov eax, esi
call fcn.0047d427
xor eax, eax
pop edi
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], 1
pop esi
pop ebp
pop ebx
ret
mov eax, esi
call fcn.0047d497
mov ebx, dword [esp + 0x18]
test bl, 3
je 0x47dbe0
pop edi
pop esi
pop ebp
mov eax, 0x7d1
pop ebx
ret
xor edi, edi
test ebx, ebx
jbe 0x47dc12
mov ebp, dword [esp + 0x14]
lea eax, [edi + ebp]
call fcn.0047d2c7
add dword [esi + 0x3c], eax
mov ecx, esi
call fcn.0047d2e7
mov edx, esi
call fcn.0047d377
mov edx, dword [esi + 0x10]
xor edx, eax
add edi, 4
cmp edi, ebx
mov dword [esi + 0x10], edx
jb 0x47dbea
add dword [esi + 0x3c], ebx
mov eax, esi
call fcn.0047d527
pop edi
mov dword [esi + 0x90], 0
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x482d37
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
cmp eax, 3
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
mov esi, dword [esp + 0x18]
mov ecx, 0x9e3779b9
push edi
mov ebp, eax
mov edi, ecx
jb 0x482de8
mov eax, 0xaaaaaaab
mul ebp
shr edx, 1
jmp 0x482d67
movzx eax, byte [ebx + 1]
add ecx, eax
movzx eax, byte [ebx + 2]
add esi, eax
movzx eax, byte [ebx]
sub eax, esi
sub eax, ecx
add eax, edi
sub ecx, esi
mov edi, esi
shr edi, 0xd
xor eax, edi
sub ecx, eax
mov edi, eax
shl edi, 8
xor ecx, edi
sub esi, ecx
sub esi, eax
mov edi, ecx
shr edi, 0xd
xor esi, edi
sub eax, esi
sub eax, ecx
mov edi, esi
shr edi, 0xc
xor eax, edi
sub ecx, esi
sub ecx, eax
mov edi, eax
shl edi, 0x10
xor ecx, edi
sub esi, ecx
sub esi, eax
mov edi, ecx
shr edi, 5
xor esi, edi
sub eax, esi
sub eax, ecx
mov edi, esi
shr edi, 3
xor eax, edi
sub ecx, esi
mov edi, eax
shl eax, 0xa
sub ecx, edi
xor ecx, eax
sub esi, ecx
mov eax, ecx
sub esi, edi
shr eax, 0xf
xor esi, eax
add ebx, 3
sub ebp, 3
dec edx
jne 0x482d67
mov eax, dword [esp + 0x18]
add esi, eax
dec ebp
je 0x482df6
dec ebp
jne 0x482dfb
movzx edx, byte [ebx + 1]
add ecx, edx
movzx eax, byte [ebx]
add edi, eax
sub edi, esi
sub edi, ecx
sub ecx, esi
mov edx, esi
shr edx, 0xd
xor edi, edx
sub ecx, edi
mov eax, edi
shl eax, 8
xor ecx, eax
sub esi, ecx
sub esi, edi
mov edx, ecx
shr edx, 0xd
xor esi, edx
sub edi, esi
sub edi, ecx
mov eax, esi
shr eax, 0xc
xor edi, eax
sub ecx, esi
sub ecx, edi
mov edx, edi
shl edx, 0x10
xor ecx, edx
sub esi, ecx
mov eax, ecx
sub esi, edi
shr eax, 5
xor esi, eax
mov eax, esi
sub edi, eax
sub edi, ecx
mov edx, eax
shr edx, 3
xor edi, edx
sub ecx, eax
mov edx, edi
sub ecx, edi
shl edx, 0xa
xor ecx, edx
sub eax, ecx
sub eax, edi
pop edi
pop esi
shr ecx, 0xf
pop ebp
xor eax, ecx
pop ebx
ret
Function at 0x483157
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push esi
mov esi, dword [esp + 0x28]
mov eax, dword [esi]
push eax
call fcn.004a11b7
add esp, 4
test eax, eax
jne 0x483276
mov ecx, dword [esi + 4]
cmp ecx, 1
jl 0x48327b
cmp ecx, 0x80
jg 0x48327b
push edi
mov edi, dword [esp + 0x28]
xor edx, edx
mov eax, edi
div ecx
test edx, edx
je 0x4831a4
pop edi
mov eax, 0x16
pop esi
add esp, 0x14
ret
test cl, 3
jne 0x483199
mov ecx, dword [esi]
imul ecx, ecx, 0x58
mov ecx, dword [ecx + 0x5d1bfc]
test ecx, ecx
je 0x4831d9
lea edx, [esi + 0x88]
push edx
mov edx, dword [esp + 0x24]
add esi, 8
push esi
push eax
mov eax, dword [esp + 0x30]
push eax
push edx
call ecx
add esp, 0x14
pop edi
pop esi
add esp, 0x14
ret
test edi, edi
push ebx
push ebp
je 0x483271
mov ebp, dword [esp + 0x28]
mov ecx, dword [esi]
imul ecx, ecx, 0x58
lea eax, [esi + 0x88]
push eax
lea edx, [esp + 0x18]
push edx
push ebp
call dword [ecx + 0x5d1be4]
add esp, 0xc
test eax, eax
jne 0x483273
mov eax, dword [esi + 4]
test eax, eax
jle 0x483252
mov ebx, dword [esp + 0x2c]
lea edi, [esp + 0x14]
mov edx, 0xfffffff8
sub edi, ebp
sub ebx, ebp
sub edx, esi
lea ecx, [esi + 8]
mov eax, ebp
mov dword [esp + 0x10], edx
mov ebp, dword [ecx]
mov edx, dword [edi + eax]
xor edx, ebp
mov ebp, dword [eax]
mov dword [ecx], ebp
mov dword [ebx + eax], edx
mov edx, dword [esp + 0x10]
mov ebp, dword [esi + 4]
add ecx, 4
add edx, ecx
add eax, 4
cmp edx, ebp
jl 0x483229
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x2c]
add ebp, eax
add ecx, eax
sub edi, eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edi
jne 0x4831e7
xor eax, eax
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x14
ret
mov eax, 0x16
pop esi
add esp, 0x14
ret
Function at 0x483b57
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x14]
mov eax, dword [esi]
push eax
call fcn.004a11b7
add esp, 4
test eax, eax
jne 0x483c4b
mov ecx, dword [esi + 4]
cmp ecx, 1
jl 0x483c4d
cmp ecx, 0x80
jg 0x483c4d
push edi
mov edi, dword [esp + 0x14]
xor edx, edx
mov eax, edi
div ecx
test edx, edx
je 0x483b9e
pop edi
mov eax, 0x16
pop esi
ret
test cl, 3
jne 0x483b96
mov edx, dword [esi]
imul edx, edx, 0x58
mov edx, dword [edx + 0x5d1bf8]
test edx, edx
je 0x483bd0
lea ecx, [esi + 0x88]
push ecx
mov ecx, dword [esp + 0x10]
add esi, 8
push esi
push eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
call edx
add esp, 0x14
pop edi
pop esi
ret
test edi, edi
push ebx
push ebp
je 0x483c46
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
lea edi, [esi + 8]
lea ebx, [ebx]
xor eax, eax
test ecx, ecx
jle 0x483bfd
mov edx, dword [eax + ebp]
xor dword [edi + eax], edx
mov ecx, dword [esi + 4]
add eax, 4
cmp eax, ecx
jl 0x483bed
mov ecx, dword [esi]
imul ecx, ecx, 0x58
lea eax, [esi + 0x88]
push eax
push ebx
push edi
call dword [ecx + 0x5d1be0]
add esp, 0xc
test eax, eax
jne 0x483c48
mov ecx, dword [esi + 4]
test ecx, ecx
jle 0x483c37
jmp 0x483c27
mov edx, dword [eax + ebx]
mov dword [edi + eax], edx
mov ecx, dword [esi + 4]
add eax, 4
cmp eax, ecx
jl 0x483c27
mov eax, dword [esi + 4]
add ebx, eax
add ebp, eax
mov ecx, eax
sub dword [esp + 0x1c], ecx
jne 0x483be7
xor eax, eax
pop ebp
pop ebx
pop edi
pop esi
ret
mov eax, 0x16
pop esi
ret

Function at 0x483f37
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov edx, dword [esp + 8]
xor eax, eax
test edx, edx
je 0x483f57
mov ecx, dword [esp + 4]
push esi
nop
movzx esi, byte [ecx]
imul eax, eax, 0x1000193
xor eax, esi
inc ecx
dec edx
jne 0x483f47
pop esi
ret

Function at 0x484987
Capabilities:
Encode data using xor

Disassembly:
mov cl, byte [edx]
xor eax, eax
test cl, cl
je 0x4849aa
jmp 0x484997
imul eax, eax, 0xf4243
movzx ecx, cl
xor eax, ecx
mov cl, byte [edx + 1]
inc edx
test cl, cl
jne 0x484997
ret