joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448530
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x3320
call fcn.00507730
mov eax, dword [0x5755c4]
xor eax, esp
mov dword [esp + 0x331c], eax
push esi
push edi
mov edi, ecx
mov esi, 1
push 0x800
push 0x3d4
call fcn.00497960
push eax
lea eax, [esp + 0x32c]
push eax
call fcn.0049dc20
cmp esi, 1
jbe 0x4485ad
lea eax, [esp + 0x324]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x448580
sub eax, edx
lea ecx, [esp + 0x324]
sar eax, 1
push esi
push str.___u_
push 0x800
lea eax, [ecx + eax*2]
push eax
call fcn.00402930
add esp, 0x10
cmp esi, 0x3e8
ja 0x44863a
lea eax, [esp + 0x1324]
mov dword [esp + 8], 1
mov dword [esp + 0x1c], eax
lea eax, [esp + 8]
push eax
push 0
push 0x104b
push dword [edi + 0x30]
mov dword [esp + 0x20], 0
mov dword [esp + 0x30], 0x800
mov dword [esp + 0x1c], 0
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x44863a
lea ecx, [ecx]
lea eax, [esp + 0x324]
push eax
lea eax, [esp + 0x1328]
push eax
call fcn.004a1330
test eax, eax
je 0x448706
inc dword [esp + 0xc]
lea eax, [esp + 8]
push eax
push 0
push 0x104b
push dword [edi + 0x30]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x448600
push 0
push 0
push 0x1004
push dword [edi + 0x30]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov esi, eax
lea eax, [esp + 0x2328]
push 0x800
push eax
call fcn.004d6b80
push 0x4001
push 0x2b4
lea eax, [esp + 0x78]
push eax
push 0
lea eax, [esp + 0x2334]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push 0x34
lea eax, [esp + 0x40]
push 0
push eax
call fcn.00520500
mov eax, dword [esp + 0x80]
add esp, 0xc
mov dword [esp + 0x58], eax
lea eax, [esp + 0x324]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], 3
push eax
push 0
push 0x104d
push dword [edi + 0x30]
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], 0
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [edi + 0x30]
call dword [sym.imp.USER32.dll_SetFocus]
push 0
push esi
push 0x1076
push dword [edi + 0x30]
mov byte [edi + 0x41], 1
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x3324]
pop edi
pop esi
xor ecx, esp
call fcn.00507712
add esp, 0x3320
ret
inc esi
jmp 0x448551
Function at 0x44bfb0
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x2004
call fcn.00507730
mov eax, dword [0x5755c4]
xor eax, esp
mov dword [esp + 0x2000], eax
push esi
push 1
push str.RestoreFolder
push 0x541f74
mov esi, ecx
call fcn.004af130
push 0x800
push 0x541b9c
test eax, eax
je 0x44c048
lea eax, [esp + 0xc]
push eax
push str.LastFolder
push 0x541f74
call fcn.004af2c0
cmp word [esp + 4], 0
je 0x44c0eb
lea eax, [esp + 4]
push eax
call fcn.004750c0
test al, al
je 0x44c0eb
push 0x800
lea eax, [esp + 8]
push eax
lea eax, [esi + 0x1044]
push eax
call fcn.0049dc20
pop esi
mov ecx, dword [esp + 0x2000]
xor ecx, esp
call fcn.00507712
add esp, 0x2004
ret
lea eax, [esp + 0x100c]
push eax
push str.StartFolder
push 0x541e90
call fcn.004af2c0
xor eax, eax
mov word [esp + 4], ax
lea eax, [esp + 4]
push 0x800
push eax
lea eax, [esp + 0x100c]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x44c0eb
cmp eax, 0x800
jae 0x44c0eb
cmp word [esp + 4], 0
je 0x44c0eb
mov ecx, 0x542024
lea eax, [esp + 4]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x44c0c6
test dx, dx
je 0x44c0c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x44c0c6
add eax, 4
add ecx, 4
test dx, dx
jne 0x44c0a0
xor eax, eax
jmp 0x44c0cb
sbb eax, eax
or eax, 1
test eax, eax
je 0x44c0eb
push 0x800
lea eax, [esp + 8]
add esi, 0x1044
push eax
push esi
call fcn.0049dc20
push esi
call fcn.0040d3b0
mov ecx, dword [esp + 0x2004]
pop esi
xor ecx, esp
call fcn.00507712
add esp, 0x2004
ret
Function at 0x44e200
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
test esi, esi
je 0x44e319
mov edi, esi
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x44e213
sub edi, ecx
sar edi, 1
je 0x44e319
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x44e239
pop edi
pop esi
ret 4
push ebx
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea eax, [edi*2 + 2]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x44e27f
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x44e27f
lea ecx, [edi + 1]
push ecx
push eax
push esi
call fcn.004a0f90
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
lea eax, [edi*2 + 2]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x44e2ca
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebp, eax
test ebp, ebp
je 0x44e2c9
lea ecx, [edi + 1]
push ecx
push ebp
push esi
call fcn.004a0f90
push ebp
push ebp
call dword [sym.imp.USER32.dll_CharToOemA]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 7
call dword [sym.imp.USER32.dll_SetClipboardData]
pop ebp
lea eax, [edi*2 + 2]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
pop ebx
test edi, edi
je 0x44e313
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, eax
test ecx, ecx
je 0x44e313
sub ecx, esi
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x44e2f3
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
mov eax, 1
pop esi
ret 4
Function at 0x44e720
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x28
mov eax, dword [0x5755c4]
xor eax, esp
mov dword [esp + 0x24], eax
push ebp
mov ebp, dword [esp + 0x30]
push esi
push edi
push ebp
mov dword [esp + 0x1c], ebp
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea esi, [eax + 1]
lea ecx, [esi + esi]
push ecx
call fcn.00524aa7
mov edi, eax
add esp, 4
test edi, edi
je 0x44e901
push esi
push edi
xor eax, eax
push ebp
mov word [edi], ax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, edi
lea ecx, [esi + 2]
lea esp, [esp]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x44e770
push ebx
lea eax, [esp + 0x24]
sub esi, ecx
push eax
push ebp
sar esi, 1
call dword [sym.imp.USER32.dll_GetClientRect]
push ebp
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0
push 0x31
mov ebx, eax
push ebp
mov dword [esp + 0x20], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x14]
push eax
push esi
push edi
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esp + 0x2c]
jl 0x44e8e4
push edi
call fcn.00486220
mov edx, eax
cmp edx, edi
je 0x44e815
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44e7e0
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push edi
call fcn.0051f100
mov esi, edi
add esp, 0xc
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x44e806
sub esi, ecx
sar esi, 1
lea eax, [esp + 0x14]
mov ebx, esi
push eax
push esi
push edi
push dword [esp + 0x1c]
shr ebx, 1
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
lea esi, [edi + 4]
lea esi, [esi + ebx*2]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44e835
mov ecx, dword [esp + 0x14]
sub eax, edx
sar eax, 1
cmp ecx, dword [esp + 0x2c]
jl 0x44e8d8
mov ebp, dword [esp + 0x10]
mov ecx, 0x2026
jmp 0x44e860
cmp ebx, 1
jb 0x44e8d4
cmp eax, 1
jb 0x44e8d4
lea eax, [eax*2 + 2]
mov word [esi - 6], cx
push eax
lea eax, [esi - 4]
push esi
push eax
call fcn.0051f100
mov ecx, edi
add esp, 0xc
lea edx, [ecx + 2]
jmp 0x44e890
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44e890
sub ecx, edx
lea eax, [esp + 0x14]
push eax
sar ecx, 1
dec ebx
push ecx
push edi
push ebp
sub esi, 2
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44e8b6
mov ecx, dword [esp + 0x14]
sub eax, edx
sar eax, 1
cmp ecx, dword [esp + 0x2c]
mov ecx, 0x2026
jge 0x44e860
mov ebp, dword [esp + 0x1c]
push edi
push ebp
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ebx, dword [esp + 0x10]
push dword [esp + 0x20]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
push ebp
call dword [sym.imp.USER32.dll_ReleaseDC]
push edi
call fcn.00524aa2
add esp, 4
pop ebx
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00507712
add esp, 0x28
ret 4
Function at 0x44f020
Capabilities:
Get graphical window text

