joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6415f0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
sub esp, 0xd0
mov eax, dword [0x7b088c]
xor eax, esp
mov dword [esp + 0xcc], eax
push ebx
push esi
mov esi, dword [esp + 0xdc]
xor ebx, ebx
push edi
mov dword [esp + 0xc], ebx
cmp dword [esi + 0x14], 8
jb 0x64161e
mov edi, dword [esi]
jmp 0x641620
mov edi, esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x6416d1
test al, 0x10
je 0x64164e
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0xcc]
xor ecx, esp
call fcn.00682c16
add esp, 0xd0
ret
call fcn.006345a0
cmp eax, 1
jg 0x6416a9
push 1
push 0x29f
push str.file_util_win.cc
lea ecx, [esp + 0x1c]
call fcn.00633660
push str.conflicts_with_existing_file.
push 0x74d3cc
push edi
add eax, 8
push str.CreateDirectory_
push eax
call fcn.004d4587
add esp, 8
push eax
call fcn.00633db0
add esp, 8
push eax
call fcn.004d4587
add esp, 8
push eax
call fcn.004d4587
add esp, 8
mov ebx, 2
test bl, 2
je 0x6416b7
lea ecx, [esp + 0x10]
call fcn.00633930
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0xcc]
xor ecx, esp
call fcn.00682c16
add esp, 0xd0
ret
lea eax, [esp + 0xc0]
mov ecx, esi
push eax
call fcn.0063f160
cmp dword [esi + 0x14], 8
jb 0x6416ea
mov ecx, dword [esi]
jmp 0x6416ec
mov ecx, esi
cmp dword [esp + 0xd4], 8
lea eax, [esp + 0xc0]
push ebp
push dword [esi + 0x10]
cmovae eax, dword [esp + 0xc8]
push ecx
push dword [esp + 0xdc]
push eax
call fcn.004d9e5d
add esp, 0x10
test eax, eax
je 0x6417d7
lea eax, [esp + 0xc4]
push eax
call fcn.006415f0
add esp, 4
test al, al
je 0x6417d7
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x641762
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp ebp, 0xb7
jne 0x641766
push esi
call fcn.00642440
add esp, 4
test al, al
je 0x641766
mov bl, 1
jmp 0x6417d9
call fcn.006345a0
cmp eax, 1
jg 0x6417c9
push 1
push 0x2bb
push str.file_util_win.cc
lea ecx, [esp + 0x20]
call fcn.00633660
push 0x76e1e0
push ebp
push str.__last_error_is
push edi
add eax, 8
push str.Failed_to_create_directory
push eax
call fcn.004d4587
add esp, 8
push eax
call fcn.00633db0
add esp, 8
push eax
call fcn.004d4587
add esp, 8
mov ecx, eax
call fcn.00633cb0
push eax
call fcn.004d4587
add esp, 8
mov ebx, 8
test bl, 8
je 0x6417d7
lea ecx, [esp + 0x14]
call fcn.00633930
xor bl, bl
lea ecx, [esp + 0xc4]
call fcn.0063e8f0
mov ecx, dword [esp + 0xdc]
mov al, bl
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00682c16
add esp, 0xd0
ret
Function at 0x641d70
Capabilities:
Get common file path

