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

Disassembly:
sub esp, 0x2c
mov eax, dword [0x58bb30]
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 + 0x914]
mov ebp, dword [edi + 8]
xor ebp, dword [ecx + 0x91c]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 4]
xor eax, dword [ecx + 0x918]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0xc]
xor eax, dword [ecx + 0x920]
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 + 0x914]
xor edx, esi
mov eax, edx
shr eax, 0x10
movzx eax, al
movzx ebx, byte [eax + ecx + 0x814]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + ecx + 0x814]
shl eax, 8
or ebx, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl ebx, 8
movzx eax, byte [eax + ecx + 0x814]
or ebx, eax
movzx eax, dl
mov edx, ebp
shl ebx, 8
ror edx, 0xf
xor edx, edi
movzx eax, byte [eax + ecx + 0x814]
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 + 0x814]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + ecx + 0x814]
shl eax, 8
or esi, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl esi, 8
movzx eax, byte [eax + ecx + 0x814]
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 + 0x814]
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 0x483351
mov ebp, dword [ecx + 0x914]
mov edi, dword [esp + 0x24]
xor ebp, ebx
mov dword [edi], ebp
mov eax, dword [ecx + 0x918]
xor eax, esi
mov dword [edi + 4], eax
mov eax, dword [ecx + 0x91c]
xor eax, edx
mov dword [edi + 8], eax
mov eax, dword [ecx + 0x920]
xor eax, dword [esp + 0x10]
mov dword [edi + 0xc], eax
lea eax, [esp + 0x28]
push eax
call fcn.004843e0
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0052f708
add esp, 0x2c
ret 4
Function at 0x483480
Capabilities:
Encode data using xor

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x308]
dec eax
cmp eax, 4
ja case.default.0x483497
push ebx
push ebp
push edi
jmp dword [eax*4 + 0x4835e0]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
test edx, edx
je 0x4835d6
mov edi, edi
movzx eax, byte [esi + 0x926]
lea ecx, [ecx + 1]
add byte [esi + 0x925], al
movzx eax, byte [esi + 0x925]
add byte [esi + 0x924], al
movzx eax, byte [esi + 0x924]
sub byte [ecx - 1], al
sub edx, 1
jne 0x4834b0
pop edi
pop ebp
pop ebx
pop esi
pop ecx
ret 8
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
test ebp, ebp
je 0x4835d6
mov ecx, 0x1234
lea ecx, [ecx]
add cx, word [esi + 0x928]
movzx eax, cx
mov word [esi + 0x928], ax
movzx ebx, cx
mov eax, ebx
shr eax, 1
movzx eax, al
lea ecx, [esi + eax*4]
movzx eax, word [ecx + 0x414]
xor word [esi + 0x92a], ax
movzx eax, word [ecx + 0x416]
mov ecx, 1
sub word [esi + 0x92c], ax
movzx eax, word [esi + 0x92e]
movzx edx, word [esi + 0x92a]
movzx edi, word [esi + 0x92c]
ror ax, cl
xor ax, dx
ror ax, cl
mov ecx, dword [esp + 0x10]
movzx eax, ax
mov word [esi + 0x92e], ax
xor eax, edi
xor eax, ebx
movzx eax, ax
mov word [esi + 0x928], ax
shr eax, 8
xor byte [ecx], al
inc ecx
mov dword [esp + 0x10], ecx
mov ecx, 0x1234
sub ebp, 1
jne 0x483500
pop edi
pop ebp
pop ebx
pop esi
pop ecx
ret 8
mov ebx, dword [esp + 0x1c]
xor edi, edi
test ebx, ebx
je 0x4835d6
mov ebp, dword [esp + 0x18]
lea eax, [edi + ebp]
mov ecx, esi
push eax
call fcn.004832e0
add edi, 0x10
cmp edi, ebx
jb 0x4835a7
pop edi
pop ebp
pop ebx
pop esi
pop ecx
ret 8
mov eax, dword [esp + 0x18]
lea ecx, [esi + 0x30c]
push eax
push dword [esp + 0x20]
push eax
call fcn.004b6e80
pop edi
pop ebp
pop ebx
pop esi
pop ecx
ret 8

