joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4209f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0xa0c]
sub esp, 0xa0c
push 0xffffffffffffffff
push 0x471132
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x51c358]
xor eax, ebp
mov dword [ebp + 0xa08], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x30]
call dword [0x47a874]
mov ecx, eax
call dword [0x47a870]
push dword [ebp + 0xa14]
mov ecx, eax
mov dword [ebp - 4], 0
push str.changeWindowSize
call dword [0x47a80c]
mov ecx, eax
call dword [0x47a810]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call dword [0x47a818]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, eax
lea eax, [ebp]
push 0x800
push 0
push eax
mov dword [ebp - 0x10], edi
call fcn.0046d02e
add esp, 0xc
lea eax, [ebp]
push 0x800
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea eax, [ebp]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [0x47a84c]
add esp, 0xc
lea edi, [esi + 0x18]
mov ecx, edi
push eax
call dword [0x47a858]
lea ecx, [ebp - 0x14]
call dword [0x47a860]
push 0x104
lea eax, [ebp + 0x800]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_GetClassNameW]
push 0xffffffffffffffff
lea eax, [ebp + 0x800]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [0x47a84c]
add esp, 0xc
add esi, 0x1c
mov ecx, esi
push eax
call dword [0x47a858]
lea ecx, [ebp - 0x14]
call dword [0x47a860]
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x44]
call dword [0x47a874]
mov ecx, eax
call dword [0x47a870]
push esi
push edi
push str.currentText
mov ecx, eax
mov dword [ebp - 4], 1
call dword [0x47a80c]
mov ecx, eax
call dword [0x47a808]
mov ecx, eax
call dword [0x47a808]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call dword [0x47a818]
mov eax, dword [ebp + 0xa14]
cmp eax, 3
je 0x420b7e
cmp eax, 6
jne 0x420b89
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
call fcn.00420d30
jmp 0x420b89
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
call fcn.00420bc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0xa08]
xor ecx, ebp
call fcn.0046bbc8
lea esp, [ebp + 0xa0c]
pop ebp
ret 4
Function at 0x420e10
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x804]
sub esp, 0x804
push 0xffffffffffffffff
push 0x4711c2
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x51c358]
xor eax, ebp
mov dword [ebp + 0x800], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 0x800
mov esi, eax
lea eax, [ebp]
push 0
push eax
call fcn.0046d02e
add esp, 0xc
lea eax, [ebp]
push 0x800
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea eax, [ebp]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [0x47a84c]
add esp, 0xc
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x28]
call dword [0x47a874]
mov ecx, eax
call dword [0x47a870]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
push ecx
push str.o
mov ecx, eax
call dword [0x47a80c]
mov ecx, eax
call dword [0x47a808]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call dword [0x47a818]
push str.Program_Manager
lea ecx, [ebp - 0x10]
call dword [0x47a33c]
test al, al
je 0x420ef9
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0
je 0x420ef9
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp - 0x10]
call dword [0x47a860]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.0046bbc8
lea esp, [ebp + 0x804]
pop ebp
ret

