joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4381b0
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x1004
call fcn.004f8350
mov eax, dword [0x544354]
xor eax, esp
mov dword [esp + 0x1000], eax
mov eax, dword [esp + 0x1008]
push ebp
push 0x519c98
push eax
call fcn.0046dd80
mov ebp, eax
test ebp, ebp
jne 0x4381fc
lea eax, [ebp + 0x32]
pop ebp
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.004f833c
add esp, 0x1004
ret 8
push esi
mov esi, dword [esp + 0x1014]
xor eax, eax
cmp esi, 0x8000
jbe 0x438310
push ebx
push edi
push eax
mov eax, esi
shr eax, 3
add eax, 0x1000
push eax
push ebp
call fcn.00502aa9
push ebp
push 0x1000
lea eax, [esp + 0x24]
push 1
push eax
call fcn.0050273f
add esp, 0x1c
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00437f50
mov ecx, esi
mov ebx, eax
shr ecx, 2
push 0
add ecx, 0x1000
push ecx
push ebp
call fcn.00502aa9
push ebp
push 0x1000
lea eax, [esp + 0x24]
push 1
push eax
call fcn.0050273f
add esp, 0x1c
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00437f50
lea ecx, [esi + esi]
mov edi, eax
shr ecx, 2
push 0
add ecx, 0x1000
push ecx
push ebp
call fcn.00502aa9
push ebp
push 0x1000
lea eax, [esp + 0x24]
push 1
push eax
call fcn.0050273f
add esp, 0x1c
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00437f50
mov esi, eax
mov eax, dword [esp + 0x101c]
push 0
lea ecx, [eax + eax*2]
shr ecx, 2
add ecx, 0x1000
push ecx
push ebp
call fcn.00502aa9
push ebp
push 0x1000
lea eax, [esp + 0x24]
push 1
push eax
call fcn.0050273f
add esp, 0x1c
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00437f50
add eax, esi
add eax, edi
add eax, ebx
cdq
and edx, 3
push ebp
lea esi, [edx + eax]
sar esi, 2
call fcn.004fede7
add esp, 4
mov eax, esi
pop edi
pop ebx
jmp 0x438351
cmp esi, 0x1000
jbe 0x438320
lea eax, [esi - 0x1000]
shr eax, 1
push 0
push eax
push ebp
call fcn.00502aa9
push ebp
push 0x1000
lea eax, [esp + 0x1c]
push 1
push eax
call fcn.0050273f
push ebp
mov esi, eax
call fcn.004fede7
add esp, 0x20
lea eax, [esp + 8]
push esi
push eax
call fcn.00437f50
mov ecx, dword [esp + 0x1008]
pop esi
pop ebp
xor ecx, esp
call fcn.004f833c
add esp, 0x1004
ret 8
Function at 0x43b5c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x511d06
mov eax, dword fs:[0]
push eax
mov eax, 0x61a0
call fcn.004f8350
mov eax, dword [0x544354]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x43b744
push esi
call fcn.0046ccd0
test al, al
je 0x43b744
push esi
call fcn.0046cfb0
test al, al
jne 0x43b744
mov esi, edi
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x43b627
sub esi, ecx
push edi
sar esi, 1
call fcn.0047d830
cmp word [eax], 0
je 0x43b744
push 0x800
lea eax, [ebp - 0x1010]
push eax
push 0x517a54
push edi
call fcn.0047d340
lea ecx, [ebp - 0x1070]
call fcn.00494820
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x1070]
call fcn.004948c0
push 2
push 0
push 2
lea eax, [ebp - 0x1070]
push eax
lea ecx, [ebp - 0x61ac]
call fcn.00490a40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20b8]
call fcn.00404070
lea eax, [ebp - 0x20b8]
push eax
lea ecx, [ebp - 0x61ac]
call fcn.00491710
test eax, eax
jne 0x43b71d
mov edi, edi
push esi
lea eax, [ebp - 0x20b8]
push edi
push eax
call fcn.004fecf4
add esp, 0xc
test eax, eax
jne 0x43b71d
push edi
call fcn.0046d310
cmp byte [ebp - 0x10ac], 0
je 0x43b6fb
test byte [ebp - 0x1078], 1
je 0x43b707
lea eax, [ebp - 0x20b8]
push eax
call fcn.0046c650
jmp 0x43b707
lea eax, [ebp - 0x20b8]
push eax
call fcn.0046c6d0
lea eax, [ebp - 0x20b8]
push eax
lea ecx, [ebp - 0x61ac]
call fcn.00491710
test eax, eax
je 0x43b6c0
push edi
call fcn.0046c650
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x61ac]
call fcn.00490b30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1070]
call fcn.00404180
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.004f833c
mov esp, ebp
pop ebp
ret 4

