joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53e470
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x607cf8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x6a4108]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [edi + 4]
mov eax, dword [eax + 0x30]
mov ebx, dword [ebp + 0x10]
mov edx, dword [eax + ecx*8 + 4]
mov eax, dword [eax + ecx*8]
mov esi, dword [edi + 8]
mov edi, dword [edi + 0xc]
xorps xmm0, xmm0
mov dword [ebp + 8], edx
mov dword [ebp - 0x10], eax
movlpd qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
test ebx, ebx
je 0x53e4f9
push ebx
mov ecx, ebx
call fcn.004ad620
mov ecx, dword [ebx]
mov dword [ebp + 0xc], ecx
test eax, eax
jne 0x53e4ed
call fcn.004ad990
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
push edi
push esi
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
call edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004af1b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x540480
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6081b4
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x6a4108]
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]
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 5
push 0
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x21c], 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.INFO:_AgPCFileSystem::getSystemSavePath
mov esi, eax
call fcn.00505280
add esp, 4
test esi, esi
jne 0x54058e
push 0x634404
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x22c]
call fcn.004f80a0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x224]
call fcn.004f7ed0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x224]
call fcn.004fc100
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x22c]
call fcn.004f8230
lea ecx, [ebp - 0x224]
call fcn.005163b0
push eax
push str.INFO:_Save_Path:__s
call fcn.00505280
add esp, 8
lea eax, [ebp - 0x224]
push eax
mov ecx, edi
call fcn.004f7ed0
mov byte [ebp - 4], 4
mov dword [ebp - 0x21c], 1
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x224]
call fcn.004f8230
jmp 0x5405c8
push str.ERROR:_Could_not_resolve_documents_path_
call fcn.00505280
add esp, 4
mov ecx, edi
push 0xffffffffffffffff
push str.My_Games
call fcn.004f8040
mov dword [ebp - 4], 7
mov ecx, edi
call fcn.004fc100
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 1
mov eax, edi
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.005c7124
mov esp, ebp
pop ebp
ret 4
Function at 0x542c80
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
call fcn.005164c0
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 4], eax
test eax, eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
je 0x542cd6
push str.kernel32.dll
call eax
mov esi, eax
push str.InitializeConditionVariable
push esi
call ebx
push str.SleepConditionVariableCS
push esi
mov dword [edi + 8], eax
call ebx
push str.WakeConditionVariable
push esi
mov dword [edi + 0xc], eax
call ebx
push str.WakeAllConditionVariable
push esi
mov dword [edi + 0x10], eax
call ebx
mov dword [edi + 0x14], eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.d3d9.dll
call eax
mov esi, eax
push str.Direct3DCreate9
push esi
call ebx
push str.Direct3DCreate9Ex
push esi
mov dword [edi + 0x18], eax
call ebx
mov dword [edi + 0x1c], eax
pop edi
pop esi
pop ebx
ret