Function at 0x4260a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x471ba1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x51c358]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x2c]
push eax
call dword [0x47a418]
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
push ecx
mov ecx, eax
call dword [0x47a414]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call dword [0x47a758]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
mov edi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046c517
add esp, 4
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov esi, eax
cmovae ecx, dword [ebp - 0x28]
push edi
push esi
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 5
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x426175
push 1
inc eax
push eax
push dword [ebp - 0x28]
call fcn.00401a00
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046bbc8
mov esp, ebp
pop ebp
ret 4
Function at 0x43c43a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop esi
push edi
xor edi, 0x163d1
and edi, 0x16cd0
pop edi
mov dword [ebp - 0x730], 0
mov eax, dword [ebp - 0x304]
mov dword [ebp - 0x1580], eax
cmp dword [ebp - 0x1580], 0
jne 0x43c47c
mov ecx, dword [ebp - 0x730]
mov dword [ebp - 0x4f0], ecx
jmp 0x43c76d
mov edx, dword [ebp - 0x1580]
mov eax, dword [ebp - 0x304]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x1584], eax
jne 0x43c4a4
mov ecx, dword [ebp - 0x730]
mov dword [ebp - 0x4f0], ecx
jmp 0x43c76d
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0x1584]
mov edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x1588], edx
cmp dword [ebp - 0x1588], 0
jne 0x43c4d6
mov eax, dword [ebp - 0x730]
mov dword [ebp - 0x4f0], eax
jmp 0x43c76d
mov ecx, dword [ebp - 0x304]
add ecx, dword [ebp - 0x1588]
mov dword [ebp - 0x724], ecx
jne 0x43c4fb
mov edx, dword [ebp - 0x730]
mov dword [ebp - 0x4f0], edx
jmp 0x43c76d
mov eax, dword [ebp - 0x724]
mov ecx, dword [ebp - 0x304]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x1900], ecx
mov edx, dword [ebp - 0x724]
mov eax, dword [ebp - 0x304]
add eax, dword [edx + 0x24]
mov dword [ebp - 0x1904], eax
mov ecx, dword [ebp - 0x724]
mov edx, dword [ebp - 0x304]
add edx, dword [ecx + 0x1c]
mov dword [ebp - 0x1908], edx
mov dword [ebp - 0x728], 0
jmp 0x43c555
mov ecx, dword [ebp - 0x724]
mov edx, dword [ebp - 0x728]
cmp edx, dword [ecx + 0x18]
jae 0x43c761
mov eax, dword [ebp - 0x728]
mov ecx, dword [ebp - 0x1900]
mov edx, dword [ebp - 0x304]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x72c], edx
mov eax, dword [ebp - 0x728]
mov ecx, dword [ebp - 0x1904]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x1908]
mov ecx, dword [ebp - 0x304]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x190c], ecx
mov dword [ebp - 0x18c], 0
jmp 0x43c5c5
mov edx, dword [ebp - 0x18c]
add edx, 1
mov dword [ebp - 0x18c], edx
mov eax, dword [ebp - 0x72c]
add eax, dword [ebp - 0x18c]
movsx ecx, byte [eax]
test ecx, ecx
je 0x43c677
mov edx, dword [ebp - 0x18c]
movsx eax, byte [ebp + edx - 0x960]
test eax, eax
je 0x43c677
push edx
or edx, 0x7d66
pop edx
push edi
or edi, 0xa0dc
pop edi
push eax
add eax, 0x72d5
pop eax
push ebx
push ecx
add esp, 4
xor ebx, 0xbcff
or ebx, 0x14b67
pop ebx
push eax
sub eax, 0x781
pop eax
mov ecx, dword [ebp - 0x72c]
add ecx, dword [ebp - 0x18c]
movsx edx, byte [ecx]
mov eax, dword [ebp - 0x18c]
movsx ecx, byte [ebp + eax - 0x960]
cmp edx, ecx
je 0x43c669
mov edx, dword [ebp - 0x72c]
add edx, dword [ebp - 0x18c]
movsx eax, byte [edx]
xor eax, 0x20
mov ecx, dword [ebp - 0x18c]
movsx edx, byte [ebp + ecx - 0x960]
cmp eax, edx
jne 0x43c670
jmp 0x43c5b6
jmp 0x43c677
push edx
push edx
add esp, 4
jmp 0x43c684
pop edx
push edi
push ecx
add esp, 4
call 0x43c699
add byte [esi], bh
inc ebx
inc eax
cmp bh, byte [ecx]
dec eax
inc ebx
cmp eax, dword ds:[ebx - 0x387efb3c]
invalid
mov eax, dword [ebp - 0x730]
mov dword [ebp - 0x4f0], eax
mov ecx, dword [ebp - 0x4f0]
mov dword [ebp - 0xa58], ecx
Function at 0x452a80
Capabilities:
Encode data using xor

