joyce8/EMBER2024-capa huggingface dataset:
Function at 0x462410
Capabilities:
Authenticate hmac
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
sub esp, 0x158
mov eax, dword [0x544354]
xor eax, esp
mov dword [esp + 0x154], eax
push esi
mov esi, dword [esp + 0x164]
push edi
mov edi, dword [esp + 0x164]
cmp dword [edi], 2
jne 0x4624d5
mov eax, dword [edi + 4]
push ebx
push ebp
push 0
push 0
push 0
push 0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x134]
push eax
push 4
lea eax, [esp + 0x28]
push eax
push 0x20
push esi
call fcn.004638d0
xor ebx, ebx
mov dword [edi + 4], 0
xor edx, edx
lea ebp, [ebx - 2]
movzx eax, byte [esp + ebx + 0x124]
mov ecx, ebx
and ecx, 3
shl ecx, 3
shl eax, cl
lea ecx, [ebp - 1]
xor edx, eax
and ecx, 3
movzx eax, byte [esp + ebx + 0x125]
shl ecx, 3
shl eax, cl
mov ecx, ebp
xor edx, eax
and ecx, 3
movzx eax, byte [esp + ebx + 0x126]
shl ecx, 3
shl eax, cl
lea ecx, [ebp + 1]
xor edx, eax
and ecx, 3
movzx eax, byte [esp + ebx + 0x127]
add ebp, 4
shl ecx, 3
add ebx, 4
shl eax, cl
xor edx, eax
cmp ebx, 0x20
jb 0x462473
pop ebp
mov dword [edi + 4], edx
pop ebx
cmp dword [edi], 3
jne 0x462660
lea eax, [esp + 0xdc]
xor edx, edx
sub esi, eax
lea esp, [esp]
lea ecx, [esp + 0xdc]
add ecx, edx
inc edx
mov al, byte [esi + ecx]
xor al, 0x36
mov byte [ecx], al
cmp edx, 0x20
jb 0x4624f0
lea eax, [esp + 0xc]
mov dword [esp + 0xfc], 0x36363636
push eax
mov dword [esp + 0x104], 0x36363636
mov dword [esp + 0x108], 0x36363636
mov dword [esp + 0x10c], 0x36363636
mov dword [esp + 0x110], 0x36363636
mov dword [esp + 0x114], 0x36363636
mov dword [esp + 0x118], 0x36363636
mov dword [esp + 0x11c], 0x36363636
call fcn.00493810
push 0x40
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00493860
push 0x20
add edi, 4
lea eax, [esp + 0x10]
push edi
push eax
call fcn.00493860
lea eax, [esp + 0x11c]
push eax
lea eax, [esp + 0x10]
push eax
call fcn.004936f0
xor edx, edx
lea ecx, [esp + 0xdc]
add ecx, edx
inc edx
mov al, byte [esi + ecx]
xor al, 0x5c
mov byte [ecx], al
cmp edx, 0x20
jb 0x4625a0
lea eax, [esp + 0x74]
mov dword [esp + 0xfc], 0x5c5c5c5c
push eax
mov dword [esp + 0x104], 0x5c5c5c5c
mov dword [esp + 0x108], 0x5c5c5c5c
mov dword [esp + 0x10c], 0x5c5c5c5c
mov dword [esp + 0x110], 0x5c5c5c5c
mov dword [esp + 0x114], 0x5c5c5c5c
mov dword [esp + 0x118], 0x5c5c5c5c
mov dword [esp + 0x11c], 0x5c5c5c5c
call fcn.00493810
push 0x40
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.00493860
push 0x20
lea eax, [esp + 0x120]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.00493860
lea eax, [esp + 0x13c]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.004936f0
mov ecx, 8
lea esi, [esp + 0x13c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x15c]
pop edi
pop esi
xor ecx, esp
call fcn.004f833c
add esp, 0x158
ret 8
Function at 0x462680
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov eax, ecx
test esi, esi
je 0x46272d
push ebx
push ebp
push edi
mov edi, dword [esp + 0x14]
mov ebp, 0x1234
mov ebx, 1
add word [eax + 0x10b8], bp
lea edi, [edi + 1]
movzx edx, word [eax + 0x10b8]
mov ecx, edx
shr ecx, 1
movzx ecx, cl
movzx ecx, word [eax + ecx*4 + 0xba4]
xor word [eax + 0x10ba], cx
mov ecx, edx
shr ecx, 1
movzx ecx, cl
movzx ecx, word [eax + ecx*4 + 0xba6]
sub word [eax + 0x10bc], cx
movzx ecx, word [eax + 0x10bc]
xor ecx, edx
movzx edx, word [eax + 0x10be]
mov word [eax + 0x10b8], cx
mov cx, bx
ror dx, cl
xor dx, word [eax + 0x10ba]
ror dx, cl
movzx ecx, dx
xor word [eax + 0x10b8], cx
mov word [eax + 0x10be], cx
movzx ecx, word [eax + 0x10b8]
shr ecx, 8
xor byte [edi - 1], cl
sub esi, ebx
jne 0x4626a0
pop edi
pop ebp
pop ebx
pop esi
ret 8
Function at 0x462780
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x2c
mov eax, dword [0x544354]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0x24], edi
mov eax, dword [edi]
xor eax, dword [ecx + 0x10a4]
mov ebp, dword [edi + 8]
xor ebp, dword [ecx + 0x10ac]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 4]
xor eax, dword [ecx + 0x10a8]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0xc]
xor eax, dword [ecx + 0x10b0]
mov dword [esp + 0x1c], eax
mov eax, dword [edi]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0xc]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
mov eax, 0x1f
mov dword [esp + 0x18], eax
and eax, 3
mov edx, edi
rol edx, 0xb
add edx, ebp
mov esi, dword [ecx + eax*4 + 0x10a4]
xor edx, esi
mov eax, edx
shr eax, 0x10
movzx eax, al
movzx ebx, byte [eax + ecx + 0xfa4]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + ecx + 0xfa4]
shl eax, 8
or ebx, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl ebx, 8
movzx eax, byte [eax + ecx + 0xfa4]
or ebx, eax
movzx eax, dl
mov edx, ebp
shl ebx, 8
ror edx, 0xf
xor edx, edi
movzx eax, byte [eax + ecx + 0xfa4]
add edx, esi
or ebx, eax
mov eax, edx
shr eax, 0x10
movzx eax, al
xor ebx, dword [esp + 0x14]
movzx esi, byte [eax + ecx + 0xfa4]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + ecx + 0xfa4]
shl eax, 8
or esi, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl esi, 8
movzx eax, byte [eax + ecx + 0xfa4]
or esi, eax
movzx eax, dl
shl esi, 8
mov edx, ebp
mov dword [esp + 0x14], edx
mov ebp, ebx
movzx eax, byte [eax + ecx + 0xfa4]
or esi, eax
mov eax, dword [esp + 0x18]
xor esi, dword [esp + 0x10]
sub eax, 1
mov dword [esp + 0x10], edi
mov edi, esi
mov dword [esp + 0x18], eax
jns 0x4627f1
mov ebp, dword [ecx + 0x10a4]
mov edi, dword [esp + 0x24]
xor ebp, ebx
mov dword [edi], ebp
mov eax, dword [ecx + 0x10a8]
xor eax, esi
mov dword [edi + 4], eax
mov eax, dword [ecx + 0x10ac]
xor eax, edx
mov dword [edi + 8], eax
mov eax, dword [ecx + 0x10b0]
xor eax, dword [esp + 0x10]
mov dword [edi + 0xc], eax
lea eax, [esp + 0x28]
push eax
call fcn.00463810
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004f833c
add esp, 0x2c
ret 4
Function at 0x4629c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 4]
xor eax, dword [ecx + 0x10a8]
mov edx, dword [edi]
mov ebp, dword [edi + 8]
xor edx, dword [ecx + 0x10a4]
xor ebp, dword [ecx + 0x10ac]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0xc]
mov edi, eax
xor edi, dword [ecx + 0x10b0]
xor eax, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov edi, edi
and eax, 3
mov edx, edi
rol edx, 0xb
add edx, ebp
mov esi, dword [ecx + eax*4 + 0x10a4]
xor edx, esi
mov eax, edx
shr eax, 0x10
movzx eax, al
movzx ebx, byte [eax + ecx + 0xfa4]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + ecx + 0xfa4]
shl eax, 8
or ebx, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl ebx, 8
movzx eax, byte [eax + ecx + 0xfa4]
or ebx, eax
movzx eax, dl
mov edx, ebp
shl ebx, 8
ror edx, 0xf
xor edx, edi
movzx eax, byte [eax + ecx + 0xfa4]
add edx, esi
or ebx, eax
mov eax, edx
shr eax, 0x10
movzx eax, al
xor ebx, dword [esp + 0x14]
mov dword [esp + 0x14], ebp
movzx esi, byte [eax + ecx + 0xfa4]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + ecx + 0xfa4]
shl eax, 8
or esi, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl esi, 8
movzx eax, byte [eax + ecx + 0xfa4]
or esi, eax
movzx eax, dl
shl esi, 8
mov edx, ebp
mov ebp, ebx
movzx eax, byte [eax + ecx + 0xfa4]
or esi, eax
mov eax, dword [esp + 0x18]
xor esi, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], edi
mov edi, esi
mov dword [esp + 0x18], eax
cmp eax, 0x20
jl 0x462a00
mov eax, dword [ecx + 0x10a4]
mov edi, dword [esp + 0x24]
xor eax, ebx
push edi
mov dword [edi], eax
mov eax, dword [ecx + 0x10a8]
xor eax, esi
mov dword [edi + 4], eax
mov eax, dword [ecx + 0x10ac]
xor eax, edx
mov dword [edi + 8], eax
mov eax, dword [ecx + 0x10b0]
xor eax, dword [esp + 0x14]
mov dword [edi + 0xc], eax
call fcn.00463810
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4