Disassembly:
sub esp, 0x2fc
mov eax, dword [0x7b088c]
xor eax, esp
mov dword [esp + 0x2f8], eax
push ebx
push esi
mov esi, dword [esp + 0x308]
xor ebx, ebx
push edi
mov edi, dword [esp + 0x310]
mov dword [esp + 0xc], ebx
cmp dword [esi + 0x14], 8
jb 0x641da5
mov eax, dword [esi]
jmp 0x641da7
mov eax, esi
lea ecx, [esp + 0xf8]
push ecx
push 0
push 0x76cfa0
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x641e16
call fcn.006345a0
cmp eax, 1
jg 0x641e0e
call sub.KERNEL32.dll_GetLastError
push eax
push 1
push 0x25f
push str.file_util_win.cc
lea ecx, [esp + 0x20]
call fcn.006338d0
add eax, 0x10
push str.Failed_to_get_temporary_file_name_in
push eax
call fcn.004d4587
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x641dff
mov esi, dword [esi]
push esi
push eax
call fcn.00633db0
add esp, 8
mov ebx, 1
test bl, 1
jmp 0x641f07
push 0x104
lea eax, [esp + 0xfc]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x105
ja 0x641eb8
test eax, eax
je 0x641eb8
xor ecx, ecx
mov dword [esp + 0xdc], 7
push eax
lea eax, [esp + 0xfc]
mov word [esp + 0xcc], cx
push eax
lea ecx, [esp + 0xd0]
mov dword [esp + 0xe0], ebx
call fcn.00474507
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0xe4]
call fcn.0063e8a0
push eax
mov ecx, edi
call fcn.0063e930
lea ecx, [esp + 0xe0]
call fcn.0063e8f0
lea ecx, [esp + 0xc8]
call fcn.004228f5
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x2f8]
xor ecx, esp
call fcn.00682c16
add esp, 0x2fc
ret
call fcn.006345a0
cmp eax, 1
jg 0x641f04
call sub.KERNEL32.dll_GetLastError
push eax
push 1
push 0x265
push str.file_util_win.cc
lea ecx, [esp + 0x20]
call fcn.006338d0
lea ecx, [esp + 0xf8]
add eax, 0x10
push ecx
push str.Failed_to_get_long_path_name_for
push eax
call fcn.004d4587
add esp, 8
push eax
call fcn.00633db0
add esp, 8
mov ebx, 2
test bl, 2
je 0x641f12
lea ecx, [esp + 0x10]
call fcn.00633b70
mov ecx, dword [esp + 0x304]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00682c16
add esp, 0x2fc
ret
Function at 0x641f30
Capabilities:
Delete directory
Delete file

Disassembly:
sub esp, 0x258
mov eax, dword [0x7b088c]
xor eax, esp
mov dword [esp + 0x254], eax
push esi
mov esi, dword [esp + 0x260]
cmp dword [esi + 0x10], 0x104
jb 0x641f6d
xor al, al
pop esi
mov ecx, dword [esp + 0x254]
xor ecx, esp
call fcn.00682c16
add esp, 0x258
ret
push ebx
mov bl, byte [esp + 0x268]
test bl, bl
jne 0x642018
lea ecx, [esp + 0x28]
call fcn.0065b330
lea eax, [esp + 0x28]
push eax
push esi
call fcn.00642640
add esp, 8
test al, al
je 0x641fd4
cmp byte [esp + 0x30], bl
je 0x641fd4
cmp dword [esi + 0x14], 8
jb 0x641fa6
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
lea ecx, [esp + 0x28]
setne bl
call fcn.0065b370
mov al, bl
pop ebx
pop esi
mov ecx, dword [esp + 0x254]
xor ecx, esp
call fcn.00682c16
add esp, 0x258
ret
cmp dword [esi + 0x14], 8
jb 0x641fde
mov eax, dword [esi]
jmp 0x641fe0
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x64200f
lea ecx, [esp + 0x28]
mov bl, 1
call fcn.0065b370
mov al, bl
pop ebx
pop esi
mov ecx, dword [esp + 0x254]
xor ecx, esp
call fcn.00682c16
add esp, 0x258
ret
lea ecx, [esp + 0x28]
call fcn.0065b370
push 0x20a
lea eax, [esp + 0x54]
push 0
push eax
call fcn.00689b00
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x642034
mov esi, dword [esi]
lea ecx, [esp + 0x50]
nop dword [eax + eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x642040
mov word [esp + 0x24], ax
xorps xmm0, xmm0
mov dword [esp + 8], 0
lea eax, [esp + 0x50]
movq qword [esp + 0x1c], xmm0
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x10], eax
mov eax, 0x414
mov dword [esp + 0xc], 3
mov word [esp + 0x18], ax
test bl, bl
jne 0x642094
mov eax, 0x1494
mov word [esp + 0x18], ax
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
cmp dword [esp + 0x1a], 0
je 0x6420bf
pop ebx
xor al, al
pop esi
mov ecx, dword [esp + 0x254]
xor ecx, esp
call fcn.00682c16
add esp, 0x258
ret
test eax, eax
je 0x6420e8
cmp eax, 2
je 0x6420e8
cmp eax, 0x402
je 0x6420e8
pop ebx
xor eax, eax
pop esi
mov ecx, dword [esp + 0x254]
xor ecx, esp
call fcn.00682c16
add esp, 0x258
ret
mov ecx, dword [esp + 0x25c]
mov eax, 1
pop ebx
pop esi
xor ecx, esp
call fcn.00682c16
add esp, 0x258
ret