Disassembly:
push ecx
mov eax, dword [0x5755c4]
xor eax, esp
mov dword [esp], eax
push ebx
push esi
mov ebx, ecx
call fcn.00478e40
cmp eax, 0x600
jb 0x44f063
mov ecx, dword [ebx]
movzx eax, byte [esp + 0x10]
push eax
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov ecx, esi
call dword [0x540780]
call esi
pop esi
pop ebx
mov ecx, dword [esp]
xor ecx, esp
call fcn.00507712
pop ecx
ret 4
mov ecx, dword [ebx + 8]
mov al, byte [esp + 0x10]
mov byte [ecx + 0x68], al
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x44f0df
push edi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
xor ecx, ecx
mov edx, 2
lea esi, [eax + 1]
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00507864
add esp, 4
mov edi, eax
push esi
push edi
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
push 0
push 0xb1
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push 8
push 0x102
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push edi
call fcn.0050786d
add esp, 4
pop edi
mov ecx, dword [esp + 8]
pop esi
pop ebx
xor ecx, esp
call fcn.00507712
pop ecx
ret 4
Function at 0x450f40
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x268
mov eax, dword [0x5755c4]
xor eax, esp
mov dword [esp + 0x264], eax
push ebx
push esi
mov esi, dword [esp + 0x278]
lea eax, [esp + 0x16c]
push edi
push 0x80
push 0x541b9c
push eax
push 0x54fe90
push dword [0x572a04]
call fcn.004af2c0
cmp word [esp + 0x170], 0
lea eax, [esp + 0x170]
push 0x100
push eax
setne bl
call fcn.0049b220
mov edi, dword [esp + 0x278]
lea eax, [esp + 0xc]
push edi
test bl, bl
je 0x450fea
push 0x54fe98
push 0x32
push eax
call fcn.00402930
add esp, 0x10
lea eax, [esp + 0xc]
push 0x80
push 0x541b9c
push esi
push eax
push dword [0x572a04]
call fcn.004af2c0
cmp word [esi], 0
jne 0x45106a
xor al, al
jmp 0x451125
push str.PE_d
push 0x32
push eax
call fcn.00402930
push 0x100
lea eax, [esp + 0x84]
push 0
push eax
call fcn.00520500
add esp, 0x1c
lea eax, [esp + 0x70]
push 0x100
push 0
push eax
lea eax, [esp + 0x18]
push eax
push dword [0x572a04]
call fcn.004af150
mov edx, eax
test edx, edx
je 0x450fe3
xor ecx, ecx
test edx, edx
jle 0x451042
lea eax, [ecx + 0x49]
xor byte [esp + ecx + 0x70], al
inc ecx
cmp ecx, edx
jl 0x451036
push 0x80
push esi
lea eax, [esp + 0x78]
push eax
call fcn.004a0da0
xor eax, eax
mov word [esi + 0xfe], ax
lea eax, [esp + 0x70]
push 0x100
push eax
call fcn.0049b220
push edi
push 0x54feac
lea eax, [esp + 0x14]
push 0x32
push eax
call fcn.00402930
add esp, 0x10
lea ebx, [esi + 0x100]
lea eax, [esp + 0xc]
push 0xc8
push 0x541b9c
push ebx
push eax
push dword [0x572a04]
call fcn.004af2c0
push edi
push 0x54feb4
lea eax, [esp + 0x14]
push 0x32
push eax
call fcn.00402930
add esp, 0x10
lea eax, [esi + 0x290]
push 0x800
push 0x541b9c
push eax
lea eax, [esp + 0x18]
push eax
push dword [0x572a04]
call fcn.004af2c0
push edi
push 0x54febc
lea eax, [esp + 0x14]
push 0x32
push eax
call fcn.00402930
add esp, 0x10
lea eax, [esp + 0xc]
push 0
push eax
push dword [0x572a04]
call fcn.004af130
test eax, eax
push 0xc8
setne al
cmp word [ebx], 0
mov byte [esi + 0x1420], al
lea eax, [esi + 0x1290]
je 0x45111c
push ebx
jmp 0x45111d
push esi
push eax
call fcn.0049dc20
mov al, 1
mov ecx, dword [esp + 0x270]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00507712
add esp, 0x268
ret 8