Function at 0x462b50
Capabilities:
Generate random numbers via winapi

Disassembly:
push ecx
push 0xf0000040
push 1
push 0
push 0
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x462b9d
push ebx
push dword [esp + 0xc]
push dword [esp + 0x14]
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push 0
push dword [esp + 8]
cmp eax, 1
sete bl
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test bl, bl
pop ebx
jne 0x462baa
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.00463780
pop ecx
ret 8

Function at 0x462d40
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
mov word [ecx + 0x10b5], 0
mov byte [ecx + 0x10b4], 0
mov dl, byte [esi]
test dl, dl
je 0x462d86
push ebx
xor al, al
xor bl, bl
xor ah, ah
add al, dl
lea esi, [esi + 1]
add ah, dl
rol al, 1
xor bl, dl
mov byte [ecx + 0x10b4], ah
mov byte [ecx + 0x10b5], bl
mov byte [ecx + 0x10b6], al
mov dl, byte [esi]
test dl, dl
jne 0x462d62
pop ebx
pop esi
ret 4
Function at 0x462d90
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
push edi
lea eax, [esi + 0xba4]
push eax
call fcn.00461e90
mov edi, dword [esp + 0xc]
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x462db0
sub eax, edx
push eax
push edi
push 0xffffffffffffffff
call fcn.00461ba0
mov word [esi + 0x10b8], ax
shr eax, 0x10
mov word [esi + 0x10ba], ax
xor eax, eax
mov dword [esi + 0x10bc], eax
mov dl, byte [edi]
test dl, dl
je 0x462e23
push ebx
push ebp
xor ebx, ebx
xor ebp, ebp
movzx eax, dl
lea edi, [edi + 1]
movzx edx, dl
lea ecx, [esi + eax*4]
movzx eax, word [ecx + 0xba4]
xor ax, dx
xor bp, ax
mov word [esi + 0x10bc], bp
movzx eax, word [ecx + 0xba6]
add ax, dx
add bx, ax
mov word [esi + 0x10be], bx
mov dl, byte [edi]
test dl, dl
jne 0x462de7
pop ebp
pop ebx
pop edi
pop esi
ret 4
Function at 0x463690
Capabilities:
Generate random numbers via winapi