Function at 0x43b770
Capabilities:
Get common file path

Disassembly:
cmp dword [esp + 8], 0x104
jb 0x43b795
push dword [esp + 4]
push 0
push 0
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x43b795
mov al, 1
ret 8
push ebx
push dword [esp + 0xc]
xor bl, bl
push str.unknown_folder
push dword [esp + 0x10]
call fcn.004947d0
mov al, bl
pop ebx
ret 8
Function at 0x440d20
Capabilities:
Get common file path

Disassembly:
cmp dword [0x54bacc], 1
je fcn.004cd210
push dword [esp + 8]
lea eax, [ecx + 0x1048]
push eax
push dword [esp + 0xc]
call fcn.004947d0
ret 8

Function at 0x441920
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x18
mov eax, dword [0x544354]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push esi
push edi
lea eax, [esp + 0xc]
mov esi, ecx
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esp + 0xc]
push eax
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [esp + 0xc]
push eax
push 0
push 0x1012
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
push 0x12
movsx ebx, ax
call esi
push 0x11
movsx edi, ax
call esi
test byte [esp + 0x14], 1
cwde
jne 0x4419af
test ebx, 0x8000
jne 0x4419af
test edi, 0x8000
jne 0x4419af
test eax, 0x8000
jne 0x4419af
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.004f833c
add esp, 0x18
ret
mov ecx, dword [esp + 0x20]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004f833c
add esp, 0x18
ret
Function at 0x445230
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x2004
call fcn.004f8350
mov eax, dword [0x544354]
xor eax, esp
mov dword [esp + 0x2000], eax
push esi
push 1
push str.RestoreFolder
push 0x517ba4
mov esi, ecx
call fcn.004a5d50
push 0x800
push 0x51787c
test eax, eax
je 0x4452c8
lea eax, [esp + 0xc]
push eax
push str.LastFolder
push 0x517ba4
call fcn.004a5ee0
cmp word [esp + 4], 0
je 0x44536b
lea eax, [esp + 4]
push eax
call fcn.0046cad0
test al, al
je 0x44536b
push 0x800
lea eax, [esp + 8]
push eax
lea eax, [esi + 0x1048]
push eax
call fcn.004947d0
pop esi
mov ecx, dword [esp + 0x2000]
xor ecx, esp
call fcn.004f833c
add esp, 0x2004
ret
lea eax, [esp + 0x100c]
push eax
push str.StartFolder
push 0x517afc
call fcn.004a5ee0
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 0x44536b
cmp eax, 0x800
jae 0x44536b
cmp word [esp + 4], 0
je 0x44536b
mov ecx, 0x517c80
lea eax, [esp + 4]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x445346
test dx, dx
je 0x445342
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x445346
add eax, 4
add ecx, 4
test dx, dx
jne 0x445320
xor eax, eax
jmp 0x44534b
sbb eax, eax
or eax, 1
test eax, eax
je 0x44536b
push 0x800
lea eax, [esp + 8]
add esi, 0x1048
push eax
push esi
call fcn.004947d0
push esi
call fcn.0040aea0
mov ecx, dword [esp + 0x2004]
pop esi
xor ecx, esp
call fcn.004f833c
add esp, 0x2004
ret
Function at 0x446e40
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
test esi, esi
je 0x446f65
mov edi, esi
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x446e53
sub edi, ecx
sar edi, 1
je 0x446f65
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x446e79
pop edi
pop esi
ret 4
push ebx
push ebp
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea eax, [edi*2 + 2]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x446ec2
push ebx
call ebp
test eax, eax
je 0x446ec2
lea ecx, [edi + 1]
push ecx
push eax
push esi
call fcn.004979e0
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 0x446f17
push ebx
call ebp
mov ebp, eax
test ebp, ebp
je 0x446f11
lea ecx, [edi + 1]
push ecx
push ebp
push esi
call fcn.004979e0
push ebp
push ebp
call dword [sym.imp.USER32.dll_CharToOemA]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
mov ebx, dword [sym.imp.USER32.dll_SetClipboardData]
push 7
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalLock]
jmp 0x446f1d
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, dword [sym.imp.USER32.dll_SetClipboardData]
lea eax, [edi*2 + 2]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x446f5d
push edi
call ebp
mov ecx, eax
test ecx, ecx
je 0x446f5d
sub ecx, esi
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x446f41
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
ret 4
Function at 0x447280
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x28
mov eax, dword [0x544354]
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.004fe8be
mov edi, eax
add esp, 4
test edi, edi
je 0x447461
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 0x4472d0
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 0x447444
push edi
call fcn.0047d830
mov edx, eax
cmp edx, edi
je 0x447375
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x447340
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push edi
call fcn.004f96d0
mov esi, edi
add esp, 0xc
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x447366
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 0x447395
mov ecx, dword [esp + 0x14]
sub eax, edx
sar eax, 1
cmp ecx, dword [esp + 0x2c]
jl 0x447438
mov ebp, dword [esp + 0x10]
mov ecx, 0x2026
jmp 0x4473c0
cmp ebx, 1
jb 0x447434
cmp eax, 1
jb 0x447434
lea eax, [eax*2 + 2]
mov word [esi - 6], cx
push eax
lea eax, [esi - 4]
push esi
push eax
call fcn.004f96d0
mov ecx, edi
add esp, 0xc
lea edx, [ecx + 2]
jmp 0x4473f0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4473f0
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 0x447416
mov ecx, dword [esp + 0x14]
sub eax, edx
sar eax, 1
cmp ecx, dword [esp + 0x2c]
mov ecx, 0x2026
jge 0x4473c0
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.004fe8b9
add esp, 4
pop ebx
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004f833c
add esp, 0x28
ret 4
Function at 0x447b60
Capabilities:
Get graphical window text