Function at 0x483630
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 0x48367a
push esi
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]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp esi, 1
pop esi
je 0x483687
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.00484360
pop ecx
ret 8
Function at 0x4836b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x610
mov eax, dword [0x58bb30]
xor eax, esp
mov dword [esp + 0x60c], eax
mov eax, dword [esp + 0x624]
push ebx
mov ebx, dword [esp + 0x61c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x630]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x634]
mov dword [esp + 4], eax
push ebp
mov ebp, dword [esp + 0x628]
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x62c]
test ebx, ebx
je 0x4838cc
cmp byte [edi + 0xc], 0
je 0x4838cc
push 0x200
lea eax, [esp + 0x220]
mov dword [esi + 0x308], ebx
push eax
mov ecx, edi
call fcn.004ba180
xor eax, eax
mov word [esp + 0x31a], ax
lea eax, [esp + 0x1c]
push 0x200
push eax
lea eax, [esp + 0x224]
push eax
call fcn.004c0d50
dec ebx
mov byte [esp + 0x9b], 0
cmp ebx, 4
ja case.default.0x48375f
jmp dword [ebx*4 + 0x4838ec]
mov cl, byte [esp + 0x1c]
mov word [esi + 0x925], 0
mov byte [esi + 0x924], 0
test cl, cl
je case.default.0x48375f
xor dl, dl
lea edi, [esp + 0x1c]
xor bl, bl
xor al, al
lea esp, [esp]
add al, cl
lea edi, [edi + 1]
add dl, cl
rol al, 1
xor bl, cl
mov cl, byte [edi]
test cl, cl
jne 0x483790
mov byte [esi + 0x926], al
mov byte [esi + 0x925], bl
mov byte [esi + 0x924], dl
jmp case.default.0x48375f
lea eax, [esi + 0x414]
push eax
call fcn.00482960
lea ecx, [esp + 0x1c]
lea edx, [ecx + 1]
jmp 0x4837d0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4837d0
sub ecx, edx
lea eax, [esp + 0x1c]
push ecx
push eax
push 0xffffffffffffffff
call fcn.004826b0
mov cl, byte [esp + 0x1c]
mov word [esi + 0x928], ax
shr eax, 0x10
mov word [esi + 0x92a], ax
xor eax, eax
mov dword [esi + 0x92c], eax
test cl, cl
je case.default.0x48375f
xor ebx, ebx
lea edi, [esp + 0x1c]
xor ebp, ebp
movzx eax, cl
lea edi, [edi + 1]
movzx ecx, cl
mov dx, word [esi + eax*4 + 0x414]
xor dx, cx
xor dx, bx
mov word [esi + 0x92c], dx
mov ax, word [esi + eax*4 + 0x416]
add ax, cx
movzx ebx, dx
mov cl, byte [edi]
add ax, bp
mov word [esi + 0x92e], ax
movzx ebp, ax
test cl, cl
jne 0x483813
jmp case.default.0x48375f
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.00483900
jmp case.default.0x48375f
push ebp
lea eax, [esp + 0x220]
mov ecx, esi
push eax
push edi
push dword [esp + 0x630]
call fcn.00483bf0
jmp case.default.0x48375f
push dword [esp + 0x10]
lea eax, [esp + 0x220]
mov ecx, esi
push dword [esp + 0x18]
push dword [esp + 0x640]
push dword [esp + 0x24]
push ebp
push eax
push edi
push dword [esp + 0x640]
call fcn.00483fa0
push 0x200
lea eax, [esp + 0x20]
push eax
call fcn.004ba540
push 0x400
lea eax, [esp + 0x220]
push eax
call fcn.004ba540
mov al, 1
jmp 0x4838ce
xor al, al
mov ecx, dword [esp + 0x61c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0052f708
add esp, 0x610
ret 0x20
Function at 0x484270
Capabilities:
Generate random numbers via winapi

Disassembly:
sub esp, 0xa0
mov eax, dword [0x58bb30]
xor eax, esp
mov dword [esp + 0x9c], eax
push edi
mov edi, 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 0x4842d4
push esi
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]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp esi, 1
pop esi
je 0x4842e0
push 0x10
lea eax, [esp + 0x74]
push eax
call fcn.00484360
push 0x10
lea eax, [esp + 0x74]
push eax
call fcn.00484360
lea eax, [esp + 8]
push eax
call fcn.004bc070
push 0x10
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x10]
push eax
call fcn.004bc0c0
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0xc]
push eax
call fcn.004bbf60
mov eax, dword [esp + 0xac]
cmp eax, 0x20
jb 0x48432a
mov eax, 0x20
push eax
lea eax, [esp + 0x84]
push eax
push edi
call fcn.00531230
mov ecx, dword [esp + 0xac]
add esp, 0xc
pop edi
xor ecx, esp
call fcn.0052f708
add esp, 0xa0
ret 8