Disassembly:
sub esp, 0xa0
mov eax, dword [0x544354]
xor eax, esp
mov dword [esp + 0x9c], eax
push esi
mov esi, dword [esp + 0xa8]
lea eax, [esp + 4]
push 0xf0000040
push 1
push 0
push 0
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x4636f7
push ebx
lea eax, [esp + 0x74]
push eax
push 0x10
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push 0
push dword [esp + 0xc]
cmp eax, 1
sete bl
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test bl, bl
pop ebx
jne 0x463703
push 0x10
lea eax, [esp + 0x74]
push eax
call fcn.00463780
push 0x10
lea eax, [esp + 0x74]
push eax
call fcn.00463780
lea eax, [esp + 8]
push eax
call fcn.00493810
push 0x10
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x10]
push eax
call fcn.00493860
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0xc]
push eax
call fcn.004936f0
mov eax, dword [esp + 0xac]
cmp eax, 0x20
jb 0x46374d
mov eax, 0x20
push eax
lea eax, [esp + 0x84]
push eax
push esi
call fcn.004fa2e0
mov ecx, dword [esp + 0xac]
add esp, 0xc
pop esi
xor ecx, esp
call fcn.004f833c
add esp, 0xa0
ret 8

Function at 0x463780
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebp
push edi
lea ecx, [esp + 8]
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00495df0
lea ecx, [esp + 8]
call fcn.00495c50
mov edi, eax
mov ebp, edx
call fcn.004fe857
cdq
add edi, eax
adc ebp, edx
xor ecx, ecx
mov dword [esp + 8], ecx
cmp dword [esp + 0x18], ecx
jbe 0x4637fe
push ebx
mov ebx, dword [0x57f2fc]
push esi
mov esi, dword [esp + 0x1c]
sub esi, ebx
nop
and ecx, 7
mov eax, edi
shl ecx, 3
mov edx, ebp
call fcn.004f8660
mov ecx, dword [esp + 0x10]
xor al, cl
add al, bl
inc ecx
mov byte [esi + ebx], al
inc ebx
mov dword [esp + 0x10], ecx
cmp ecx, dword [esp + 0x20]
jb 0x4637d0
pop esi
mov dword [0x57f2fc], ebx
pop ebx
pop edi
pop ebp
add esp, 8
ret 8