Disassembly:
push ebx
mov ebx, ecx
call fcn.00470750
cmp eax, 0x600
jb 0x447b81
mov ecx, dword [ebx]
movzx eax, byte [esp + 8]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x10]
pop ebx
ret 4
mov ecx, dword [ebx + 8]
mov al, byte [esp + 8]
mov byte [ecx + 0x68], al
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x447bfd
push esi
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.004f847f
add esp, 4
mov edi, eax
push esi
push edi
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push 0
push 0xb1
push dword [ebx + 0xc]
call esi
push 1
push 8
push 0x102
push dword [ebx + 0xc]
call esi
push edi
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push edi
call fcn.004f8488
add esp, 4
pop edi
pop esi
pop ebx
ret 4
Function at 0x449a10
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x268
mov eax, dword [0x544354]
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 0x51787c
push eax
push 0x525538
push dword [0x5417b4]
call fcn.004a5ee0
cmp word [esp + 0x170], 0
lea eax, [esp + 0x170]
push 0x100
push eax
setne bl
call fcn.00491e00
mov edi, dword [esp + 0x278]
lea eax, [esp + 0xc]
push edi
test bl, bl
je 0x449aba
push 0x525540
push 0x32
push eax
call fcn.00402720
add esp, 0x10
lea eax, [esp + 0xc]
push 0x80
push 0x51787c
push esi
push eax
push dword [0x5417b4]
call fcn.004a5ee0
cmp word [esi], 0
jne 0x449b3a
xor al, al
jmp 0x449bf5
push str.PE_d
push 0x32
push eax
call fcn.00402720
push 0x100
lea eax, [esp + 0x84]
push 0
push eax
call fcn.004fa860
add esp, 0x1c
lea eax, [esp + 0x70]
push 0x100
push 0
push eax
lea eax, [esp + 0x18]
push eax
push dword [0x5417b4]
call fcn.004a5d70
mov edx, eax
test edx, edx
je 0x449ab3
xor ecx, ecx
test edx, edx
jle 0x449b12
lea eax, [ecx + 0x49]
xor byte [esp + ecx + 0x70], al
inc ecx
cmp ecx, edx
jl 0x449b06
push 0x80
push esi
lea eax, [esp + 0x78]
push eax
call fcn.004977f0
xor eax, eax
mov word [esi + 0xfe], ax
lea eax, [esp + 0x70]
push 0x100
push eax
call fcn.00491e00
push edi
push 0x525554
lea eax, [esp + 0x14]
push 0x32
push eax
call fcn.00402720
add esp, 0x10
lea ebx, [esi + 0x100]
lea eax, [esp + 0xc]
push 0xc8
push 0x51787c
push ebx
push eax
push dword [0x5417b4]
call fcn.004a5ee0
push edi
push 0x52555c
lea eax, [esp + 0x14]
push 0x32
push eax
call fcn.00402720
add esp, 0x10
lea eax, [esi + 0x290]
push 0x800
push 0x51787c
push eax
lea eax, [esp + 0x18]
push eax
push dword [0x5417b4]
call fcn.004a5ee0
push edi
push 0x525564
lea eax, [esp + 0x14]
push 0x32
push eax
call fcn.00402720
add esp, 0x10
lea eax, [esp + 0xc]
push 0
push eax
push dword [0x5417b4]
call fcn.004a5d50
test eax, eax
push 0xc8
setne al
cmp word [ebx], 0
mov byte [esi + 0x1420], al
lea eax, [esi + 0x1290]
je 0x449bec
push ebx
jmp 0x449bed
push esi
push eax
call fcn.004947d0
mov al, 1
mov ecx, dword [esp + 0x270]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004f833c
add esp, 0x268
ret 8