Function at 0x642440
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x14], 8
jb 0x64244c
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x64245f
shr eax, 4
and eax, 1
ret
xor al, al
ret
Function at 0x642910
Capabilities:
Get common file path

Disassembly:
sub esp, 0x258
mov eax, dword [0x7b088c]
xor eax, esp
mov dword [esp + 0x254], eax
push esi
mov esi, dword [esp + 0x260]
lea eax, [esp + 0x4c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x102
ja 0x6429b6
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 8]
call fcn.00473e20
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x3c]
call fcn.0063e8a0
mov ecx, eax
call fcn.00640720
push eax
mov ecx, esi
call fcn.0063e930
lea ecx, [esp + 0x1c]
call fcn.0063e8f0
lea ecx, [esp + 0x34]
call fcn.0063e8f0
mov eax, dword [esp + 0x18]
cmp eax, 8
jb 0x64299e
inc eax
lea ecx, [esp + 4]
push eax
push dword [esp + 8]
call fcn.0042298e
mov al, 1
pop esi
mov ecx, dword [esp + 0x254]
xor ecx, esp
call fcn.00682c16
add esp, 0x258
ret
mov ecx, dword [esp + 0x258]
xor al, al
pop esi
xor ecx, esp
call fcn.00682c16
add esp, 0x258
ret
Function at 0x642de0
Capabilities:
Check if file exists
Get file attributes
Move file

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
cmp dword [esi + 0x10], 0x104
jae 0x642e74
mov edi, dword [esp + 0x10]
cmp dword [edi + 0x10], 0x104
jae 0x642e74
cmp dword [edi + 0x14], 8
jb 0x642e0a
mov eax, dword [edi]
jmp 0x642e0c
mov eax, edi
cmp dword [esi + 0x14], 8
jb 0x642e16
mov ecx, dword [esi]
jmp 0x642e18
mov ecx, esi
push 3
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x642e2b
pop edi
mov al, 1
pop esi
ret
push ebx
push ebp
xor bl, bl
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x14], 8
mov ebp, eax
jb 0x642e41
mov eax, dword [esi]
jmp 0x642e43
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x642e66
shr eax, 4
and al, 1
je 0x642e66
push edi
push esi
call fcn.006411c0
mov bl, al
add esp, 8
test bl, bl
jne 0x642e6d
push ebp
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop ebp
mov al, bl
pop ebx
pop edi
pop esi
ret
pop edi
xor al, al
pop esi
ret