Function at 0x54e9e0
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60a6ff
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x6a4108]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 4
lea esi, [edi + 0x30]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 7
mov eax, dword [esi]
push eax
push dword [eax]
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.00542920
mov byte [ebp - 4], 4
push dword [esi]
call fcn.005c68e1
add esp, 4
mov byte [ebp - 4], 3
lea esi, [edi + 0x28]
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 0xb
mov eax, dword [esi]
push eax
push dword [eax]
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.004e2110
mov byte [ebp - 4], 3
push dword [esi]
call fcn.005c68e1
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [edi + 0x20]
call fcn.00550be0
mov byte [ebp - 4], 1
lea ecx, [edi + 0x18]
call fcn.00550be0
mov byte [ebp - 4], 0
lea ecx, [edi + 0x10]
call fcn.00550be0
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
call fcn.005173e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x552f50
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60b6c7
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x6a4108]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x10], 0
call fcn.0050e410
push eax
call fcn.005ac680
add esp, 4
lea ecx, [ebp + 0xc]
mov esi, eax
call fcn.0050e410
push eax
lea ecx, [ebp - 0x18]
call fcn.00503f30
mov ecx, eax
call fcn.005163b0
mov edi, eax
test esi, esi
jne 0x5530a6
call fcn.005ac5c0
lea ecx, [ebp + 0xc]
mov esi, eax
call fcn.0050e410
mov ecx, esi
sub ecx, eax
cmp ecx, edi
jbe 0x55305e
lea ecx, [ebp + 0xc]
call fcn.0050e410
mov ecx, esi
sub ecx, eax
push ecx
lea ecx, [ebp + 0xc]
call fcn.00503fd0
lea ecx, [ebp + 0xc]
call fcn.0050e410
sub edi, esi
add eax, edi
mov edi, 0x19
cmp eax, edi
lea ecx, [ebp + 0xc]
cmovl edi, eax
call fcn.0050e410
mov ecx, esi
sub ecx, eax
cmp ecx, 0x32
jle 0x553012
lea ecx, [ebp + 0xc]
call fcn.0050e410
push edi
lea ecx, [ebp + 0xc]
call fcn.0050e410
sub esi, eax
push esi
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp + 0xc]
call fcn.00504030
push eax
lea ecx, [ebp - 0x18]
call fcn.004f7f20
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.005163b0
push eax
push str._json__Parse_error_near:__s
call fcn.00505280
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004f8230
jmp 0x55306b
push str._json__Parse_error._Unknown_location.
call fcn.00505280
add esp, 4
call fcn.00552660
mov esi, dword [ebp + 8]
lea ecx, [eax + 4]
push ecx
lea ecx, [esi + 4]
mov dword [esi], vtable.AgJsonNode.0
call fcn.0054b1c0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
push esi
push eax
call fcn.00553110
mov dword [ebp - 4], 3
push esi
call fcn.005ac540
mov esi, dword [ebp + 8]
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
lea ecx, [esi + 4]
mov dword [esi], vtable.AgJsonNode.0
call fcn.0054b1c0
mov byte [ebp - 4], 3
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 0
mov dword [ebp - 0x24], vtable.AgJsonNode.0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00520200
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x557e20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebx + 2]
xor edx, edx
cmp eax, edi
jae 0x557e56
mov ecx, dword [ebp + 8]
pop edi
movzx edx, byte [ecx + ebx + 2]
movzx eax, byte [ecx + ebx + 1]
shl edx, 4
xor edx, eax
movzx eax, byte [ecx + ebx]
shl edx, 4
xor edx, eax
movzx eax, dx
pop ebx
pop ebp
ret
cmp ebx, edi
jb 0x557e60
pop edi
xor eax, eax
pop ebx
pop ebp
ret
push esi
mov esi, edx
sub edi, ebx
je 0x557e80
xor ecx, ecx
add ebx, dword [ebp + 8]
lea esp, [esp]
movzx eax, byte [ebx + esi]
shl eax, cl
inc esi
add ecx, 8
xor edx, eax
cmp esi, edi
jne 0x557e70
pop esi
pop edi
movzx eax, dx
pop ebx
pop ebp
ret
Function at 0x558ea0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor edx, edx
movzx esi, byte [edi]
movzx eax, byte [edi + 1]
shl esi, 8
or esi, eax
movzx eax, byte [edi + 2]
shl esi, 8
or esi, eax
movzx eax, byte [edi + 3]
shl esi, 8
or esi, eax
or eax, 0xffffffff
lea ebx, [esi + 4]
test ebx, ebx
je 0x558eef
movzx ecx, byte [edi + edx + 4]
xor ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x6a2c18]
inc edx
cmp edx, ebx
jb 0x558ed3
not eax
mov ecx, eax
shr ecx, 0x18
mov byte [esi + edi + 8], cl
mov ecx, eax
shr ecx, 0x10
mov byte [esi + edi + 9], cl
mov ecx, eax
shr ecx, 8
mov byte [esi + edi + 0xa], cl
mov byte [esi + edi + 0xb], al
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x586830
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 8]
movzx edx, word [eax]
mov ebx, dword [ebx]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], ebx
cmp ebx, eax
jb 0x586853
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
mov edi, dword [ebp + 0x14]
sub eax, ebx
cmp edi, eax
cmova edi, eax
xor esi, esi
mov dword [ebp + 0x14], edi
test edi, edi
je 0x5868a0
mov esi, dword [ebp + 0x10]
sub ebx, esi
lea ecx, [ecx]
movzx eax, byte [ebx + esi]
mov ecx, edx
shr ecx, 8
xor ecx, eax
add eax, edx
imul eax, eax, 0x3193
mov edx, 0x58bf
sub edx, eax
and edx, 0xffff
mov byte [esi], cl
lea esi, [esi + 1]
dec edi
jne 0x586870
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp - 4]
mov esi, edi
mov eax, dword [ebp + 8]
lea ecx, [ebx + edi]
mov dword [eax], ecx
mov eax, dword [ebp + 0x18]
pop edi
mov word [eax], dx
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x59c170
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x59c23b
mov esi, dword [ebp + 8]
test esi, esi
je 0x59c23b
push ebx
mov ebx, edi
mov eax, edi
shr edi, 2
and ebx, 3
test edi, edi
je 0x59c1c2
lea ebx, [ebx]
movzx ecx, word [esi]
movzx edx, word [esi + 2]
add eax, ecx
mov ecx, eax
shl ecx, 5
xor edx, ecx
shl edx, 0xb
xor eax, edx
mov ecx, eax
shr ecx, 0xb
add esi, 4
add eax, ecx
dec edi
jne 0x59c1a0
dec ebx
je 0x59c1f8
dec ebx
je 0x59c1e5
dec ebx
jne 0x59c20a
movzx ecx, word [esi]
add eax, ecx
movzx ecx, byte [esi + 2]
shl ecx, 2
xor ecx, eax
shl ecx, 0x10
xor eax, ecx
mov ecx, eax
shr ecx, 0xb
jmp 0x59c208
movzx ecx, word [esi]
add eax, ecx
mov ecx, eax
shl ecx, 0xb
xor eax, ecx
mov ecx, eax
shr ecx, 0x11
jmp 0x59c208
movzx ecx, byte [esi]
add eax, ecx
mov ecx, eax
shl ecx, 0xa
xor eax, ecx
mov ecx, eax
shr ecx, 1
add eax, ecx
lea ecx, [eax*8]
xor eax, ecx
mov ecx, eax
shr ecx, 5
add eax, ecx
mov ecx, eax
shl ecx, 4
xor eax, ecx
mov ecx, eax
shr ecx, 0x11
add eax, ecx
mov ecx, eax
shl ecx, 0x19
xor eax, ecx
mov ecx, eax
pop ebx
shr ecx, 6
pop edi
add eax, ecx
pop esi
pop ebp
ret
pop edi
xor eax, eax
pop esi
pop ebp
ret
Function at 0x59e560
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60c1fe
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x6a4108]
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, ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x13c]
push eax
call fcn.004fc390
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x134]
push eax
lea ecx, [edi + 0xb0]
call fcn.0050bbc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x13c]
call fcn.004f8230
lea ecx, [ebp - 0x134]
xor esi, esi
call fcn.0050e410
test eax, eax
jne 0x59e5e0
lea esi, [eax + 1]
jmp 0x59e788
lea ecx, [ebp - 0x134]
call fcn.0050e410
cmp eax, 1
jb 0x59e607
lea ecx, [ebp - 0x134]
call fcn.005163b0
cmp byte [eax + 1], 0x3a
mov ecx, 1
cmovne esi, ecx
lea ecx, [ebp - 0x134]
call fcn.0050e410
cmp eax, 2
jbe 0x59e655
push 0x649ae8
lea ecx, [ebp - 0x13c]
call fcn.00503f30
lea eax, [ebp - 0x13c]
push eax
push 2
push 0
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x134]
call fcn.004f8800
push eax
call fcn.00503fa0
add esp, 8
test al, al
jne 0x59e6de
cmp esi, 1
jne 0x59e6de
lea eax, [ebp - 0x114]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0xffffffffffffffff
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x13c]
call fcn.004f8040
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x13c]
call fcn.004fc100
mov byte [ebp - 4], 6
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x13c]
call fcn.0050bbc0
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x134]
call fcn.004f8250
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x144]
call fcn.004f8230
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x13c]
call fcn.004f8230
cmp dword [ebp + 0xc], 0
lea eax, [ebp - 0x134]
push eax
je 0x59e6f9
mov ecx, edi
call fcn.0059e7c0
mov esi, eax
jmp 0x59e788
lea eax, [ebp - 0x12c]
push eax
call fcn.0059e430
add esp, 8
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x11c], 0
je 0x59e734
cmp dword [ebp - 0x118], 8
lea eax, [ebp - 0x12c]
cmovae eax, dword [ebp - 0x12c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x59e748
lea ecx, [ebp - 0x134]
call fcn.005163b0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esi, eax
neg esi
sbb esi, esi
neg esi
mov byte [ebp - 4], 2
cmp dword [ebp - 0x118], 8
jb 0x59e76b
push dword [ebp - 0x12c]
call fcn.005c68e1
add esp, 4
xor eax, eax
mov dword [ebp - 0x118], 7
mov dword [ebp - 0x11c], 0
mov word [ebp - 0x12c], ax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x134]
call fcn.004f8230
mov eax, esi
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.005c7124
mov esp, ebp
pop ebp
ret 8
Function at 0x59e7c0
Capabilities:
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60c250
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x6a4108]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x48]
push eax
mov ecx, esi
call fcn.004fc2a0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0059e430
add esp, 8
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x59e81e
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov byte [ebp - 4], 0
cmp dword [ebp - 0x2c], 8
jb 0x59e83c
push dword [ebp - 0x40]
call fcn.005c68e1
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp edi, 0xffffffff
jne 0x59e860
lea eax, [ebp - 0x48]
push eax
mov ecx, ebx
call fcn.0059e7c0
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.0059e430
add esp, 8
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 0
je 0x59e88d
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x59e89d
mov ecx, esi
call fcn.005163b0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esi, eax
neg esi
sbb esi, esi
neg esi
mov byte [ebp - 4], 0
cmp dword [ebp - 0x14], 8
jb 0x59e8ba
push dword [ebp - 0x28]
call fcn.005c68e1
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.004f8230
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c7124
mov esp, ebp
pop ebp
ret 4
Function at 0x59e900
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60c2a8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x6a4108]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x38]
push eax
call fcn.004fc390
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [esi + 0xb0]
call fcn.0050bbc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.004f8230
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0059e430
add esp, 8
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x59e977
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x14], 8
jb 0x59e995
push dword [ebp - 0x28]
call fcn.005c68e1
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp ebx, 0xffffffff
je 0x59e9b8
test bl, 0x10
je 0x59e9b8
lea esi, [eax + 1]
jmp 0x59e9ba
xor esi, esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004f8230
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c7124
mov esp, ebp
pop ebp
ret 4