Function at 0x452d60
Capabilities:
Check if file exists

Disassembly:
mov byte [ecx + 0x3328], 0
jmp fcn.0046b720
Function at 0x45ad40
Capabilities:
Hash data using sha256

Disassembly:
cmp dword [0x58aaa4], 2
jl 0x45ad65
movaps xmm0, xmmword [0x5257e0]
movaps xmmword [0x578ad0], xmm0
movaps xmm0, xmmword [0x5257d0]
movaps xmmword [0x578ae0], xmm0
push esi
mov esi, dword [esp + 8]
push 0xf0
push 0
push esi
call fcn.004fa860
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 0x45afd0
Capabilities:
Hash data using sha256

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push 0x200
push 0
lea eax, [edi + 0x948]
push eax
call fcn.004fa860
add esp, 0xc
mov dword [edi + 0xb48], 0
lea eax, [edi + 0x840]
push 1
push 0
push eax
call fcn.0045ad40
mov dword [esp + 0xc], 0
lea esi, [edi + 0xf4]
cmp dword [0x58aaa4], 2
jl 0x45b039
movaps xmm0, xmmword [0x5257e0]
movaps xmmword [0x578ad0], xmm0
movaps xmm0, xmmword [0x5257d0]
movaps xmmword [0x578ae0], xmm0
push 0xf0
lea eax, [esi - 0xf4]
push 0
push eax
call fcn.004fa860
mov dword [esi + 0xc], 0
add esp, 0xc
mov byte [esi + 0x10], 0
mov eax, dword [esi]
mov ecx, dword [esp + 0xc]
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 + 0xc], ecx
xor dword [eax + 0xc], 0x20000000
cmp ecx, 8
jb 0x45b014
mov byte [edi + 0x944], 1
mov byte [edi + 0x83c], 1
pop edi
pop esi
ret 4
Function at 0x45b2d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x512fab
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x544354]
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.0047f7a0
mov dword [ebp - 4], 0
lea ecx, [edi + 0x14]
mov eax, dword [ebp + 8]
push 0x40000
push eax
push 0x45b900
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.0047fad0
lea ecx, [edi + 0x14]
call fcn.0047f8f0
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 0x45f6b0
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 + 0xa532], ax
mov byte [ebp + 0xa529], al
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ebx, eax
mov byte [esp + 0x13], 1
push 0
push 0
push ebx
call fcn.00493f60
mov esi, eax
test esi, esi
je 0x45f745
sub esi, ebx
sar esi, 1
add esi, 2
lea eax, [esi + esi]
push eax
call fcn.004fe8be
mov edi, eax
add esp, 4
test edi, edi
je 0x45f745
push esi
push edi
push ebx
call fcn.00493f60
mov ebx, eax
test ebx, ebx
je 0x45f745
cmp byte [esp + 0x13], 0
jne 0x45f735
cmp byte [esp + 0x18], 0
mov ecx, ebp
push edi
je 0x45f730
call fcn.0045f8c0
push edi
call fcn.004fe8b9
add esp, 4
mov byte [esp + 0x13], 0
jmp 0x45f6d3
call fcn.0045f3d0
push edi
call fcn.004fe8b9
add esp, 4
mov byte [esp + 0x13], 0
jmp 0x45f6d3
cmp byte [esp + 0x18], 0
jne 0x45f753
mov ecx, ebp
call fcn.0045f760
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc

