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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov eax, dword [0x52efc0]
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x2c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0x25f
push str...._.._base_files_file_util_win.cc
push str.CreateDirectoryAndGetError
push edi
call fcn.00435760
add esp, 0x10
lea ecx, [ebp - 0x38]
push 0
push edi
call fcn.00449d80
cmp byte [esi + 0xb], 0
mov ebx, esi
jns 0x432206
mov ebx, dword [esi]
mov edi, dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x432238
mov bl, 1
test al, 0x10
jne 0x432354
test edi, edi
je 0x432229
mov dword [edi], 0xfffffff7
push 0x50
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x432354
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call fcn.00431a10
movzx ecx, byte [ebp - 0x39]
test cl, cl
mov eax, ecx
jns 0x432250
mov eax, dword [ebp - 0x40]
movzx edx, byte [esi + 0xb]
mov dword [ebp - 0x48], ebx
test dl, dl
mov edi, edx
jns 0x432260
mov edi, dword [esi + 4]
cmp eax, edi
jne 0x4322a3
test eax, eax
je 0x43228f
test cl, cl
lea ecx, [ebp - 0x44]
jns 0x432272
mov ecx, dword [ebp - 0x44]
test dl, dl
mov edx, esi
jns 0x43227a
mov edx, dword [esi]
xor edi, edi
nop dword [eax]
movzx ebx, word [ecx + edi*2]
cmp bx, word [edx + edi*2]
jne 0x4322a3
inc edi
cmp eax, edi
jne 0x432280
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x43229c
mov dword [eax], 0xfffffffc
push 2
jmp 0x43233b
mov edi, dword [ebp + 0xc]
push edi
lea eax, [ebp - 0x44]
push eax
call fcn.004321c0
add esp, 8
test al, al
je 0x432341
push 0
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
jne 0x432343
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
mov dword [ebp - 0x48], eax
jne 0x432328
push 0x1c4
push str...._.._base_files_file_util_win.cc
push str.DirectoryExists
lea eax, [ebp - 0x2c]
push eax
call fcn.00435760
add esp, 0x10
lea ecx, [ebp - 0x1c]
push 0
lea eax, [ebp - 0x2c]
push eax
call fcn.00449d80
cmp byte [esi + 0xb], 0
jns 0x43230d
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.00449e80
cmp esi, 0xffffffff
je 0x432328
and esi, 0x10
jne 0x432343
mov esi, dword [ebp - 0x48]
test edi, edi
je 0x43233a
push esi
call fcn.00432d40
add esp, 4
mov dword [edi], eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
cmp byte [ebp - 0x39], 0
jns 0x432354
push dword [ebp - 0x44]
call fcn.004aeac6
add esp, 4
lea ecx, [ebp - 0x38]
call fcn.00449e80
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004aeb01
mov eax, ebx
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x432370
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [0x52efc0]
mov edi, dword [ebp + 8]
lea ebx, [ebp - 0x2c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0x1b2
push str...._.._base_files_file_util_win.cc
push str.PathExists
push ebx
call fcn.00435760
add esp, 0x10
lea esi, [ebp - 0x1c]
mov ecx, esi
push 0
push ebx
call fcn.00449d80
cmp byte [edi + 0xb], 0
jns 0x4323b6
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov ecx, esi
setne bl
call fcn.00449e80
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004aeb01
mov eax, ebx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [0x52efc0]
mov ebx, dword [ebp + 8]
lea esi, [ebp - 0x2c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0x1c4
push str...._.._base_files_file_util_win.cc
push str.DirectoryExists
push esi
call fcn.00435760
add esp, 0x10
lea edi, [ebp - 0x1c]
mov ecx, edi
push 0
push esi
call fcn.00449d80
cmp byte [ebx + 0xb], 0
mov eax, ebx
jns 0x43242b
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, edi
mov esi, eax
call fcn.00449e80
xor ebx, ebx
cmp esi, 0xffffffff
je 0x4324a9
and esi, 0x10
je 0x4324a9
lea edi, [ebp - 0x2c]
mov ecx, edi
push dword [ebp + 8]
call fcn.004281c4
movzx eax, byte [ebp - 0x21]
test al, al
mov ecx, eax
jns 0x432461
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x43247f
test al, al
jns 0x43246c
mov edi, dword [ebp - 0x2c]
movzx ecx, word [edi + ecx*2 - 2]
mov dl, 1
cmp cx, 0x2f
je 0x432481
cmp cx, 0x5c
je 0x432481
xor edx, edx
test al, al
jns 0x432494
push dword [ebp - 0x2c]
mov esi, edx
call fcn.004aeac6
mov edx, esi
add esp, 4
mov bl, 1
test dl, dl
jne 0x4324a9
mov ecx, dword [ebp + 8]
push 1
push 0x4e7ad0
call fcn.00428714
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004aeb01
mov eax, ebx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x432df0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x220
mov eax, dword [0x52efc0]
mov esi, dword [ebp + 8]
lea edi, [esp + 0x14]
xor eax, ebp
mov dword [esp + 0x21c], eax
push edi
push 0
push 0
push 0x28
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x432e85
cmp word [esp + 0x14], 0
je 0x432e85
xor eax, eax
cmp word [esp + eax*2 + 0x16], 0
lea eax, [eax + 1]
jne 0x432e30
mov dword [esp], edi
mov dword [esp + 4], eax
mov eax, esp
mov dword [esi + 4], 0
mov dword [esi], 0
mov dword [esi + 8], 0
push esi
push eax
call fcn.00443eb0
add esp, 8
mov ecx, esi
push 0
push 0
call fcn.00428f56
cmp eax, 0xffffffff
je 0x432f32
mov ecx, esi
push 0xffffffffffffffff
push eax
call fcn.00428b8e
jmp 0x432f32
mov eax, esp
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 8], 0
push eax
call fcn.00432000
add esp, 4
test al, al
je 0x432ed4
movsd xmm0, qword [esp]
mov eax, dword [esp + 8]
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 8], 0
mov dword [esi + 8], eax
movsd qword [esi], xmm0
jmp 0x432f32
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x4e7b9e
mov dword [esp + 0x10], 3
mov dword [esi + 4], 0
mov dword [esi], 0
mov dword [esi + 8], 0
push esi
push eax
call fcn.00443eb0
add esp, 8
mov ecx, esi
push 0
push 0
call fcn.00428f56
cmp eax, 0xffffffff
je 0x432f20
mov ecx, esi
push 0xffffffffffffffff
push eax
call fcn.00428b8e
cmp byte [esp + 0xb], 0
jns 0x432f32
push dword [esp]
call fcn.004aeac6
add esp, 4
mov ecx, dword [esp + 0x21c]
xor ecx, ebp
call fcn.004aeb01
mov eax, esi
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
Function at 0x432f50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x258
mov eax, dword [0x52efc0]
lea esi, [esp + 0x48]
xor eax, ebp
mov dword [esp + 0x250], eax
push 0x3c8
push str...._.._base_files_file_util_win.cc
push 0x4e7bdc
push esi
call fcn.00435760
add esp, 0x10
lea ecx, [esp + 0x34]
push 0
push esi
call fcn.00449d80
mov word [esp + 0x48], 0
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
dec eax
cmp eax, 0x103
jbe 0x432fb7
xor ebx, ebx
jmp 0x43319a
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], 0
push esi
call fcn.004cf81e
add esp, 4
cmp eax, 0x7ffffff0
jae 0x4331bb
mov ebx, eax
cmp eax, 5
jae 0x432ffc
lea esi, [esp + 0x28]
test ebx, ebx
mov byte [esp + 0x33], bl
mov edi, esi
mov eax, esi
jne 0x43302c
jmp 0x433041
lea esi, [ebx + 8]
and esi, 0xfffffff8
js 0x4331c4
lea eax, [esi + esi]
push eax
call fcn.004aea96
add esp, 4
or esi, 0x80000000
mov dword [esp + 0x28], eax
mov edi, eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
lea esi, [esp + 0x28]
mov eax, ebx
add eax, ebx
push eax
lea eax, [esp + 0x4c]
push eax
push edi
call fcn.004b76d0
add esp, 0xc
mov eax, esi
mov word [edi + ebx*2], 0
mov dword [esp + 4], eax
movzx eax, byte [eax + 0xb]
test al, al
jns 0x43305b
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], esi
lea edi, [esp + 8]
lea esi, [esp + 0x18]
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 0x10], 0
push edi
push esi
call fcn.00443eb0
add esp, 8
mov ecx, edi
push 0
push 0
call fcn.00428f56
cmp eax, 0xffffffff
je 0x4330a9
lea ecx, [esp + 8]
push 0xffffffffffffffff
push eax
call fcn.00428b8e
movzx eax, byte [esp + 0x13]
test al, al
jns 0x4330ba
mov edi, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0
push esi
push eax
call fcn.00443eb0
add esp, 8
mov ecx, esi
push 0
push 0
call fcn.00428f56
cmp eax, 0xffffffff
je 0x433107
lea ecx, [esp + 0x18]
push 0xffffffffffffffff
push eax
call fcn.00428b8e
lea ecx, [esp + 0x18]
call fcn.00431d70
cmp byte [ebx + 0xb], 0
js 0x433121
mov word [ebx], 0
mov byte [ebx + 0xb], 0
jmp 0x433146
mov eax, dword [ebx]
mov word [eax], 0
mov dword [ebx + 4], 0
cmp byte [ebx + 0xb], 0
jns 0x433146
push dword [ebx]
call fcn.004aeac6
add esp, 4
mov dword [ebx + 8], 0
mov eax, dword [esp + 0x20]
mov dword [ebx + 8], eax
movsd xmm0, qword [esp + 0x18]
movsd qword [ebx], xmm0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0
cmp byte [esp + 0x13], 0
jns 0x433182
push dword [esp + 8]
call fcn.004aeac6
add esp, 4
mov eax, dword [esp + 4]
cmp byte [eax + 0xb], 0
jns 0x433198
push dword [esp + 0x28]
call fcn.004aeac6
add esp, 4
mov bl, 1
lea ecx, [esp + 0x34]
call fcn.00449e80
mov ecx, dword [esp + 0x250]
xor ecx, ebp
call fcn.004aeb01
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x28]
call fcn.0042752c
call fcn.004c8e4e
int3
Function at 0x4331d0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [0x52efc0]
mov edi, dword [ebp + 8]
lea ebx, [ebp - 0x2c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0x3d8
push str...._.._base_files_file_util_win.cc
push 0x4e7bf1
push ebx
call fcn.00435760
add esp, 0x10
lea esi, [ebp - 0x1c]
mov ecx, esi
push 0
push ebx
call fcn.00449d80
cmp byte [edi + 0xb], 0
jns 0x433216
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
mov ecx, esi
setne bl
call fcn.00449e80
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004aeb01
mov eax, ebx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x433260
Capabilities:
Check if file exists
Copy file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [0x52efc0]
mov esi, edx
mov edi, ecx
lea ebx, [ebp - 0x2c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0xae
push str...._.._base_files_file_util_win.cc
push str.DoCopyFile
push ebx
call fcn.00435760
add esp, 0x10
lea ecx, [ebp - 0x1c]
push 0
push ebx
call fcn.00449d80
mov ecx, edi
call fcn.00430e30
test al, al
jne 0x4332b3
mov ecx, esi
call fcn.00430e30
test al, al
je 0x4332d1
xor ebx, ebx
lea ecx, [ebp - 0x1c]
call fcn.00449e80
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004aeb01
mov eax, ebx
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
cmp byte [edi + 0xb], 0
jns 0x4332e0
cmp dword [edi + 4], 0x103
ja 0x4332b3
cmp byte [esi + 0xb], 0
jns 0x4332ef
cmp dword [esi + 4], 0x103
ja 0x4332b3
push 0xbb
push str...._.._base_files_file_util_win.cc
push str.DoCopyFile
push ebx
call fcn.00435760
add esp, 0x10
lea ecx, [ebp - 0x34]
push ebx
call fcn.0044a000
cmp byte [esi + 0xb], 0
jns 0x433318
mov esi, dword [esi]
movzx eax, byte [ebp + 8]
cmp byte [edi + 0xb], 0
jns 0x433324
mov edi, dword [edi]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x433350
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x433350
mov bl, 1
test al, 1
je 0x433352
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x433352
xor ebx, ebx
lea ecx, [ebp - 0x34]
call fcn.0044a270
jmp 0x4332b5
Function at 0x4338f0
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4f0
mov eax, ecx
mov ecx, dword [0x52efc0]
lea esi, [ebp - 0x29c]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
mov ecx, esi
mov dword [ebp - 0x4fc], edx
push edx
push 3
push 0
push eax
call fcn.0045b620
lea eax, [ebp - 0x4f8]
mov ecx, esi
push eax
call fcn.0045b7e0
movzx eax, byte [ebp - 0x4ed]
test al, al
mov ecx, eax
jns 0x433943
mov ecx, dword [ebp - 0x4f4]
test ecx, ecx
je 0x433b2f
xor edi, edi
lea esi, [ebp - 0x4ec]
lea ebx, [ebp - 0x29c]
jmp 0x433968
test ecx, ecx
je 0x433af8
mov ecx, ebx
push esi
call fcn.0045b760
mov eax, dword [ebp - 0x4ec]
test al, 1
je 0x4339b1
cmp byte [ebp + 8], 0
jne 0x433991
mov ecx, esi
call fcn.0045b4e0
test al, al
jne 0x4339b1
mov eax, dword [ebp - 0x4ec]
and eax, 0xfffffffe
cmp byte [ebp - 0x4ed], 0
lea ecx, [ebp - 0x4f8]
jns 0x4339a9
mov ecx, dword [ebp - 0x4f8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, esi
call fcn.0045b4e0
test al, al
je 0x433a10
xor eax, eax
cmp byte [ebp + 8], 0
je 0x433a50
mov edx, dword [ebp - 0x4fc]
lea ecx, [ebp - 0x4f8]
push 1
call fcn.004338f0
add esp, 4
test eax, eax
jne 0x433a50
cmp byte [ebp - 0x4ed], 0
lea eax, [ebp - 0x4f8]
jns 0x4339f7
mov eax, dword [ebp - 0x4f8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
mov eax, 0
jne 0x433a50
jmp 0x433a34
cmp byte [ebp - 0x4ed], 0
lea eax, [ebp - 0x4f8]
jns 0x433a25
mov eax, dword [ebp - 0x4f8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, eax
xor eax, eax
test ecx, ecx
jne 0x433a50
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov ecx, eax
xor eax, eax
or edx, 1
cmp edx, 3
je 0x433a50
mov eax, ecx
nop word [eax + eax]
test edi, edi
mov ecx, ebx
cmove edi, eax
push esi
call fcn.0045b7e0
cmp byte [ebp - 0x4ed], 0
js 0x433a80
mov word [ebp - 0x4f8], 0
mov byte [ebp - 0x4ed], 0
jmp 0x433ac0
mov eax, dword [ebp - 0x4f8]
mov word [eax], 0
mov dword [ebp - 0x4f4], 0
cmp byte [ebp - 0x4ed], 0
jns 0x433ac0
push dword [ebp - 0x4f8]
call fcn.004aeac6
add esp, 4
mov dword [ebp - 0x4f0], 0
nop word cs:[eax + eax]
mov eax, dword [ebp - 0x4e4]
movsd xmm0, qword [ebp - 0x4ec]
mov dword [ebp - 0x4f0], eax
movsd qword [ebp - 0x4f8], xmm0
movzx eax, byte [ebp - 0x4ed]
test al, al
mov ecx, eax
jns 0x433960
mov ecx, dword [ebp - 0x4f4]
jmp 0x433960
shr al, 7
test al, al
je 0x433b0d
push dword [ebp - 0x4f8]
call fcn.004aeac6
add esp, 4
lea ecx, [ebp - 0x29c]
call fcn.0045b6f0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004aeb01
mov eax, edi
add esp, 0x4f0
pop esi
pop edi
pop ebx
pop ebp
ret
shr al, 7
xor edi, edi
test al, al
jne 0x433aff
jmp 0x433b0d
Function at 0x435320
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [0x52efc0]
mov ebx, ecx
lea esi, [ebp - 0x1c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], edx
push edx
push ecx
push esi
call fcn.00447e30
add esp, 0xc
cmp byte [ebp - 0x11], 0
jns 0x43534f
mov esi, dword [ebp - 0x1c]
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [ebp - 0x11], 0
mov edi, eax
js 0x4353dd
test edi, edi
je 0x4353f0
cmp dword [ebp + 8], 0
mov dword [ebp - 0x20], ebx
mov bl, 1
je 0x435454
mov eax, edi
mov ecx, 0xffffffff
add eax, edi
cmovae ecx, eax
push ecx
call fcn.004aeaf3
add esp, 4
mov esi, eax
lea ebx, [ebp - 0x1c]
push dword [ebp - 0x24]
push dword [ebp - 0x20]
push ebx
call fcn.00447e30
add esp, 0xc
cmp byte [ebp - 0x11], 0
jns 0x4353ab
mov ebx, dword [ebp - 0x1c]
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [ebp - 0x11], 0
jns 0x4353c5
push dword [ebp - 0x1c]
call fcn.004aeac6
add esp, 4
cmp word [esi], 0
mov bl, 1
je 0x4353f4
xor eax, eax
nop
cmp word [esi + eax*2 + 2], 0
lea eax, [eax + 1]
jne 0x4353d0
jmp 0x4353f6
push dword [ebp - 0x1c]
call fcn.004aeac6
add esp, 4
test edi, edi
jne 0x43536a
xor ebx, ebx
jmp 0x435454
xor eax, eax
lea ecx, [ebp - 0x1c]
push eax
push esi
push ecx
call fcn.00443e70
add esp, 0xc
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0xb], 0
js 0x435416
mov byte [ecx], 0
mov byte [ecx + 0xb], 0
jmp 0x43543c
mov eax, dword [ecx]
mov byte [eax], 0
mov dword [ecx + 4], 0
cmp byte [ecx + 0xb], 0
jns 0x43543c
push dword [ecx]
call fcn.004aeac6
mov ecx, dword [ebp + 8]
add esp, 4
mov dword [ecx + 8], 0
mov eax, dword [ebp - 0x14]
mov dword [ecx + 8], eax
movsd xmm0, qword [ebp - 0x1c]
movsd qword [ecx], xmm0
push esi
call fcn.004aeafc
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004aeb01
mov eax, ebx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x435490
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
js 0x43549f
pop ebp
jmp fcn.00461120
xor eax, eax
pop ebp
ret
Function at 0x4357a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x210
mov eax, dword [0x52efc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.0042ca80
mov ecx, eax
push str.enable_logging
call fcn.0042ce80
test al, al
je 0x4359c5
cmp dword [0x530d00], 0
mov bl, 1
jne 0x4359c7
mov esi, dword [0x530cf0]
test esi, esi
jne 0x4358d8
push 0xc
call fcn.004aea96
add esp, 4
mov esi, eax
lea edi, [ebp - 0x218]
push 0x104
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [esi + 4], 0
mov dword [esi], 0
mov dword [esi + 8], 0
push edi
call fcn.004cf81e
add esp, 4
cmp eax, 0x7ffffff0
jae 0x4359de
cmp eax, 5
jae 0x435844
mov ecx, esi
test eax, eax
mov byte [esi + 0xb], al
jne 0x435878
jmp 0x43589b
lea edi, [eax + 8]
mov dword [ebp - 0x21c], eax
and edi, 0xfffffff8
js 0x4359e5
lea eax, [edi + edi]
push eax
call fcn.004aea96
add esp, 4
mov ecx, eax
mov dword [esi], eax
mov eax, dword [ebp - 0x21c]
or edi, 0x80000000
mov dword [esi + 8], edi
mov dword [esi + 4], eax
mov edi, eax
add eax, eax
mov dword [ebp - 0x21c], ecx
push eax
lea eax, [ebp - 0x218]
push eax
push ecx
call fcn.004b76d0
mov ecx, dword [ebp - 0x21c]
mov eax, edi
add esp, 0xc
mov word [ecx + eax*2], 0
movzx eax, byte [esi + 0xb]
test al, al
jns 0x4358ac
mov eax, dword [esi + 4]
mov ecx, esi
push eax
push 0x5c
call fcn.00428fae
cmp eax, 0xffffffff
je 0x4358c6
inc eax
mov ecx, esi
push 0xffffffffffffffff
push eax
call fcn.00428b8e
mov ecx, esi
push 0x4e87cc
call fcn.004288d4
mov dword [0x530cf0], esi
test byte [0x52e120], 1
je 0x4359c7
cmp byte [esi + 0xb], 0
jns 0x4358ed
mov esi, dword [esi]
push 0
push 0x80
push 4
push 0
push 3
push 4
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x530d00], eax
inc eax
cmp eax, 1
ja 0x4359c7
lea esi, [ebp - 0x218]
mov word [ebp - 0x218], 0
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x4359c5
cmp eax, 0x104
ja 0x4359c5
mov ecx, dword [0x530cf0]
push esi
call fcn.00428a50
mov ecx, dword [0x530cf0]
movzx eax, byte [ecx + 0xb]
test al, al
js 0x435966
mov edx, ecx
cmp word [edx + eax*2 - 2], 0x5c
jne 0x435973
jmp 0x435983
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
cmp word [edx + eax*2 - 2], 0x5c
je 0x435983
push 0x4e32a8
call fcn.004288d4
mov ecx, dword [0x530cf0]
push 0x4e87cc
call fcn.004288d4
mov eax, dword [0x530cf0]
cmp byte [eax + 0xb], 0
jns 0x43599a
mov eax, dword [eax]
push 0
push 0x80
push 4
push 0
push 3
push 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x530d00], eax
inc eax
cmp eax, 1
ja 0x4359c7
mov dword [0x530d00], 0
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004aeb01
mov eax, ebx
add esp, 0x210
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
call fcn.0042752c
call fcn.004c8e4e
int3
Function at 0x4371f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
sub edx, eax
je 0x437228
mov ebx, edx
sar ebx, 2
nop word cs:[eax + eax]
nop
movzx edi, byte [eax]
movzx esi, bl
shr ebx, 8
inc eax
xor edi, esi
xor ebx, dword [edi*4 + 0x4e805c]
dec edx
jne 0x437210
jmp 0x43722a
xor ebx, ebx
mov dword [ecx + 0xc], ebx
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x440590
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, ecx
lea esi, [ecx + 0xc]
lea ebx, [ecx + 0x10]
nop
push 0x228
push 0
push ebx
call fcn.004b81d0
add esp, 0xc
mov dword [edi + 0xc], 0x22c
cmp byte [edi + 8], 0
je 0x4405d0
push esi
push dword [edi + 4]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4405e1
jmp 0x4405ee
mov byte [edi + 8], 1
push esi
push dword [edi + 4]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4405ee
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
test al, al
je 0x4405a0
jmp 0x4405f0
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x440620
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [0x52efc0]
mov edi, dword [ebp + 8]
mov esi, ecx
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 4], 0
je 0x440646
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x440648
mov eax, dword [esi]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x440668
cmp byte [ebp + 0xc], 0
je 0x4406b1
cmp byte [esi + 4], 0
je 0x4406a3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x4406a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [esi + 4], 0
je 0x44067c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x44067e
mov eax, dword [esi]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x440695
xor ebx, ebx
jmp 0x440757
cmp byte [esi + 4], 0
je 0x4406fd
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
jmp 0x4406ff
mov eax, dword [esi]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [esi + 4], 0
je 0x4406c1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, eax
jmp 0x4406c3
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
je 0x4406e8
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcessId]
test eax, eax
jne 0x4406e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 6
mov eax, 0
je 0x44076d
mov ecx, dword [0x530cd8]
mov bl, 1
test ecx, ecx
je 0x440757
push edi
push eax
call fcn.0042f880
jmp 0x440757
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x440711
mov edi, dword [ebp - 0x14]
cmp byte [esi + 4], 0
je 0x440721
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, eax
jmp 0x440723
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
je 0x440744
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcessId]
test eax, eax
jne 0x440744
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 6
mov eax, 0
je 0x440770
mov ecx, dword [0x530cd8]
test ecx, ecx
je 0x440755
push edi
push eax
call fcn.0042f880
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004aeb01
mov eax, ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 8
int3
int3
Function at 0x448a60
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
call fcn.0042ca80
mov ecx, eax
push str.enable_low_end_device_mode
call fcn.0042ce80
test al, al
je 0x448a8c
mov ecx, 0x4e8fe4
call fcn.00437ce0
shl eax, 0x14
mov edx, eax
sar edx, 0x1f
pop ebp
ret
pop ebp
jmp fcn.0045bdf0