Function at 0x6435b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x14], 8
jb 0x6435bc
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne al
ret
Function at 0x644190
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xb8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xcc]
xor ebx, ebx
mov dword [esp + 0x14], ebx
cmp dword [edi + 0x14], 8
jb 0x6441b1
mov eax, dword [edi]
jmp 0x6441b3
mov eax, edi
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebx
mov esi, eax
call fcn.006410f0
mov ecx, dword [esp + 0x10]
cmp esi, 0xffffffff
cmovne ecx, esi
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x644257
call fcn.006345a0
cmp eax, 1
jg 0x64424f
push 1
push 0x309
push str.file_util_win.cc
lea ecx, [esp + 0x24]
call fcn.00633660
add eax, 8
push str.CreateFile_failed_for_path
push eax
call fcn.004d4587
add esp, 8
cmp dword [edi + 0x14], 8
jb 0x644222
mov edi, dword [edi]
push edi
push eax
call fcn.00633db0
add esp, 8
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._error_code
push esi
call fcn.004d4587
add esp, 8
mov ecx, eax
call fcn.00633cb0
mov ebx, 1
test bl, 1
jmp 0x64436b
mov ebp, dword [esp + 0xd4]
lea eax, [esp + 0x14]
push 0
push eax
push ebp
push dword [esp + 0xdc]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x644303
mov esi, dword [esp + 0x14]
cmp esi, ebp
je 0x644379
call fcn.006345a0
cmp eax, 1
jg 0x6442fe
push 1
push 0x319
push str.file_util_win.cc
lea ecx, [esp + 0x24]
call fcn.00633660
push str._bytes_to
push dword [esp + 0x18]
add eax, 8
push str.wrote
push eax
call fcn.004d4587
add esp, 8
mov ecx, eax
call fcn.00633cb0
push eax
call fcn.004d4587
add esp, 8
cmp dword [edi + 0x14], 8
jb 0x6442d9
mov edi, dword [edi]
push edi
push eax
call fcn.00633db0
add esp, 8
push ebp
push str._expected
push eax
call fcn.004d4587
add esp, 8
mov ecx, eax
call fcn.004d5b90
mov ebx, 4
test bl, 4
jmp 0x64436b
call fcn.006345a0
cmp eax, 1
jg 0x644368
push 1
push 0x315
push str.file_util_win.cc
lea ecx, [esp + 0x24]
call fcn.00633660
add eax, 8
push str.writing_file
push eax
call fcn.004d4587
add esp, 8
cmp dword [edi + 0x14], 8
jb 0x64433b
mov edi, dword [edi]
push edi
push eax
call fcn.00633db0
add esp, 8
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._failed__error_code
push esi
call fcn.004d4587
add esp, 8
mov ecx, eax
call fcn.00633cb0
mov ebx, 2
test bl, 2
je 0x644376
lea ecx, [esp + 0x18]
call fcn.00633930
or esi, 0xffffffff
lea ecx, [esp + 0x10]
call fcn.006410f0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret
Function at 0x645d60
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x10004
call fcn.006839e0
mov eax, dword [0x7b088c]
xor eax, esp
mov dword [esp + 0x10000], eax
mov eax, dword [esp + 0x10008]
push esi
mov esi, dword [esp + 0x10010]
push edi
push 0x767b10
push eax
call fcn.006434c0
mov edi, eax
add esp, 8
test edi, edi
jne 0x645db5
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x10000]
xor ecx, esp
call fcn.00682c16
add esp, 0x10004
ret
push edi
push 0x10000
lea eax, [esp + 0x10]
push 1
push eax
call fcn.006ade81
add esp, 0x10
test eax, eax
je 0x645dfa
nop
test esi, esi
je 0x645de1
push eax
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.00430475
push edi
push 0x10000
lea eax, [esp + 0x10]
push 1
push eax
call fcn.006ade81
add esp, 0x10
test eax, eax
jne 0x645dd0
push edi
call fcn.006adbc9
mov ecx, dword [esp + 0x1000c]
add esp, 4
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.00682c16
add esp, 0x10004
ret