Function at 0x463810
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
mov edx, dword [esp + 0x14]
mov eax, edx
push ebx
mov ebx, dword [ecx + 0x10a8]
push ebp
mov ebp, dword [ecx + 0x10ac]
push esi
lea esi, [edx + 1]
mov dword [esp + 0x20], 4
sub eax, esi
mov dword [esp + 0x10], eax
mov eax, edx
sub eax, esi
add eax, 2
sub edx, esi
mov dword [esp + 0x14], eax
push edi
mov edi, dword [ecx + 0x10a4]
lea eax, [edx + 3]
mov edx, dword [ecx + 0x10b0]
mov dword [esp + 0x1c], eax
lea ebx, [ebx]
mov eax, dword [esp + 0x14]
lea esi, [esi + 4]
movzx eax, byte [eax + esi - 4]
xor edi, dword [ecx + eax*4 + 0xba4]
mov dword [ecx + 0x10a4], edi
movzx eax, byte [esi - 4]
xor ebx, dword [ecx + eax*4 + 0xba4]
mov eax, dword [esp + 0x18]
mov dword [ecx + 0x10a8], ebx
movzx eax, byte [eax + esi - 4]
xor ebp, dword [ecx + eax*4 + 0xba4]
mov eax, dword [esp + 0x1c]
mov dword [ecx + 0x10ac], ebp
movzx eax, byte [eax + esi - 4]
xor edx, dword [ecx + eax*4 + 0xba4]
sub dword [esp + 0x24], 1
mov dword [ecx + 0x10b0], edx
jne 0x463860
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x463b50
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x19c
mov eax, dword [0x544354]
xor eax, esp
mov dword [esp + 0x198], eax
mov eax, dword [esp + 0x1b8]
mov ecx, dword [esp + 0x1a8]
push ebx
mov ebx, dword [esp + 0x1b4]
push ebp
mov ebp, dword [esp + 0x1bc]
push esi
mov esi, dword [esp + 0x1b8]
mov dword [esp + 0x10], eax
mov eax, esi
push edi
mov edi, dword [esp + 0x1b0]
mov dword [esp + 0x18], edi
cmp esi, 0x40
jb 0x463ba6
mov eax, 0x40
push eax
push ecx
lea eax, [esp + 0x14c]
push eax
call fcn.004fa2e0
add esp, 0xc
cmp esi, 0x44
jae 0x463dbd
lea eax, [esi + 1]
mov byte [esp + esi + 0x144], 0
cmp eax, 0x44
jae 0x463dbd
mov byte [esp + eax + 0x144], 0
lea eax, [esi + 2]
cmp eax, 0x44
jae 0x463dbd
push 0
push 0
push 0
mov byte [esp + eax + 0x150], 0
lea eax, [esp + 0x130]
push 0
push eax
lea eax, [esi + 4]
mov byte [esp + esi + 0x15b], 1
push eax
lea eax, [esp + 0x15c]
push eax
push dword [esp + 0x1d0]
push edi
call fcn.004638d0
mov eax, dword [esp + 0x1cc]
lea esi, [esp + 0x124]
dec eax
mov dword [esp + 0xfc], ebp
mov ecx, 8
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0x14]
lea edi, [esp + 0x104]
xor ebp, ebp
mov dword [esp + 0xf0], 0x10
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0xf4], 0x10
mov dword [esp + 0xf8], ebx
mov dword [esp + 0x100], eax
mov byte [esp + 0x13], 0
mov byte [esp + 0x12], 0
mov dword [esp + 0x14], ebp
jmp 0x463c90
mov ebx, dword [esp + ebp + 0xec]
test ebx, ebx
je 0x463d41
mov ebp, dword [esp + 0x18]
lea eax, [esp + 0x12]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1b]
push eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x198]
push eax
push 0x20
lea eax, [esp + 0x13c]
push eax
push dword [esp + 0x1d0]
push ebp
call fcn.004638d0
mov ecx, 8
lea esi, [esp + 0x188]
lea edi, [esp + 0x124]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movzx ecx, byte [esp + eax + 0x124]
xor byte [esp + eax + 0x104], cl
movzx ecx, byte [esp + eax + 0x125]
xor byte [esp + eax + 0x105], cl
movzx ecx, byte [esp + eax + 0x126]
xor byte [esp + eax + 0x106], cl
movzx ecx, byte [esp + eax + 0x127]
xor byte [esp + eax + 0x107], cl
add eax, 4
cmp eax, 0x20
jb 0x463cf0
sub ebx, 1
jne 0x463ca3
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + ebp + 0xf8]
lea esi, [esp + 0x104]
add ebp, 4
mov ecx, 8
mov dword [esp + 0x14], ebp
rep movsd dword es:[edi], dword [esi]
cmp ebp, 0xc
jb 0x463c90
push 0x44
lea eax, [esp + 0x148]
push eax
call fcn.00491e00
push 0x20
lea eax, [esp + 0x108]
push eax
call fcn.00491e00
push 0x20
lea eax, [esp + 0x128]
push eax
call fcn.00491e00
push 0x20
lea eax, [esp + 0x18c]
push eax
call fcn.00491e00
mov ecx, dword [esp + 0x1a8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004f833c
add esp, 0x19c
ret 0x20
call fcn.004f8260
int3
Function at 0x464ba0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x18]
mov ecx, dword [esi]
mov eax, dword [edi]
cmp eax, ecx
jbe 0x464c09
mov edx, 1
cmp ecx, edx
jb 0x464be2
mov ebp, dword [esp + 0x14]
lea ecx, [esi + 4]
mov ebx, edi
sub ebx, esi
sub ebp, esi
lea ebx, [ebx]
mov eax, dword [ebx + ecx]
lea ecx, [ecx + 4]
xor eax, dword [ecx - 4]
inc edx
mov dword [ecx + ebp - 4], eax
cmp edx, dword [esi]
jbe 0x464bd0
mov eax, dword [edi]
sub eax, dword [esi]
mov ebx, dword [esp + 0x14]
shl eax, 2
push eax
lea eax, [edi + edx*4]
push eax
lea eax, [ebx + edx*4]
push eax
call fcn.004fa2e0
mov eax, dword [edi]
add esp, 0xc
mov dword [ebx], eax
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
jae 0x464c5a
mov edx, 1
cmp eax, edx
jb 0x464c33
mov ebp, dword [esp + 0x14]
lea ecx, [esi + 4]
mov ebx, edi
sub ebx, esi
sub ebp, esi
mov eax, dword [ecx + ebx]
lea ecx, [ecx + 4]
xor eax, dword [ecx - 4]
inc edx
mov dword [ecx + ebp - 4], eax
cmp edx, dword [edi]
jbe 0x464c21
mov eax, dword [esi]
sub eax, dword [edi]
mov ebx, dword [esp + 0x14]
shl eax, 2
push eax
lea eax, [esi + edx*4]
push eax
lea eax, [ebx + edx*4]
push eax
call fcn.004fa2e0
mov eax, dword [esi]
add esp, 0xc
mov dword [ebx], eax
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
test eax, eax
je 0x464c74
mov ebx, edi
lea edx, [esi + eax*4]
sub ebx, esi
mov ecx, dword [edx + ebx]
cmp ecx, dword [edx]
jne 0x464c74
sub edx, 4
sub eax, 1
jne 0x464c65
mov ebx, dword [esp + 0x14]
mov dword [ebx], eax
test eax, eax
je 0x464c97
sub edi, esi
lea edx, [esi + eax*4]
sub ebx, esi
mov ecx, dword [edx + edi]
lea edx, [edx - 4]
xor ecx, dword [edx + 4]
mov dword [edx + ebx + 4], ecx
sub eax, 1
jne 0x464c85
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x4650a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x58
mov eax, dword [0x544354]
xor eax, esp
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x64]
push ebx
mov ebx, dword [esp + 0x64]
push esi
mov esi, dword [esp + 0x64]
mov dword [esp + 8], ebx
cmp dword [ebx], 0
mov dword [esp + 0xc], eax
je 0x4651e2
mov ecx, dword [eax]
test ecx, ecx
je 0x4651e2
mov edx, eax
lea eax, [esp + 0x10]
push edi
mov edi, dword [0x57f304]
sub edx, eax
lea eax, [edx + ecx*4]
mov eax, dword [esp + eax + 0x14]
mov eax, dword [edi + eax*4]
mov dword [esp + ecx*4 + 0x14], eax
sub ecx, 1
jne 0x4650e6
push 0x90
push ecx
push esi
call fcn.004fa860
mov edi, dword [ebx]
add esp, 0xc
test edi, edi
je 0x46517a
mov ecx, dword [0x57f304]
push ebp
mov ebp, dword [0x57f300]
jmp 0x465120
mov eax, dword [ebx + edi*4]
mov ebx, dword [ecx + eax*4]
cmp ebx, 0x7fff
je 0x465170
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
test eax, eax
je 0x465170
lea edx, [eax - 1]
add edx, edi
lea edx, [esi + edx*4]
mov ecx, dword [esp + eax*4 + 0x18]
cmp ecx, 0x7fff
je 0x465162
add ecx, ebx
cmp ecx, 0x7fff
jb 0x46515c
add ecx, 0xffff8001
mov ecx, dword [ebp + ecx*4]
xor dword [edx], ecx
sub edx, 4
sub eax, 1
jne 0x465140
mov ecx, dword [0x57f304]
mov ebx, dword [esp + 0x10]
sub edi, 1
jne 0x465120
pop ebp
mov eax, dword [esp + 0x10]
mov edx, dword [ebx]
pop edi
mov ecx, dword [eax]
dec ecx
add edx, ecx
mov dword [esi], edx
cmp edx, 0x11
jle 0x4651ae
lea ecx, [esi - 0x38]
lea ecx, [ecx + edx*4]
add edx, 0xffffffef
mov eax, dword [ecx + 0x38]
lea ecx, [ecx - 4]
xor dword [ecx - 8], eax
xor dword [ecx + 4], eax
mov dword [ecx + 0x3c], 0
sub edx, 1
jne 0x465196
cmp dword [esi], 0x11
jbe 0x4651e8
mov dword [esi], 0x11
lea esp, [esp]
mov eax, dword [esi]
cmp dword [esi + eax*4], 0
jne 0x4651e8
add eax, 0xffffffff
mov dword [esi], eax
jne 0x4651c0
pop esi
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.004f833c
add esp, 0x58
ret 0xc
mov dword [esi], 0
mov ecx, dword [esp + 0x5c]
pop esi
pop ebx
xor ecx, esp
call fcn.004f833c
add esp, 0x58
ret 0xc
Function at 0x465340
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0xc]
mov ecx, dword [edi]
test ecx, ecx
je 0x46543a
mov eax, dword [edi + ecx*4]
push ebx
mov ebx, dword [0x57f300]
push ebp
mov ebp, dword [0x57f304]
push esi
mov eax, dword [ebp + eax*4]
cmp eax, 0x7fff
je 0x465387
add eax, eax
cmp eax, 0x7fff
jb 0x46537a
add eax, 0xffff8001
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + eax*4]
mov dword [edx + ecx*8 - 4], eax
jmp 0x465393
mov edx, dword [esp + 0x14]
mov dword [edx + ecx*8 - 4], 0
mov esi, dword [edi]
sub esi, 1
je 0x4653e8
lea ecx, [esi*8 - 4]
add ecx, edx
jmp 0x4653b0
mov dword [ecx + 4], 0
mov eax, dword [edi + esi*4]
mov eax, dword [ebp + eax*4]
cmp eax, 0x7fff
je 0x4653da
add eax, eax
cmp eax, 0x7fff
jb 0x4653d3
add eax, 0xffff8001
mov eax, dword [ebx + eax*4]
mov dword [ecx], eax
jmp 0x4653e0
mov dword [ecx], 0
sub ecx, 8
sub esi, 1
jne 0x4653b0
mov eax, dword [edi]
lea esi, [eax*2 - 1]
mov dword [edx], esi
cmp esi, 0x11
jle 0x465419
lea ecx, [esi - 0xe]
add esi, 0xffffffef
lea ecx, [edx + ecx*4]
mov eax, dword [ecx + 0x38]
lea ecx, [ecx - 4]
xor dword [ecx - 8], eax
xor dword [ecx + 4], eax
mov dword [ecx + 0x3c], 0
sub esi, 1
jne 0x465401
cmp dword [edx], 0x11
pop esi
pop ebp
pop ebx
jbe 0x465444
mov dword [edx], 0x11
mov eax, dword [edx]
cmp dword [edx + eax*4], 0
jne 0x465444
add eax, 0xffffffff
mov dword [edx], eax
jne 0x465427
pop edi
ret 8
mov eax, dword [esp + 8]
mov dword [eax], 0
pop edi
ret 8
Function at 0x46ae30
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51379b
mov eax, dword fs:[0]
push eax
mov eax, 0x5028
call fcn.004f8350
mov eax, dword [0x544354]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x3010]
push 0x800
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x46b01d
cmp eax, 0x800
jae 0x46b01d
push 0x800
lea eax, [ebp - 0x4010]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x46b01d
cmp eax, 0x800
jae 0x46b01d
lea eax, [ebp - 0x3010]
push eax
call fcn.0047d830
mov ebx, eax
lea eax, [ebp - 0x4010]
push eax
call fcn.0047d830
mov esi, eax
cmp word [esi], 0
je 0x46b01d
push esi
push ebx
call fcn.00497d90
test eax, eax
je 0x46b01d
push esi
push edi
call fcn.0047d830
push eax
call fcn.00497d90
test eax, eax
jne 0x46b01d
mov word [ebp - 0x1010], ax
xor esi, esi
test ax, ax
jne 0x46af71
push 0x800
push edi
lea eax, [ebp - 0x1010]
push eax
call fcn.004947d0
push esi
push str.rtmp_d
push 0x800
lea eax, [ebp - 0x1010]
push eax
call fcn.0047d830
push eax
call fcn.00402720
add esp, 0x10
lea eax, [ebp - 0x1010]
push eax
call fcn.0046cad0
test al, al
je 0x46af56
xor eax, eax
mov word [ebp - 0x1010], ax
jmp 0x46af5d
mov ax, word [ebp - 0x1010]
add esi, 0x7b
cmp esi, 0x2710
jl 0x46af04
test ax, ax
je 0x46b01d
push 0x800
push edi
lea eax, [ebp - 0x2010]
push eax
call fcn.004947d0
push 0x800
push ebx
lea eax, [ebp - 0x2010]
push eax
call fcn.0047d930
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileW]
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x2010]
push eax
call esi
test eax, eax
je 0x46b01d
lea ecx, [ebp - 0x5034]
call fcn.0046b040
mov dword [ebp - 4], 0
xor bl, bl
push edi
call fcn.0046cad0
test al, al
jne 0x46afdd
push 0x12
push edi
lea ecx, [ebp - 0x5034]
call fcn.0046b3d0
mov bl, al
lea eax, [ebp - 0x2010]
push eax
lea eax, [ebp - 0x1010]
push eax
call esi
test bl, bl
je 0x46b007
lea ecx, [ebp - 0x5034]
call fcn.0046b1d0
lea ecx, [ebp - 0x5034]
call fcn.0046b4f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5034]
call fcn.0046b080
mov al, 1
jmp 0x46b01f
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f833c
mov esp, ebp
pop ebp
ret 4