Disassembly:
dec ebp
pop esp
mov ss, word [eax + 0x202f3b3]
mov word [eax + 0x202eeb3], ss
in al, dx
xor al, 4
add eax, dword [ebx]
xchg al, al
mov bh, 0xf3
add al, byte [edx]
add edx, dword [edx]
xchg ecx, eax
sbb eax, dword [ebx + eax]
add edx, dword [esp + edx*2 - 0x7a]
mov dword [edi], 0x7657cc84
add eax, dword [ebx]
test ah, ah
sti
fld dword [ebx]
add eax, dword [esp + ebp*8 + 0x3044670]
pop esp
pop ecx
push esi
xchg bh, al
pop es
test cl, dl
enter 0x457, 3
test cl, dh
in al, dx
or byte [ebx], al
add esp, dword [ecx + 0x55]
out dx, al
pop es
dec ebp
xor eax, 0x8e5d513d
cwde
jg 0x452acf
add al, byte [edx]
adc bh, byte [ecx - 0x7c6f71fb]
clc
add al, byte [edx]
adc bh, byte [ecx + 0x77c53e14]
outsd dx, dword [esi]
push ebp
push esi
xchg bh, al
pop es
test ch, dh
mov eax, dword [0x5d030482]
push ebx
test bl, ah
adc esi, dword [ecx + 3]
add ebp, esi
push es
push eax
inc esi
inc esi
pop ebx
push ebx
push esp
xchg bh, al
pop es
jmp 0x452b17
xchg bh, al
pop es
pop ebx
mov cs, word [eax + 0x202f87f]
adc bh, byte [ecx - 0x7c6771f5]
clc
add al, byte [edx]
adc bh, byte [ecx - 0x7e34c1fb]
bswap edx
mov byte [edi + 0x40202ee], dh
add eax, dword [ebx]
add ebp, esi
or eax, 0xeeb788ca
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
mov ss, word [eax + 0x202eeb7]
mov word [eax + 0x202f3b3], ss
out dx, al
push ebx
test bl, ch
cmp eax, dword [bp + di]
add eax, dword [ebx + eax*8 + 0x3033ba7]
test bl, dh
sal byte [ebp - 0x3c7bfcfd], 0xba
mov byte [ebx], al
add ebx, dword [ebx + 0x53]
push ebx
xchg bh, al
pop es
test bl, cl
stosb byte es:[edi], al
test eax, 0x595b0303
pop edx
xchg bh, al
pop es
test cl, dl
fsubr dword [edi]
add al, 3
popal
mov ds, word [eax + 0x202f3b7]
xchg ch, ch
add al, 0x8c
cwde
mov bh, 0xf3
add al, byte [edx]
mov cs, word [eax + 0x202f87f]
xchg bl, al
add al, 0x8c
mov byte [edi - 8], bh
add al, byte [edx]
mov ss, word [eax + 0x202f883]
xchg ah, al
add al, 0x8c
nop
Function at 0x459810
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x478058
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x51c358]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp + 8]
lea ecx, [ebx + 8]
movzx eax, word [edi]
mov word [ebx], ax
movzx eax, word [edi + 2]
mov word [ebx + 2], ax
movzx eax, word [edi + 4]
mov word [ebx + 4], ax
lea eax, [edi + 8]
push eax
call dword [0x47a1c0]
lea eax, [edi + 0xc]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebx + 0xc]
call dword [0x47a1c0]
movups xmm0, xmmword [edi + 0x10]
lea esi, [ebx + 0x50]
mov byte [ebp - 4], 1
push 0
movups xmmword [ebx + 0x10], xmm0
push 0
movups xmm0, xmmword [edi + 0x20]
mov ecx, esi
mov dword [ebp + 8], esi
movups xmmword [ebx + 0x20], xmm0
movups xmm0, xmmword [edi + 0x30]
movups xmmword [ebx + 0x30], xmm0
movups xmm0, xmmword [edi + 0x40]
movups xmmword [ebx + 0x40], xmm0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00404fc0
mov dword [esi], eax
mov ecx, dword [edi + 0x50]
mov dword [esi], ecx
mov dword [edi + 0x50], eax
mov eax, dword [edi + 0x54]
mov ecx, dword [esi + 4]
mov dword [esi + 4], eax
mov eax, ebx
mov dword [edi + 0x54], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x465120
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47907c
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x51c358]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [0x47a840]
push 5
push str.runas
call edi
add esp, 8
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x5c]
call dword [0x47a844]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call dword [0x47a860]
lea eax, [ebp - 0x64]
push eax
call dword [0x47a81c]
add esp, 4
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
push ecx
mov ecx, eax
call dword [0x47a844]
lea ecx, [ebp - 0x64]
call dword [0x47a860]
push esi
lea ecx, [ebp - 0x64]
call dword [0x47a864]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
push ecx
mov ecx, eax
call dword [0x47a844]
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 8
call dword [0x47a860]
cmp dword [ebp - 0x2c], 8
lea edx, [ebp - 0x40]
push 1
cmovae edx, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x58]
push edx
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x44], 8
push 0
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 6
push 0x47b078
mov esi, eax
call edi
add esp, 8
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 9
cmp esi, 0x1f
ja case.0x465225.1
movzx eax, byte [esi + 0x465384]
jmp dword [eax*4 + 0x465358]
push 0xc
push 0x48371c
call edi
add esp, 8
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x60]
push eax
call dword [0x47a858]
lea ecx, [ebp - 0x5c]
jmp 0x4652bd
push 0xf
push 0x48372c
jmp 0x465233
push 0xf
push 0x48373c
jmp 0x465233
push 0xf
push str.exe
jmp 0x465233
push 0x12
push 0x48375c
jmp 0x465233
push 0x1b
push 0x483770
jmp 0x465233
push 6
push 0x48378c
jmp 0x465233
push 0xf
push str.DDE
jmp 0x465233
push 0x2a
push str.DDEDDE
jmp 0x465233
push 0x1e
push 0x4837d0
jmp 0x465233
push 6
push 0x47b078
call edi
add esp, 8
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
lea ecx, [ebp - 0x60]
push eax
call dword [0x47a858]
lea ecx, [ebp - 0x64]
call dword [0x47a860]
lea ecx, [ebp - 0x60]
call dword [0x47a860]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4652e3
push 2
inc eax
push eax
push dword [ebp - 0x28]
call fcn.00401a00
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x46530e
push 2
inc eax
push eax
push dword [ebp - 0x40]
call fcn.00401a00
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x465339
push 2
inc eax
push eax
push dword [ebp - 0x58]
call fcn.00401a00
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046bbc8
mov esp, ebp
pop ebp
ret 4
Function at 0x46d0f0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x18
push ebx
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
mov dword [esp + 0x18], ebx
test ebx, ebx
jne 0x46d11a
or eax, 0xffffffff
pop ebx
add esp, 0x18
ret 0x10
mov eax, dword [esp + 4]
xor ecx, ecx
inc eax
mov edx, 4
mul edx
push ebp
push esi
seto cl
neg ecx
or ecx, eax
push edi
push ecx
call fcn.0046c517
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x14], 0
mov ebp, eax
mov dword [esp + 0x20], ebp
test ecx, ecx
jle 0x46d1bb
mov eax, ebx
sub eax, ebp
mov dword [esp + 0x1c], eax
nop dword [eax]
mov ebx, dword [eax + ebp]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
push esi
call fcn.0046c517
add esp, 4
mov edi, eax
push 0
push 0
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [esp + 0x14]
lea ebp, [ebp + 4]
inc eax
mov dword [ebp - 4], edi
mov ecx, dword [esp + 0x10]
cmp eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
jl 0x46d160
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
push ebx
mov dword [ebp + ecx*4], 0
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ebp
push dword [esp + 0x14]
call fcn.00464430
xor esi, esi
add esp, 8
mov edi, eax
cmp dword [esp + 0x10], esi
jle 0x46d1f9
mov ecx, dword [ebp + esi*4]
test ecx, ecx
je 0x46d1f9
push ecx
call fcn.0046c520
inc esi
add esp, 4
cmp esi, dword [esp + 0x10]
jl 0x46d1e1
push ebp
call fcn.0046c520
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x10
Function at 0x4054d4
Capabilities:
Hash data using sha256