Function at 0x45a880
Capabilities:
Check if file exists

Disassembly:
mov byte [ecx + 0x3328], 0
jmp fcn.00473c40
Function at 0x462ae0
Capabilities:
Hash data using sha256

Disassembly:
cmp dword [0x5c2e6c], 2
jl 0x462b05
movaps xmm0, xmmword [0x550140]
movaps xmmword [0x5b1090], xmm0
movaps xmm0, xmmword [0x550130]
movaps xmmword [0x5b10a0], xmm0
push esi
mov esi, dword [esp + 8]
push 0xf0
push 0
push esi
call fcn.00520500
mov dword [esi + 0x100], 0
add esp, 0xc
mov byte [esi + 0x104], 0
mov eax, dword [esi + 0xf4]
mov dword [eax], 0x6a09e667
mov eax, dword [esi + 0xf4]
mov dword [eax + 4], 0xbb67ae85
mov eax, dword [esi + 0xf4]
mov dword [eax + 8], 0x3c6ef372
mov eax, dword [esi + 0xf4]
mov dword [eax + 0xc], 0xa54ff53a
mov eax, dword [esi + 0xf4]
mov dword [eax + 0x10], 0x510e527f
mov eax, dword [esi + 0xf4]
mov dword [eax + 0x14], 0x9b05688c
mov eax, dword [esi + 0xf4]
mov dword [eax + 0x18], 0x1f83d9ab
mov eax, dword [esi + 0xf4]
mov dword [eax + 0x1c], 0x5be0cd19
mov eax, dword [esi + 0xf4]
xor dword [eax], 0x2080020
mov ecx, dword [esi + 0xf4]
mov eax, dword [esp + 0xc]
xor dword [ecx + 8], eax
mov ecx, dword [esi + 0xf4]
mov eax, dword [esp + 0x10]
or eax, 0x2000
shl eax, 0x10
xor dword [ecx + 0xc], eax
pop esi
ret 0xc