Function at 0x484360
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004be820
lea ecx, [esp + 0xc]
call fcn.004be560
mov edi, eax
mov ebp, edx
call fcn.00537b15
cdq
add edi, eax
adc ebp, edx
xor ebx, ebx
cmp dword [esp + 0x1c], ebx
jbe 0x4843d0
push esi
mov esi, dword [esp + 0x1c]
mov ecx, ebx
mov eax, edi
and ecx, 7
mov edx, ebp
shl ecx, 3
call fcn.0052f960
mov ecx, dword [0x5d2744]
xor al, bl
add al, cl
inc ecx
mov byte [ebx + esi], al
inc ebx
mov dword [0x5d2744], ecx
cmp ebx, dword [esp + 0x20]
jb 0x4843a3
pop esi
pop edi
pop ebp
pop ebx
add esp, 8
ret 8

Function at 0x4843e0
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov edx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x91c]
add edx, 2
push ebp
mov ebp, dword [ecx + 0x920]
push esi
mov esi, dword [ecx + 0x914]
push edi
mov edi, dword [ecx + 0x918]
mov dword [esp + 0x10], 4
lea esp, [esp]
movzx eax, byte [edx - 2]
lea edx, [edx + 4]
xor esi, dword [ecx + eax*4 + 0x414]
mov dword [ecx + 0x914], esi
movzx eax, byte [edx - 5]
xor edi, dword [ecx + eax*4 + 0x414]
mov dword [ecx + 0x918], edi
movzx eax, byte [edx - 4]
xor ebx, dword [ecx + eax*4 + 0x414]
mov dword [ecx + 0x91c], ebx
movzx eax, byte [edx - 3]
xor ebp, dword [ecx + eax*4 + 0x414]
sub dword [esp + 0x10], 1
mov dword [ecx + 0x920], ebp
jne 0x484410
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x484470
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0x1d4
mov eax, dword [0x58bb30]
xor eax, esp
mov dword [esp + 0x1d0], eax
mov eax, dword [esp + 0x1e0]
mov edx, dword [esp + 0x1f0]
push ebx
mov ebx, dword [esp + 0x1e0]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1ec]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1f8]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1fc]
mov dword [esp + 4], edx
mov dword [esp + 0xc], eax
push ebp
mov ebp, dword [esp + 0x1e0]
push esi
push edi
mov edi, dword [esp + 0x1fc]
mov dword [esp + 0x1c], edi
cmp ebx, 0x40
jbe 0x48451e
lea eax, [esp + 0xf8]
push eax
call fcn.004bc070
push ebx
push ebp
lea eax, [esp + 0x100]
push eax
call fcn.004bc0c0
lea eax, [esp + 0x1a0]
push eax
lea eax, [esp + 0xfc]
push eax
call fcn.004bbf60
mov edx, dword [esp + 0x10]
lea ebp, [esp + 0x1a0]
mov ebx, 0x20
mov eax, 0x40
test edi, edi
je 0x48453f
cmp byte [edx], 0
je 0x48453f
mov esi, edi
mov ecx, 0x1a
lea edi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x1c]
jmp 0x4845ac
xor edx, edx
test ebx, ebx
je 0x48456a
mov esi, ebp
lea eax, [esp + 0x160]
sub esi, eax
lea ecx, [esp + 0x160]
add ecx, edx
inc edx
mov al, byte [esi + ecx]
xor al, 0x36
mov byte [ecx], al
cmp edx, ebx
jb 0x484550
mov eax, 0x40
cmp ebx, 0x40
jae 0x484586
sub eax, ebx
lea ecx, [esp + 0x160]
push eax
add ecx, ebx
push 0x36
push ecx
call fcn.00531c60
add esp, 0xc
lea eax, [esp + 0x28]
push eax
call fcn.004bc070
push 0x40
lea eax, [esp + 0x164]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.004bc0c0
test edi, edi
je 0x4845bf
mov edx, dword [esp + 0x10]
cmp byte [edx], 0
jne 0x4845bf
mov ecx, 0x1a
lea esi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov byte [edx], 1
push dword [esp + 0x1f4]
lea eax, [esp + 0x2c]
push dword [esp + 0x24]
push eax
call fcn.004bc0c0
lea eax, [esp + 0x1c0]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.004bbf60
mov edi, dword [esp + 0x14]
test edi, edi
je 0x48460d
mov eax, dword [esp + 0x18]
cmp byte [eax], 0
je 0x48460d
mov esi, edi
mov ecx, 0x1a
lea edi, [esp + 0x90]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x14]
jmp 0x484682
xor edx, edx
test ebx, ebx
je 0x484635
lea eax, [esp + 0x160]
sub ebp, eax
lea esp, [esp]
lea ecx, [esp + 0x160]
add ecx, edx
inc edx
mov al, byte [ecx + ebp]
xor al, 0x5c
mov byte [ecx], al
cmp edx, ebx
jb 0x484620
cmp ebx, 0x40
jae 0x484656
mov ecx, 0x40
lea eax, [esp + 0x160]
sub ecx, ebx
add eax, ebx
push ecx
push 0x5c
push eax
call fcn.00531c60
add esp, 0xc
lea eax, [esp + 0x90]
push eax
call fcn.004bc070
push 0x40
lea eax, [esp + 0x164]
push eax
lea eax, [esp + 0x98]
push eax
call fcn.004bc0c0
test edi, edi
je 0x484698
mov eax, dword [esp + 0x18]
cmp byte [eax], 0
jne 0x484698
mov ecx, 0x1a
lea esi, [esp + 0x90]
rep movsd dword es:[edi], dword [esi]
mov byte [eax], 1
push 0x20
lea eax, [esp + 0x1c4]
push eax
lea eax, [esp + 0x98]
push eax
call fcn.004bc0c0
push dword [esp + 0x24]
lea eax, [esp + 0x94]
push eax
call fcn.004bbf60
mov ecx, dword [esp + 0x1e0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0052f708
add esp, 0x1d4
ret 0x24
Function at 0x4846e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x19c
mov eax, dword [0x58bb30]
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 0x484736
mov eax, 0x40
push eax
push ecx
lea eax, [esp + 0x14c]
push eax
call fcn.00531230
add esp, 0xc
cmp esi, 0x44
jae 0x48494d
lea eax, [esi + 1]
mov byte [esp + esi + 0x144], 0
cmp eax, 0x44
jae 0x48494d
mov byte [esp + eax + 0x144], 0
lea eax, [esi + 2]
cmp eax, 0x44
jae 0x48494d
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.00484470
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 0x484820
mov ebx, dword [esp + ebp + 0xec]
test ebx, ebx
je 0x4848d1
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.00484470
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 0x484880
sub ebx, 1
jne 0x484833
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 0x484820
push 0x44
lea eax, [esp + 0x148]
push eax
call fcn.004ba540
push 0x20
lea eax, [esp + 0x108]
push eax
call fcn.004ba540
push 0x20
lea eax, [esp + 0x128]
push eax
call fcn.004ba540
push 0x20
lea eax, [esp + 0x18c]
push eax
call fcn.004ba540
mov ecx, dword [esp + 0x1a8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0052f708
add esp, 0x19c
ret 0x20
call fcn.0052f62d
int3
Function at 0x485830
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x1c]
mov edx, dword [esi]
mov eax, dword [edi]
cmp eax, edx
jbe 0x4858a0
mov ebx, 1
cmp edx, ebx
jb 0x485878
mov eax, dword [esp + 0x18]
lea ecx, [esi + 4]
mov ebp, edi
sub ebp, esi
sub eax, esi
mov edi, eax
lea ecx, [ecx]
mov eax, dword [ecx + ebp]
lea ecx, [ecx + 4]
xor eax, dword [ecx - 4]
inc ebx
mov dword [edi + ecx - 4], eax
mov edx, dword [esi]
cmp ebx, edx
jbe 0x485860
mov edi, dword [esp + 0x1c]
mov eax, dword [edi]
mov esi, dword [esp + 0x18]
sub eax, edx
shl eax, 2
push eax
lea eax, [edi + ebx*4]
push eax
lea eax, [esi + ebx*4]
push eax
call fcn.00531230
mov eax, dword [edi]
add esp, 0xc
mov dword [esi], eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
jae 0x4858fc
mov edx, 1
cmp eax, edx
jb 0x4858d4
mov ebp, dword [esp + 0x18]
lea ecx, [esi + 4]
mov ebx, edi
sub ebx, esi
sub ebp, esi
jmp 0x4858c0
mov eax, dword [ecx + ebx]
lea ecx, [ecx + 4]
xor eax, dword [ecx - 4]
inc edx
mov dword [ecx + ebp - 4], eax
mov eax, dword [edi]
cmp edx, eax
jbe 0x4858c0
mov ecx, dword [esi]
mov ebx, dword [esp + 0x18]
sub ecx, eax
shl ecx, 2
lea eax, [esi + edx*4]
push ecx
push eax
lea eax, [ebx + edx*4]
push eax
call fcn.00531230
mov eax, dword [esi]
add esp, 0xc
mov dword [ebx], eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
test eax, eax
je 0x485916
mov ebx, edi
lea edx, [esi + eax*4]
sub ebx, esi
mov ecx, dword [edx + ebx]
cmp ecx, dword [edx]
jne 0x485916
sub edx, 4
sub eax, 1
jne 0x485907
mov ebx, dword [esp + 0x18]
mov dword [ebx], eax
test eax, eax
je 0x485939
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 0x485927
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x485d90
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x5c
mov eax, dword [0x58bb30]
xor eax, esp
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x68]
push ebx
mov ebx, dword [esp + 0x68]
push esi
mov esi, dword [esp + 0x68]
mov dword [esp + 0x10], esi
cmp dword [ebx], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
je 0x485ed0
mov ecx, dword [eax]
test ecx, ecx
je 0x485ed0
mov edx, dword [0x5d274c]
mov esi, eax
mov eax, dword [esi + ecx*4]
mov eax, dword [edx + eax*4]
mov dword [esp + ecx*4 + 0x14], eax
sub ecx, 1
jne 0x485dd3
mov esi, dword [esp + 0x10]
push edi
push 0x90
push ecx
push esi
call fcn.00531c60
mov edi, dword [ebx]
add esp, 0xc
test edi, edi
je 0x485e6a
mov ecx, dword [0x5d274c]
push ebp
mov ebp, dword [0x5d2748]
lea esp, [esp]
mov eax, dword [ebx + edi*4]
mov ebx, dword [ecx + eax*4]
cmp ebx, 0x7fff
je 0x485e60
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x485e60
lea edx, [eax - 1]
add edx, edi
lea edx, [esi + edx*4]
mov ecx, dword [esp + eax*4 + 0x1c]
cmp ecx, 0x7fff
je 0x485e52
add ecx, ebx
cmp ecx, 0x7fff
jb 0x485e4c
add ecx, 0xffff8001
mov ecx, dword [ebp + ecx*4]
xor dword [edx], ecx
sub edx, 4
sub eax, 1
jne 0x485e30
mov ecx, dword [0x5d274c]
mov ebx, dword [esp + 0x14]
sub edi, 1
jne 0x485e10
pop ebp
mov eax, dword [esp + 0xc]
mov edx, dword [ebx]
pop edi
mov ecx, dword [eax]
dec ecx
add edx, ecx
mov dword [esi], edx
cmp edx, 0x11
jle 0x485e9e
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 0x485e86
cmp dword [esi], 0x11
jbe 0x485ed6
mov dword [esi], 0x11
mov eax, 0x11
mov edi, edi
cmp dword [esi + eax*4], 0
jne 0x485ed6
add eax, 0xffffffff
mov dword [esi], eax
jne 0x485eb0
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0052f708
add esp, 0x5c
ret 0xc
mov dword [esi], 0
mov ecx, dword [esp + 0x60]
pop esi
pop ebx
xor ecx, esp
call fcn.0052f708
add esp, 0x5c
ret 0xc
Function at 0x486000
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push edi
mov edi, dword [esp + 0xc]
mov ecx, dword [edi]
test ecx, ecx
je 0x4860f1
mov eax, dword [edi + ecx*4]
push ebx
mov ebx, dword [0x5d2748]
push ebp
mov ebp, dword [0x5d274c]
push esi
mov eax, dword [ebp + eax*4]
cmp eax, 0x7fff
je 0x486043
add eax, eax
cmp eax, 0x7fff
jb 0x48603e
add eax, 0xffff8001
mov esi, dword [ebx + eax*4]
jmp 0x486045
xor esi, esi
mov eax, 8
imul eax, ecx
mov dword [eax + edx - 4], esi
mov ecx, dword [edi]
sub ecx, 1
je 0x486095
lea esi, [edi + ecx*4]
jmp 0x486060
mov dword [edx + ecx*8], 0
mov eax, dword [esi]
mov eax, dword [ebp + eax*4]
cmp eax, 0x7fff
je 0x486087
add eax, eax
cmp eax, 0x7fff
jb 0x486082
add eax, 0xffff8001
mov eax, dword [ebx + eax*4]
jmp 0x486089
xor eax, eax
mov dword [edx + ecx*8 - 4], eax
sub esi, 4
sub ecx, 1
jne 0x486060
mov eax, dword [edi]
lea esi, [eax*2 - 1]
mov dword [edx], esi
cmp esi, 0x11
jle 0x4860c8
lea eax, [edx - 0x38]
lea eax, [eax + esi*4]
add esi, 0xffffffef
mov edi, edi
mov ecx, dword [eax + 0x38]
lea eax, [eax - 4]
xor dword [eax - 8], ecx
xor dword [eax + 4], ecx
mov dword [eax + 0x3c], 0
sub esi, 1
jne 0x4860b0
cmp dword [edx], 0x11
pop esi
pop ebp
pop ebx
jbe 0x4860f7
mov dword [edx], 0x11
mov eax, 0x11
jmp 0x4860e0
cmp dword [edx + eax*4], 0
jne 0x4860f7
add eax, 0xffffffff
mov dword [edx], eax
jne 0x4860e0
pop edi
ret 8
mov dword [edx], 0
pop edi
ret 8
Function at 0x48e800
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x550410
mov eax, dword fs:[0]
push eax
mov eax, 0x5044
call fcn.0052f720
mov eax, dword [0x58bb30]
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 0x48e9ef
cmp eax, 0x800
jae 0x48e9ef
push 0x800
lea eax, [ebp - 0x4010]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x48e9ef
cmp eax, 0x800
jae 0x48e9ef
lea eax, [ebp - 0x3010]
push eax
call fcn.004a2d90
mov ebx, eax
lea eax, [ebp - 0x4010]
push eax
call fcn.004a2d90
mov esi, eax
cmp word [esi], 0
je 0x48e9ef
push esi
push ebx
call fcn.004c1160
test eax, eax
je 0x48e9ef
push esi
push edi
call fcn.004a2d90
push eax
call fcn.004c1160
test eax, eax
jne 0x48e9ef
mov word [ebp - 0x1010], ax
xor esi, esi
test ax, ax
jne 0x48e941
push 0x800
push edi
lea eax, [ebp - 0x1010]
push eax
call fcn.004bd090
push esi
push str.rtmp_d
push 0x800
lea eax, [ebp - 0x1010]
push eax
call fcn.004a2d90
push eax
call fcn.00404ce0
add esp, 0x10
lea eax, [ebp - 0x1010]
push eax
call fcn.00490c30
test al, al
je 0x48e926
xor eax, eax
mov word [ebp - 0x1010], ax
jmp 0x48e92d
mov ax, word [ebp - 0x1010]
add esi, 0x7b
cmp esi, 0x2710
jl 0x48e8d4
test ax, ax
je 0x48e9ef
push 0x800
push edi
lea eax, [ebp - 0x2010]
push eax
call fcn.004bd090
push 0x800
push ebx
lea eax, [ebp - 0x2010]
push eax
call fcn.004a2ea0
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x2010]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x48e9ef
lea ecx, [ebp - 0x5050]
call fcn.0048ea10
mov dword [ebp - 4], 0
xor bl, bl
push edi
call fcn.00490c30
test al, al
jne 0x48e9ab
push 0x12
push edi
lea ecx, [ebp - 0x5050]
call fcn.0048eea0
mov bl, al
lea eax, [ebp - 0x2010]
push eax
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test bl, bl
je 0x48e9d9
lea ecx, [ebp - 0x5050]
call fcn.0048ec90
lea ecx, [ebp - 0x5050]
call fcn.0048efb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5050]
call fcn.0048ea60
mov al, 1
jmp 0x48e9f1
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.0052f708
mov esp, ebp
pop ebp
ret 4