Function at 0x6465e0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x20
mov eax, dword [0x7b088c]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x64672b
cmp byte [ebx + 0x3d], 0
je 0x64672b
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x646623
xor al, al
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00682c16
add esp, 0x20
ret
mov ecx, 0xf
mov byte [esp + 8], 0
xorps xmm0, xmm0
mov dword [esp + 0x1c], ecx
cmp ecx, 0x10
movq qword [esp + 8], xmm0
lea eax, [esp + 8]
mov dword [esp + 0x18], 8
cmovae eax, dword [esp + 8]
push ebp
push esi
push edi
mov byte [eax + 8], 0
lea ebp, [ebx + 0x40]
mov ecx, dword [esp + 0x28]
nop dword [eax]
cmp ecx, 0x10
lea eax, [esp + 0x10]
mov ecx, dword [ebx + 0x38]
lea edi, [esp + 0x14]
cmovae edi, dword [esp + 0x14]
lea esi, [esp + 0x14]
cmovae esi, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x28]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
push ebp
call dword [edx + 0x20]
sub eax, 0
je 0x6466a2
sub eax, 1
je 0x6466a6
mov ecx, dword [esp + 0x28]
sub eax, 2
je 0x646700
xor bl, bl
jmp 0x646702
mov byte [ebx + 0x3d], 0
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x14]
mov edx, dword [esp + 0x14]
cmp ecx, 0x10
mov esi, dword [esp + 0x10]
cmovae eax, edx
sub esi, eax
je 0x6466e1
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [esp + 0x18]
push esi
cmovae eax, edx
push 1
push eax
call fcn.006b053f
mov ecx, dword [esp + 0x38]
add esp, 0x10
cmp esi, eax
jne 0x64669e
cmp byte [ebx + 0x3d], 0
je 0x646700
test esi, esi
jne 0x646660
push esi
push 8
lea ecx, [esp + 0x1c]
call fcn.004d76d5
jmp 0x646658
mov bl, 1
pop edi
pop esi
pop ebp
cmp ecx, 0x10
jb 0x646719
inc ecx
push ecx
push dword [esp + 0xc]
lea ecx, [esp + 0x10]
call fcn.0041946e
mov al, bl
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00682c16
add esp, 0x20
ret
mov ecx, dword [esp + 0x20]
mov al, 1
pop ebx
xor ecx, esp
call fcn.00682c16
add esp, 0x20
ret
Function at 0x649e00
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x1c
mov eax, dword [0x7b088c]
xor eax, esp
mov dword [esp + 0x18], eax
cmp dword [0xabec14], 0
jne 0x649eb1
push 0x18
call fcn.00682bd5
add esp, 4
test eax, eax
je 0x649e39
push 0
mov ecx, eax
call fcn.00648650
mov dword [0xabec14], eax
jmp 0x649e43
mov dword [0xabec14], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov dword [esp + 0x14], 7
xor eax, eax
mov dword [esp + 0x10], 0
mov word [esp], ax
cmp word [edx], ax
jne 0x649e6a
xor ecx, ecx
jmp 0x649e80
mov ecx, edx
push esi
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x649e70
sub ecx, esi
sar ecx, 1
pop esi
push ecx
push edx
lea ecx, [esp + 8]
call fcn.00474507
mov ecx, dword [0xabec14]
lea eax, [esp]
push eax
call fcn.0064a2f0
mov eax, dword [esp + 0x14]
cmp eax, 8
jb 0x649eb1
inc eax
lea ecx, [esp]
push eax
push dword [esp + 4]
call fcn.0042298e
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00682c16
add esp, 0x1c
ret