Function at 0x462d70
Capabilities:
Hash data using sha256

Disassembly:
push ecx
push esi
push edi
mov edi, dword [esp + 0x10]
push 0x200
push 0
lea eax, [edi + 0x948]
push eax
call fcn.00520500
add esp, 0xc
mov dword [edi + 0xb48], 0
lea eax, [edi + 0x840]
push 1
push 0
push eax
call fcn.00462ae0
mov dword [esp + 8], 0
lea esi, [edi + 0xf4]
cmp dword [0x5c2e6c], 2
jl 0x462dda
movaps xmm0, xmmword [0x550140]
movaps xmmword [0x5b1090], xmm0
movaps xmm0, xmmword [0x550130]
movaps xmmword [0x5b10a0], xmm0
push 0xf0
lea eax, [esi - 0xf4]
push 0
push eax
call fcn.00520500
mov dword [esi + 0xc], 0
add esp, 0xc
mov byte [esi + 0x10], 0
mov eax, dword [esi]
mov ecx, dword [esp + 8]
mov dword [eax], 0x6a09e667
mov eax, dword [esi]
mov dword [eax + 4], 0xbb67ae85
mov eax, dword [esi]
mov dword [eax + 8], 0x3c6ef372
mov eax, dword [esi]
mov dword [eax + 0xc], 0xa54ff53a
mov eax, dword [esi]
mov dword [eax + 0x10], 0x510e527f
mov eax, dword [esi]
mov dword [eax + 0x14], 0x9b05688c
mov eax, dword [esi]
mov dword [eax + 0x18], 0x1f83d9ab
mov eax, dword [esi]
mov dword [eax + 0x1c], 0x5be0cd19
mov eax, dword [esi]
xor dword [eax], 0x2080020
mov eax, dword [esi]
xor dword [eax + 8], ecx
inc ecx
mov eax, dword [esi]
add esi, 0x108
mov dword [esp + 8], ecx
xor dword [eax + 0xc], 0x20000000
cmp ecx, 8
jb 0x462db5
mov byte [edi + 0x944], 1
mov byte [edi + 0x83c], 1
pop edi
pop esi
pop ecx
ret 4
Function at 0x463070
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53a9cb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5755c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ecx, [edi + 0x14]
call fcn.00488250
mov dword [ebp - 4], 0
lea ecx, [edi + 0x14]
mov eax, dword [ebp + 8]
push 0x40000
push eax
push 0x463780
mov dword [edi], eax
mov dword [edi + 0x3c], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 1
mov dword [edi + 4], 0
call fcn.00488630
lea ecx, [edi + 0x14]
call fcn.004883f0
mov dword [edi + 0x10], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4674e0
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push ebx
push ebp
mov ebp, ecx
xor eax, eax
push esi
push edi
mov word [ebp + 0xc532], ax
mov byte [ebp + 0xc529], al
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ebx, eax
mov byte [esp + 0x13], 1
push 0
push 0
push ebx
call fcn.0049d3c0
mov esi, eax
test esi, esi
je 0x467575
sub esi, ebx
sar esi, 1
add esi, 2
lea eax, [esi + esi]
push eax
call fcn.00524aa7
mov edi, eax
add esp, 4
test edi, edi
je 0x467575
push esi
push edi
push ebx
call fcn.0049d3c0
mov ebx, eax
test ebx, ebx
je 0x467575
cmp byte [esp + 0x13], 0
jne 0x467565
cmp byte [esp + 0x18], 0
mov ecx, ebp
push edi
je 0x467560
call fcn.004676f0
push edi
call fcn.00524aa2
add esp, 4
mov byte [esp + 0x13], 0
jmp 0x467503
call fcn.00467200
push edi
call fcn.00524aa2
add esp, 4
mov byte [esp + 0x13], 0
jmp 0x467503
cmp byte [esp + 0x18], 0
jne 0x467583
mov ecx, ebp
call fcn.00467590
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x469970
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
test esi, esi
je 0x4699a3
test bl, 7
je 0x4699a3
movzx edx, byte [ebx]
inc ebx
movzx ecx, al
xor edx, ecx
shr eax, 8
mov dword [esp + 0x10], ebx
xor eax, dword [edx*4 + 0x5b16c0]
sub esi, 1
jne 0x469982
cmp esi, 8
jb 0x469a39
push edi
mov edi, esi
shr edi, 3
xor eax, dword [ebx]
sub esi, 8
mov ebx, dword [ebx + 4]
mov edx, ebx
shr edx, 0x18
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
mov edx, dword [edx*4 + 0x5b16c0]
xor edx, dword [ecx*4 + 0x5b1ac0]
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x5b1ec0]
mov ecx, eax
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x5b26c0]
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
xor edx, dword [ecx*4 + 0x5b2ac0]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
movzx eax, al
xor edx, dword [ecx*4 + 0x5b2ec0]
movzx ecx, bl
mov ebx, dword [esp + 0x14]
add ebx, 8
mov dword [esp + 0x14], ebx
xor edx, dword [ecx*4 + 0x5b22c0]
xor edx, dword [eax*4 + 0x5b32c0]
mov eax, edx
sub edi, 1
jne 0x4699b2
pop edi
test esi, esi
je 0x469a5a
lea ecx, [ecx]
movzx edx, byte [ebx]
lea ebx, [ebx + 1]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x5b16c0]
sub esi, 1
jne 0x469a40
pop esi
pop ebx
ret 0xc
Function at 0x469a60
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
mov edx, dword [esp + 0x18]
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x28]
mov dword [esp + 8], ebx
test ebp, ebp
je 0x469ab8
mov ecx, dword [esp + 0x24]
lea ecx, [ecx]
test cl, 7
je 0x469ab8
movzx ecx, byte [ecx]
dec ebp
movzx eax, bl
xor ecx, eax
mov dword [esp + 0x28], ebp
shrd ebx, edx, 8
shr edx, 8
xor ebx, dword [ecx*8 + 0x5b36c0]
xor edx, dword [ecx*8 + 0x5b36c4]
mov ecx, dword [esp + 0x24]
inc ecx
mov dword [esp + 8], ebx
mov dword [esp + 0x24], ecx
test ebp, ebp
jne 0x469a80
mov ecx, ebp
mov dword [esp + 0xc], 0
and ecx, 0xfffffff8
push esi
mov esi, dword [esp + 0x28]
lea eax, [ecx + esi]
add ecx, 7
shr ecx, 3
cmp eax, esi
sbb eax, eax
not eax
and eax, ecx
mov dword [esp + 0x14], eax
mov eax, esi
jbe 0x469bdf
mov ebp, dword [esp + 0x14]
push edi
lea esp, [esp]
mov esi, dword [eax + 4]
mov ebx, dword [eax]
xor esi, edx
xor ebx, dword [esp + 0x10]
mov eax, esi
shr eax, 0x10
mov ecx, ebx
movzx edx, al
mov eax, esi
shr eax, 8
movzx eax, al
mov dword [esp + 0x1c], esi
mov edi, dword [edx*8 + 0x5b3ec0]
mov edx, dword [edx*8 + 0x5b3ec4]
xor edx, dword [eax*8 + 0x5b46c4]
xor edi, dword [eax*8 + 0x5b46c0]
movzx eax, byte [esp + 0x1c]
xor edx, dword [eax*8 + 0x5b4ec4]
xor edi, dword [eax*8 + 0x5b4ec0]
mov eax, esi
shrd ecx, eax, 0x18
shr eax, 0x18
movzx eax, cl
mov ecx, ebx
xor edx, dword [eax*8 + 0x5b56c4]
xor edi, dword [eax*8 + 0x5b56c0]
mov eax, esi
shrd ecx, eax, 0x10
shr eax, 0x10
movzx eax, cl
mov ecx, ebx
xor edx, dword [eax*8 + 0x5b5ec4]
xor edi, dword [eax*8 + 0x5b5ec0]
mov eax, esi
shrd ecx, eax, 8
shr esi, 0x18
shr eax, 8
movzx eax, cl
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x14], ecx
xor edx, dword [eax*8 + 0x5b66c4]
xor edi, dword [eax*8 + 0x5b66c0]
xor edi, dword [esi*8 + 0x5b36c0]
xor edx, dword [esi*8 + 0x5b36c4]
movzx eax, bl
mov ebx, edi
mov dword [esp + 0x10], edi
xor ebx, dword [eax*8 + 0x5b6ec0]
xor edx, dword [eax*8 + 0x5b6ec4]
mov eax, dword [esp + 0x2c]
add eax, 8
mov dword [esp + 0x10], ebx
mov dword [esp + 0x2c], eax
cmp ecx, ebp
jb 0x469af0
mov ebp, dword [esp + 0x30]
pop edi
pop esi
and ebp, 7
jbe 0x469c10
movzx ecx, byte [eax]
movzx eax, bl
xor ecx, eax
mov eax, dword [esp + 0x24]
shrd ebx, edx, 8
inc eax
shr edx, 8
xor ebx, dword [ecx*8 + 0x5b36c0]
xor edx, dword [ecx*8 + 0x5b36c4]
mov dword [esp + 0x24], eax
sub ebp, 1
jne 0x469be5
pop ebp
mov eax, ebx
pop ebx
add esp, 0x10
ret 0x10
Function at 0x46a230
Capabilities:
Authenticate hmac
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
sub esp, 0x158
mov eax, dword [0x5755c4]
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 0x46a2f5
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.0046b6f0
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 0x46a293
pop ebp
mov dword [edi + 4], edx
pop ebx
cmp dword [edi], 3
jne 0x46a480
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 0x46a310
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.0049cc30
push 0x40
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0049cc80
push 0x20
add edi, 4
lea eax, [esp + 0x10]
push edi
push eax
call fcn.0049cc80
lea eax, [esp + 0x11c]
push eax
lea eax, [esp + 0x10]
push eax
call fcn.0049cb10
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 0x46a3c0
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.0049cc30
push 0x40
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.0049cc80
push 0x20
lea eax, [esp + 0x120]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.0049cc80
lea eax, [esp + 0x13c]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.0049cb10
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.00507712
add esp, 0x158
ret 8
Function at 0x46a4a0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov eax, ecx
test esi, esi
je 0x46a54d
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 0x46a4c0
pop edi
pop ebp
pop ebx
pop esi
ret 8