Function at 0x59e9f0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60c2a8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x6a4108]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x38]
push eax
call fcn.004fc390
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [esi + 0xb0]
call fcn.0050bbc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.004f8230
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0059e430
add esp, 8
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x59ea67
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x14], 8
jb 0x59ea85
push dword [ebp - 0x28]
call fcn.005c68e1
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp ebx, 0xffffffff
je 0x59eaa8
test bl, 0x10
jne 0x59eaa8
lea esi, [eax + 1]
jmp 0x59eaaa
xor esi, esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004f8230
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c7124
mov esp, ebp
pop ebp
ret 4
Function at 0x59eb40
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60c360
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x6a4108]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x48]
push eax
call fcn.004fc390
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [esi + 0xb0]
call fcn.0050bbc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.004f8230
lea eax, [ebp - 0x48]
push eax
mov ecx, edi
call fcn.004fc390
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [esi + 0xb0]
call fcn.0050bbc0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call fcn.004f8230
lea eax, [ebp - 0x58]
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
push eax
lea eax, [ebp - 0x28]
push eax
setne bl
call fcn.0059e430
mov esi, eax
mov byte [ebp - 4], 8
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0059e430
add esp, 0x10
mov byte [ebp - 4], 9
cmp dword [esi + 0x14], 8
jb 0x59ec01
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x59ec09
mov eax, dword [eax]
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, eax
mov byte [ebp - 4], 8
cmp dword [ebp - 0x2c], 8
jb 0x59ec29
push dword [ebp - 0x40]
call fcn.005c68e1
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x14], 8
jb 0x59ec52
push dword [ebp - 0x28]
call fcn.005c68e1
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.004f8230
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.004f8230
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c7124
mov esp, ebp
pop ebp
ret 0xc
Function at 0x59eff0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60c478
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x6a4108]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x38]
push eax
call fcn.004fc390
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [esi + 0xb0]
call fcn.0050bbc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.004f8230
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0059e430
add esp, 8
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x59f066
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
neg esi
sbb esi, esi
neg esi
mov byte [ebp - 4], 2
cmp dword [ebp - 0x14], 8
jb 0x59f08a
push dword [ebp - 0x28]
call fcn.005c68e1
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004f8230
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c7124
mov esp, ebp
pop ebp
ret 4

Function at 0x59f0d0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60c478
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x6a4108]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x38]
push eax
call fcn.004fc390
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [esi + 0xb0]
call fcn.0050bbc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.004f8230
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0059e430
add esp, 8
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x59f146
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
neg esi
sbb esi, esi
neg esi
mov byte [ebp - 4], 2
cmp dword [ebp - 0x14], 8
jb 0x59f16a
push dword [ebp - 0x28]
call fcn.005c68e1
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004f8230
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c7124
mov esp, ebp
pop ebp
ret 4
Function at 0x5aad80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov edx, 0x811c9dc5
mov ecx, 0
sub esi, edi
je 0x5aadb1
lea esp, [esp]
movzx eax, byte [ecx + edi]
xor edx, eax
inc ecx
imul edx, edx, 0x1000193
cmp ecx, esi
jb 0x5aada0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8