Function at 0x461ba0
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 0x461bd3
test bl, 7
je 0x461bd3
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 + 0x5792f8]
sub esi, 1
jne 0x461bb2
cmp esi, 8
jb 0x461c69
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 + 0x5792f8]
xor edx, dword [ecx*4 + 0x5796f8]
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x579af8]
mov ecx, eax
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x57a2f8]
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
xor edx, dword [ecx*4 + 0x57a6f8]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
movzx eax, al
xor edx, dword [ecx*4 + 0x57aaf8]
movzx ecx, bl
mov ebx, dword [esp + 0x14]
add ebx, 8
mov dword [esp + 0x14], ebx
xor edx, dword [ecx*4 + 0x579ef8]
xor edx, dword [eax*4 + 0x57aef8]
mov eax, edx
sub edi, 1
jne 0x461be2
pop edi
test esi, esi
je 0x461c8a
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 + 0x5792f8]
sub esi, 1
jne 0x461c70
pop esi
pop ebx
ret 0xc
Function at 0x461c90
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov edx, dword [esp + 0x14]
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x18], ebx
test ebp, ebp
je 0x461ce8
mov ecx, dword [esp + 0x20]
lea ecx, [ecx]
test cl, 7
je 0x461ce8
movzx ecx, byte [ecx]
dec ebp
movzx eax, bl
xor ecx, eax
mov dword [esp + 0x24], ebp
shrd ebx, edx, 8
shr edx, 8
xor ebx, dword [ecx*8 + 0x57b2f8]
xor edx, dword [ecx*8 + 0x57b2fc]
mov ecx, dword [esp + 0x20]
inc ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ecx
test ebp, ebp
jne 0x461cb0
mov ecx, ebp
mov dword [esp + 8], 0
and ecx, 0xfffffff8
push esi
mov esi, dword [esp + 0x24]
lea eax, [ecx + esi]
add ecx, 7
shr ecx, 3
cmp eax, esi
sbb eax, eax
not eax
and eax, ecx
mov dword [esp + 0x10], eax
mov eax, esi
jbe 0x461e0f
mov ebp, dword [esp + 0x10]
push edi
lea esp, [esp]
mov esi, dword [eax + 4]
mov ebx, dword [eax]
xor esi, edx
xor ebx, dword [esp + 0x20]
mov eax, esi
shr eax, 0x10
mov ecx, ebx
movzx edx, al
mov eax, esi
shr eax, 8
movzx eax, al
mov dword [esp + 0x18], esi
mov edi, dword [edx*8 + 0x57baf8]
mov edx, dword [edx*8 + 0x57bafc]
xor edx, dword [eax*8 + 0x57c2fc]
xor edi, dword [eax*8 + 0x57c2f8]
movzx eax, byte [esp + 0x18]
xor edx, dword [eax*8 + 0x57cafc]
xor edi, dword [eax*8 + 0x57caf8]
mov eax, esi
shrd ecx, eax, 0x18
shr eax, 0x18
movzx eax, cl
mov ecx, ebx
xor edx, dword [eax*8 + 0x57d2fc]
xor edi, dword [eax*8 + 0x57d2f8]
mov eax, esi
shrd ecx, eax, 0x10
shr eax, 0x10
movzx eax, cl
mov ecx, ebx
xor edx, dword [eax*8 + 0x57dafc]
xor edi, dword [eax*8 + 0x57daf8]
mov eax, esi
shrd ecx, eax, 8
shr esi, 0x18
shr eax, 8
movzx eax, cl
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x10], ecx
xor edx, dword [eax*8 + 0x57e2fc]
xor edi, dword [eax*8 + 0x57e2f8]
xor edi, dword [esi*8 + 0x57b2f8]
xor edx, dword [esi*8 + 0x57b2fc]
movzx eax, bl
mov ebx, edi
mov dword [esp + 0x20], edi
xor ebx, dword [eax*8 + 0x57eaf8]
xor edx, dword [eax*8 + 0x57eafc]
mov eax, dword [esp + 0x28]
add eax, 8
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], eax
cmp ecx, ebp
jb 0x461d20
mov ebp, dword [esp + 0x2c]
pop edi
pop esi
and ebp, 7
jbe 0x461e40
movzx ecx, byte [eax]
movzx eax, bl
xor ecx, eax
mov eax, dword [esp + 0x20]
shrd ebx, edx, 8
inc eax
shr edx, 8
xor ebx, dword [ecx*8 + 0x57b2f8]
xor edx, dword [ecx*8 + 0x57b2fc]
mov dword [esp + 0x20], eax
sub ebp, 1
jne 0x461e15
pop ebp
mov eax, ebx
pop ebx
add esp, 0xc
ret 0x10