Disassembly:
cmp dword [0x441494], 2
jl 0x4054f9
movaps xmm0, xmmword [0x42f400]
movaps xmmword [0x439bb0], xmm0
movaps xmm0, xmmword [0x42f3f0]
movaps xmmword [0x439bc0], xmm0
push esi
mov esi, dword [esp + 8]
mov ecx, esi
call fcn.0040589f
xor edx, edx
mov ecx, dword [esi + 0xf4]
mov eax, dword [edx + 0x42f3c8]
mov dword [edx + ecx], eax
add edx, 4
cmp edx, 0x20
jl 0x405507
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 0x405c4b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x405c7d
test dl, 7
je 0x405c7d
movzx ecx, byte [edx]
movzx eax, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x439bd8]
inc edx
mov dword [ebp + 0xc], edx
sub esi, 1
jne 0x405c5d
cmp esi, 8
jb 0x405d0d
push edi
mov edi, esi
shr edi, 3
xor ebx, dword [edx]
sub esi, 8
mov edx, dword [edx + 4]
mov ecx, edx
shr ecx, 0x18
mov eax, edx
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x439bd8]
xor ecx, dword [eax*4 + 0x439fd8]
mov eax, edx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x43a3d8]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x43abd8]
mov eax, ebx
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x43afd8]
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x43b3d8]
movzx eax, dl
mov edx, dword [ebp + 0xc]
add edx, 8
mov dword [ebp + 0xc], edx
xor ecx, dword [eax*4 + 0x43a7d8]
movzx eax, bl
xor ecx, dword [eax*4 + 0x43b7d8]
mov ebx, ecx
sub edi, 1
jne 0x405c8c
pop edi
test esi, esi
je 0x405d29
movzx ecx, byte [edx]
movzx eax, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x439bd8]
inc edx
sub esi, 1
jne 0x405d11
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 0xc