Function at 0x64a2f0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0xd8
mov eax, dword [0x7b088c]
xor eax, esp
mov dword [esp + 0xd4], eax
push ebx
push ebp
xor ebx, ebx
xor eax, eax
mov dword [esp + 8], ebx
mov ebp, ecx
push esi
mov esi, dword [esp + 0xe8]
mov word [esp + 0xc8], ax
lea eax, [esp + 0xc8]
push eax
push 3
push esi
mov dword [esp + 0xe8], 7
mov dword [esp + 0xe4], ebx
call fcn.00652600
add esp, 0xc
cmp dword [esp + 0xd8], ebx
je 0x64a3ef
cmp dword [esp + 0xdc], 8
lea ecx, [esp + 0xc]
push edi
lea eax, [esp + 0xcc]
mov dword [esp + 0x10], ebx
cmovae eax, dword [esp + 0xcc]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
call fcn.006345a0
cmp eax, 4
jg 0x64a3cd
test edi, edi
jne 0x64a3cd
call sub.KERNEL32.dll_GetLastError
push eax
push 4
push 0x18d
push str.command_line.cc
lea ecx, [esp + 0x24]
call fcn.006338d0
add eax, 0x10
push str.CommandLineToArgvW_failed_on_command_line:
push eax
call fcn.004d4587
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x64a3be
mov esi, dword [esi]
push esi
push eax
call fcn.00633db0
add esp, 8
mov ebx, 1
test bl, 1
je 0x64a3db
lea ecx, [esp + 0x14]
call fcn.00633b70
push edi
push dword [esp + 0x14]
mov ecx, ebp
call fcn.00649fe0
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
mov eax, dword [esp + 0xdc]
pop esi
pop ebp
pop ebx
cmp eax, 8
jb 0x64a413
inc eax
lea ecx, [esp + 0xbc]
push eax
push dword [esp + 0xc0]
call fcn.0042298e
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.00682c16
add esp, 0xd8
ret 4
Function at 0x64b420
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebx, ecx
mov ebp, 0x10
push esi
push edi
lea edi, [ebx + 0x28]
mov ecx, edi
mov esi, dword [ecx]
lea ecx, [ecx + 4]
mov edx, esi
mov eax, esi
shl edx, 0x10
and eax, 0xff00
or edx, eax
shr esi, 8
movzx eax, byte [ecx - 1]
and esi, 0xff00
shl edx, 8
or edx, eax
or edx, esi
mov dword [ecx - 4], edx
sub ebp, 1
jne 0x64b433
lea ecx, [ebp + 0x40]
mov eax, dword [edi + 0x34]
lea edi, [edi + 4]
xor eax, dword [edi + 0x1c]
xor eax, dword [edi + 4]
xor eax, dword [edi - 4]
rol eax, 1
mov dword [edi + 0x3c], eax
sub ecx, 1
jne 0x64b465
mov eax, dword [ebx + 0x14]
xor edx, edx
mov dword [ebx], eax
mov eax, dword [ebx + 0x18]
mov dword [ebx + 4], eax
mov eax, dword [ebx + 0x1c]
mov edi, dword [ebx + 4]
mov dword [ebx + 8], eax
mov eax, dword [ebx + 0x20]
mov esi, dword [ebx + 8]
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0x24]
mov ebp, dword [ebx + 0xc]
mov dword [esp + 0x18], eax
mov dword [ebx + 0x10], eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], 0x28
nop word [eax + eax]
mov eax, dword [ebx]
mov dword [esp + 0x10], eax
cmp edx, 0x14
jae 0x64b4d9
mov eax, edi
mov ecx, edi
not eax
and ecx, esi
and eax, ebp
or eax, ecx
jmp 0x64b4f7
cmp edx, 0x28
jb 0x64b4f1
cmp edx, 0x3c
jae 0x64b4f1
mov eax, esi
mov ecx, esi
or eax, ebp
and ecx, ebp
and eax, edi
or eax, ecx
jmp 0x64b4f7
mov eax, edi
xor eax, esi
xor eax, ebp
cmp edx, 0x14
jae 0x64b503
mov ecx, 0x5a827999
jmp 0x64b520
cmp edx, 0x28
jae 0x64b50f
mov ecx, 0x6ed9eba1
jmp 0x64b520
cmp edx, 0x3c
sbb ecx, ecx
and ecx, 0xc4b8fb06
add ecx, 0xca62c1d6
mov ebp, dword [esp + 0x14]
inc edx
mov edi, dword [esp + 0x10]
rol edi, 5
add edi, dword [ebx + ebp]
add edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
add edi, ecx
mov ecx, edi
mov dword [esp + 0x18], ebp
add ecx, eax
mov dword [ebx + 0x10], ebp
mov eax, dword [esp + 0x14]
mov ebp, esi
mov dword [esp + 0x1c], esi
add eax, 4
mov dword [ebx + 0xc], esi
mov esi, dword [esp + 0x20]
ror esi, 2
mov dword [esp + 0x10], edi
mov edi, dword [ebx]
mov dword [ebx + 8], esi
mov dword [esp + 0x20], edi
mov dword [ebx + 4], edi
mov dword [ebx], ecx
mov dword [esp + 0x14], eax
cmp eax, 0x168
jb 0x64b4c0
add dword [ebx + 0x14], ecx
mov eax, edi
add dword [ebx + 0x18], eax
mov eax, esi
add dword [ebx + 0x1c], eax
mov eax, dword [ebx + 0xc]
add dword [ebx + 0x20], eax
mov eax, dword [ebx + 0x10]
add dword [ebx + 0x24], eax
pop edi
pop esi
pop ebp
mov dword [ebx + 0x168], 0
pop ebx
add esp, 0x14
ret
Function at 0x64b5b0
Capabilities:
Hash data using sha1