Function at 0x405e96
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
push 0x20
pop ebx
cmp dword [esi], 2
jne 0x405ee4
mov eax, dword [esi + 4]
push edi
mov dword [ebp + 8], eax
lea eax, [ebp - 0x20]
push eax
push 4
lea eax, [ebp + 8]
push eax
push ebx
push dword [ebp + 0xc]
call fcn.0040654a
xor edx, edx
mov dword [esi + 4], edx
mov edi, edx
movzx eax, byte [ebp + edx - 0x20]
mov ecx, edx
and ecx, 3
shl ecx, 3
shl eax, cl
xor edi, eax
inc edx
cmp edx, ebx
jb 0x405eca
mov dword [esi + 4], edi
pop edi
cmp dword [esi], 3
jne 0x405f09
lea eax, [ebp - 0x20]
add esi, 4
push eax
push ebx
push esi
push ebx
push dword [ebp + 0xc]
call fcn.0040654a
push ebx
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.0041ee80
add esp, 0xc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4062f4
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x264
push edi
mov edi, dword [esp + 0x280]
mov eax, ecx
mov dword [esp + 4], eax
cmp edi, 0x18
ja 0x4064e9
push ebx
push ebp
xor ebp, ebp
lea ebx, [eax + 0x4b4]
push esi
mov esi, ebp
cmp dword [ebx + 0x134], edi
jne 0x406358
push dword [esp + 0x27c]
mov ecx, ebx
call fcn.0040d9c8
test al, al
je 0x406358
push 0x10
push dword [esp + 0x288]
lea eax, [ebx + 0x102]
push eax
call fcn.0041d700
add esp, 0xc
test eax, eax
je 0x4064f3
inc esi
add ebx, 0x178
cmp esi, 4
jb 0x40631e
mov esi, 0x200
lea eax, [esp + 0x74]
push esi
push eax
push dword [esp + 0x288]
call fcn.0040ff36
xor eax, eax
mov ecx, edi
inc eax
shl eax, cl
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x40]
push eax
push 0x10
push dword [esp + 0x298]
lea eax, [esp + 0x8c]
push eax
call fcn.00421730
pop ecx
push eax
lea eax, [esp + 0x90]
push eax
call fcn.004066bd
push esi
lea eax, [esp + 0x78]
push eax
call fcn.0040dc01
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x27c]
push 0x40
mov ecx, dword [edx + 0xa94]
lea ebx, [edx + 0x4b4]
mov eax, ecx
and eax, 3
imul eax, eax, 0x178
add ebx, eax
lea eax, [ecx + 1]
mov dword [edx + 0xa94], eax
pop ecx
push 0x10
push dword [esp + 0x288]
mov dword [ebx + 0x134], edi
lea eax, [ebx + 0x102]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push eax
movsw word es:[edi], word [esi]
call fcn.0041ee80
push 0x20
pop edi
push edi
lea eax, [esp + 0x44]
push eax
lea esi, [ebx + 0x112]
push esi
call fcn.0041ee80
push edi
lea eax, [esp + 0x30]
push eax
lea eax, [ebx + 0x138]
push eax
call fcn.0041ee80
push edi
lea eax, [esp + 0x7c]
push eax
lea eax, [ebx + 0x158]
push eax
call fcn.0041ee80
add esp, 0x30
push ebp
push 1
push edi
push esi
call fcn.0040db05
cmp dword [esp + 0x290], ebp
je 0x406477
push edi
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x298]
call fcn.0041ee80
add esp, 0xc
mov esi, dword [esp + 0x294]
test esi, esi
je 0x4064aa
push 8
push ebp
push esi
call fcn.0041d1d0
add esp, 0xc
mov al, byte [esp + ebp + 0x14]
mov ecx, ebp
and ecx, 7
xor byte [ecx + esi], al
inc ebp
cmp ebp, edi
jb 0x40648e
push edi
lea eax, [esp + 0x18]
push eax
call fcn.0040dc01
cmp dword [esp + 0x288], 0
pop esi
pop ebp
pop ebx
je 0x4064de
push dword [esp + 0x27c]
mov ecx, dword [esp + 8]
lea eax, [esp + 0x2c]
push 0x100
push eax
push dword [esp + 0x278]
add ecx, 0xa9c
call fcn.0040d09c
push edi
lea eax, [esp + 0x2c]
push eax
call fcn.0040dc01
pop edi
add esp, 0x264
ret 0x20
push ebp
push ebp
push 0x20
pop edi
push edi
lea esi, [ebx + 0x112]
push esi
call fcn.0040db05
push edi
lea eax, [esp + 0x38]
push esi
push eax
call fcn.0041ee80
add esp, 0xc
push ebp
push 1
push edi
push esi
call fcn.0040db05
push edi
lea eax, [ebx + 0x138]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0041ee80
push edi
lea eax, [ebx + 0x158]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.0041ee80
add esp, 0x18
jmp 0x406459
Function at 0x40654a
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0x1d0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1e4]
push edi
push 0x40
pop ebp
cmp esi, ebp
jbe 0x40659f
lea eax, [esp + 0x170]
push eax
call fcn.0040e217
push esi
push dword [esp + 0x1e8]
lea eax, [esp + 0x178]
push eax
call fcn.0040e25d
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x174]
push eax
call fcn.0040e170
push 0x20
lea ebx, [esp + 0x54]
pop esi
jmp 0x4065a6
mov ebx, dword [esp + 0x1e4]
xor edi, edi
mov edx, edi
test esi, esi
je 0x4065cb
mov ebp, ebx
lea eax, [esp + 0x10]
sub ebp, eax
lea ecx, [esp + 0x10]
add ecx, edx
mov al, byte [ecx + ebp]
xor al, 0x36
inc edx
mov byte [ecx], al
cmp edx, esi
jb 0x4065b6
push 0x40
pop ebp
cmp esi, ebp
jae 0x4065e5
mov eax, ebp
lea ecx, [esp + 0x10]
sub eax, esi
add ecx, esi
push eax
push 0x36
push ecx
call fcn.0041d1d0
add esp, 0xc
lea eax, [esp + 0x90]
push eax
call fcn.0040e217
push ebp
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x98]
push eax
call fcn.0040e25d
push dword [esp + 0x1f0]
lea eax, [esp + 0x94]
push dword [esp + 0x1f0]
push eax
call fcn.0040e25d
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x94]
push eax
call fcn.0040e170
lea eax, [esp + 0x100]
push eax
call fcn.0040e217
test esi, esi
je 0x40665b
lea eax, [esp + 0x10]
sub ebx, eax
lea ecx, [esp + 0x10]
add ecx, edi
mov al, byte [ebx + ecx]
xor al, 0x5c
inc edi
mov byte [ecx], al
cmp edi, esi
jb 0x406649
cmp esi, ebp
jae 0x406675
mov eax, ebp
lea ecx, [esp + 0x10]
sub eax, esi
add ecx, esi
push eax
push 0x5c
push ecx
call fcn.0041d1d0
add esp, 0xc
push ebp
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x108]
push eax
call fcn.0040e25d
push 0x20
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x108]
push eax
call fcn.0040e25d
push dword [esp + 0x1f4]
lea eax, [esp + 0x104]
push eax
call fcn.0040e170
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1d0
ret 0x14