Disassembly:
sub esp, 0x174
mov eax, dword [0x7b088c]
xor eax, esp
mov dword [esp + 0x170], eax
mov eax, dword [esp + 0x178]
lea ecx, [esp]
push esi
push dword [esp + 0x180]
mov esi, dword [esp + 0x188]
push eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x174], 0
mov dword [esp + 0x178], 0
mov dword [esp + 0x20], 0x67452301
mov dword [esp + 0x24], 0xefcdab89
mov dword [esp + 0x28], 0x98badcfe
mov dword [esp + 0x2c], 0x10325476
mov dword [esp + 0x30], 0xc3d2e1f0
call fcn.0064b780
lea ecx, [esp + 4]
call fcn.0064b240
movups xmm0, xmmword [esp + 0x18]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x174]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], eax
pop esi
xor ecx, esp
call fcn.00682c16
add esp, 0x174
ret
Function at 0x64b780
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x14
push edi
mov edi, ecx
test eax, eax
je 0x64b959
mov edx, dword [esp + 0x1c]
push ebx
push ebp
push esi
nop dword [eax]
mov ecx, dword [edi + 0x168]
dec eax
mov dword [esp + 0x2c], eax
mov al, byte [edx]
inc edx
mov dword [esp + 0x28], edx
mov byte [ecx + edi + 0x28], al
inc dword [edi + 0x168]
cmp dword [edi + 0x168], 0x40
jb 0x64b943
lea esi, [edi + 0x28]
mov ebp, 0x10
mov ebx, esi
mov edx, dword [ebx]
lea ebx, [ebx + 4]
mov ecx, edx
mov eax, edx
shl ecx, 0x10
and eax, 0xff00
or ecx, eax
shr edx, 8
movzx eax, byte [ebx - 1]
and edx, 0xff00
shl ecx, 8
or ecx, eax
or ecx, edx
mov dword [ebx - 4], ecx
sub ebp, 1
jne 0x64b7d3
lea ecx, [ebp + 0x40]
mov eax, dword [esi + 0x34]
lea esi, [esi + 4]
xor eax, dword [esi + 0x1c]
xor eax, dword [esi + 4]
xor eax, dword [esi - 4]
rol eax, 1
mov dword [esi + 0x3c], eax
sub ecx, 1
jne 0x64b805
mov eax, dword [edi + 0x14]
xor edx, edx
mov dword [edi], eax
mov eax, dword [edi + 0x18]
mov dword [edi + 4], eax
mov eax, dword [edi + 0x1c]
mov ebx, dword [edi + 4]
mov dword [edi + 8], eax
mov eax, dword [edi + 0x20]
mov esi, dword [edi + 8]
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x24]
mov ebp, dword [edi + 0xc]
mov dword [esp + 0x18], eax
mov dword [edi + 0x10], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], 0x28
nop word [eax + eax]
mov eax, dword [edi]
mov dword [esp + 0x10], eax
cmp edx, 0x14
jae 0x64b879
mov eax, ebx
mov ecx, ebx
not eax
and ecx, esi
and eax, ebp
or eax, ecx
jmp 0x64b897
cmp edx, 0x28
jb 0x64b891
cmp edx, 0x3c
jae 0x64b891
mov eax, esi
mov ecx, esi
or eax, ebp
and ecx, ebp
and eax, ebx
or eax, ecx
jmp 0x64b897
mov eax, ebx
xor eax, esi
xor eax, ebp
cmp edx, 0x14
jae 0x64b8a3
mov ecx, 0x5a827999
jmp 0x64b8c0
cmp edx, 0x28
jae 0x64b8af
mov ecx, 0x6ed9eba1
jmp 0x64b8c0
cmp edx, 0x3c
sbb ecx, ecx
and ecx, 0xc4b8fb06
add ecx, 0xca62c1d6
mov ebp, dword [esp + 0x14]
inc edx
mov ebx, dword [esp + 0x10]
rol ebx, 5
add ebx, dword [edi + ebp]
add ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
add ebx, ecx
mov ecx, ebx
mov dword [esp + 0x18], ebp
add ecx, eax
mov dword [edi + 0x10], ebp
mov eax, dword [esp + 0x14]
mov ebp, esi
mov dword [esp + 0x1c], esi
add eax, 4
mov dword [edi + 0xc], esi
mov esi, dword [esp + 0x20]
ror esi, 2
mov dword [esp + 0x10], ebx
mov ebx, dword [edi]
mov dword [edi + 8], esi
mov dword [esp + 0x20], ebx
mov dword [edi + 4], ebx
mov dword [edi], ecx
mov dword [esp + 0x14], eax
cmp eax, 0x168
jb 0x64b860
add dword [edi + 0x14], ecx
mov eax, ebx
add dword [edi + 0x18], eax
mov eax, esi
add dword [edi + 0x1c], eax
mov eax, dword [edi + 0xc]
add dword [edi + 0x20], eax
mov eax, dword [edi + 0x10]
add dword [edi + 0x24], eax
mov edx, dword [esp + 0x28]
mov dword [edi + 0x168], 0
add dword [edi + 0x16c], 8
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x64b7a0
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x14
ret 8