joyce8/EMBER2024-capa huggingface dataset:
Function at 0x570360
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6f6830
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x7ce4e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp + 8]
mov eax, ecx
or eax, 2
mov dword [ebp - 0x10], edx
cmp byte [ebp + 0xc], 0
cmove eax, ecx
mov dword [edx + 4], eax
mov eax, edx
mov dword [edx], vtable.sogoupy::cloud::CloudResult.0
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
mov dword [edx + 0x1c], 0
mov dword [edx + 0x20], 0
mov dword [edx + 0x24], 0
mov dword [edx + 0x28], 0
mov dword [edx + 0x2c], 0
mov dword [edx + 0x30], 0
mov dword [edx + 0x34], 0
mov dword [edx + 0x38], 0
mov dword [edx + 0x3c], 0
mov dword [edx + 0x40], 0
mov dword [edx + 0x44], 0
mov dword [edx + 0x48], 0
mov dword [edx + 0x4c], 0
mov dword [edx + 0x18], 0x7f4450
mov dword [edx + 0x1c], 0x7f4450
mov dword [edx + 0x20], 0x7f4450
mov dword [edx + 0x24], 0x7f4450
mov dword [edx + 0x28], 0x7f4450
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x570520
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6f6830
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x7ce4e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp + 8]
mov eax, ecx
or eax, 2
mov dword [ebp - 0x10], edx
cmp byte [ebp + 0xc], 0
cmove eax, ecx
mov dword [edx + 4], eax
mov eax, edx
mov dword [edx], vtable.sogoupy::cloud::ServerResponseBody.0
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], ecx
mov dword [edx + 0x1c], 0
mov dword [edx + 0x20], 0
mov dword [edx + 0x24], 0
mov dword [edx + 0x28], ecx
mov dword [edx + 0x2c], 0
mov dword [edx + 0x30], 0
mov dword [edx + 0x34], 0
mov dword [edx + 0x38], ecx
mov dword [edx + 0x3c], 0
mov dword [edx + 0x40], 0
mov dword [edx + 0x44], 0
mov dword [edx + 0x48], ecx
mov dword [edx + 0x4c], 0
mov dword [edx + 0x50], 0
mov dword [edx + 0x54], 0
mov dword [edx + 0x58], ecx
mov dword [edx + 0x5c], 0
mov dword [edx + 0x60], 0
mov dword [edx + 0x64], 0
mov dword [edx + 0x68], ecx
mov dword [edx + 0x6c], 0
mov dword [edx + 0x70], 0
mov dword [edx + 0x74], 0
mov dword [edx + 0x78], ecx
mov dword [edx + 0x7c], 0
mov dword [edx + 0x80], 0
mov dword [edx + 0x84], 0
mov dword [edx + 0x88], ecx
mov dword [edx + 0x8c], 0
mov dword [edx + 0x90], 0
mov dword [edx + 0x94], 0
mov dword [edx + 0x98], ecx
mov dword [edx + 0x9c], 0
mov dword [edx + 0xa0], 0
mov dword [edx + 0xa4], 0
mov dword [edx + 0xa8], ecx
mov dword [edx + 0xac], 0
mov dword [edx + 0xb0], 0
mov dword [edx + 0xb4], 0
mov dword [edx + 0xb8], ecx
mov dword [edx + 0xbc], 0
mov dword [edx + 0xc0], 0
mov dword [edx + 0xc4], 0
mov dword [edx + 0xc8], 0
mov dword [edx + 0xcc], 0
mov dword [edx + 0xd0], 0
mov dword [edx + 0xd4], 0
mov dword [edx + 0xd8], 0
mov dword [edx + 0xe0], 0
mov dword [edx + 0xe4], 0
mov dword [edx + 0xe8], 0
mov dword [edx + 0xec], 0
mov word [edx + 0xf0], 0
mov dword [edx + 0xf4], 0
mov dword [edx + 0xc8], 0x7f4450
mov dword [edx + 0xcc], 0x7f4450
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x5742b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6f6a09
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x7ce4e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
lea edi, [ebx + 8]
mov dword [ebp - 0x10], edi
mov dword [edi], esi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
push esi
lea ecx, [edi + 0x20]
mov byte [ebp - 4], 1
call fcn.005b3140
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
push esi
lea ecx, [edi + 0x40]
mov byte [ebp - 4], 3
call fcn.005b3140
push esi
lea ecx, [edi + 0x50]
mov byte [ebp - 4], 4
call fcn.005b3140
mov dword [edi + 0x60], esi
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], esi
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], esi
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], esi
mov dword [edi + 0x94], 0
mov dword [edi + 0x98], 0
mov dword [edi + 0x9c], 0
mov dword [edi + 0xa0], esi
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa8], 0
mov dword [edi + 0xac], 0
mov dword [edi + 0xb0], esi
mov dword [edi + 0xb4], 0
mov dword [edi + 0xb8], 0
mov dword [edi + 0xbc], 0
mov dword [edi + 0xc0], 0
mov dword [edi + 0xc4], 0
mov dword [edi + 0xc8], 0
mov dword [edi + 0xcc], 0
mov dword [edi + 0xd0], 0
mov dword [edi + 0xd4], 0
mov dword [edi + 0xd8], 0
mov dword [edi + 0xdc], 0
mov dword [edi + 0xe0], 0
mov dword [edi + 0xe4], 0
mov dword [edi + 0xe8], 0
mov dword [edi + 0xec], 0
mov dword [edi + 0xf0], 0
mov dword [edi + 0xf4], 0
mov dword [edi + 0xf8], 0
mov dword [edi + 0xfc], 0
mov dword [edi + 0x100], 0
mov dword [edi + 0x104], 0
mov byte [edi + 0x108], 0
mov dword [edi + 0x10c], 0
mov dword [ebx + 0xc8], 0x7f4450
mov dword [ebx + 0xcc], 0x7f4450
mov dword [ebx + 0xd0], 0x7f4450
mov dword [ebx + 0xd4], 0x7f4450
mov dword [ebx + 0xd8], 0x7f4450
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x574b50
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6f6ab9
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
push edi
mov eax, dword [0x7ce4e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
xor eax, eax
mov word [edi], ax
mov dword [edi + 4], eax
mov word [edi + 8], ax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov dword [ebp - 4], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
lea esi, [edi + 0x38]
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], esi
push 8
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call fcn.005be217
add esp, 4
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
lea ecx, [edi + 0x50]
mov dword [ebp - 0x14], ecx
lea eax, [ecx + 0x18]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0x1000
mov dword [ecx + 0xc], 1
mov word [ecx + 0x10], 0
mov dword [ebp - 0x18], eax
mov dword [eax + 0x24], 0
push 0xff0
add ecx, 0x40
mov byte [ebp - 4], 6
call fcn.0058d8a0
xor eax, eax
mov dword [edi + 0xa0], eax
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
Function at 0x582ff0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6f0d3d
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x7ce4e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov byte [esi + 8], 0
lea ecx, [esi + 0xc]
mov dword [ebp - 4], 0
mov dword [esi], vtable._sgime_core_pinyin_::CSingleWordDataReader.0
call fcn.005abe70
mov byte [esi + 0x50], 0
mov eax, esi
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5880b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6f7dd1
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x7ce4e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0x10], 0x101
call fcn.0058a950
mov ecx, dword [esi + 0x10]
mov dword [esi + 8], eax
lea ecx, [ecx + ecx*8]
shl ecx, 2
push ecx
mov ecx, eax
call fcn.005348a0
mov dword [esi + 0xc], eax
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x1c], 0xffffffff
mov dword [ebp - 4], 0
mov dword [esi + 0x28], 0x101
call fcn.0058a950
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*8]
shl ecx, 2
push ecx
mov ecx, eax
call fcn.005348a0
mov dword [esi + 0x24], eax
mov dword [esi + 0x30], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
mov byte [ebp - 4], 1
mov dword [esi + 0x48], 0x81
call fcn.0058a950
mov ecx, dword [esi + 0x48]
mov dword [esi + 0x40], eax
lea ecx, [ecx + ecx*4]
shl ecx, 2
push ecx
mov ecx, eax
call fcn.005348a0
mov dword [esi + 0x44], eax
mov dword [esi + 0x50], 0
mov dword [esi + 0x4c], 0
mov byte [esi + 0x54], 0
mov dword [esi + 0x58], 0xffffffff
mov dword [esi + 0x5c], 0xffffffff
mov byte [ebp - 4], 2
mov dword [esi + 0x68], 6
call fcn.0058a950
mov ecx, dword [esi + 0x68]
shl ecx, 2
push ecx
mov ecx, eax
mov dword [esi + 0x60], eax
call fcn.005348a0
mov dword [esi + 0x64], eax
mov dword [esi + 0x70], 0
mov dword [esi + 0x6c], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x7c], 0xc9
call fcn.0058a950
mov ecx, dword [esi + 0x7c]
shl ecx, 3
push ecx
mov ecx, eax
mov dword [esi + 0x74], eax
call fcn.005348a0
mov dword [esi + 0x78], eax
mov eax, esi
mov dword [esi + 0x84], 0
mov dword [esi + 0x80], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x58a7b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x7ce4e4]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x70f9c0]
xor edx, edx
push ebx
mov ebx, ecx
mov dword [ebp - 8], 0
movups xmmword [ebp - 0x28], xmm0
push esi
movaps xmm0, xmmword [0x70f9e0]
push edi
mov dword [ebp - 0x34], ebx
lea ecx, [ebx + 0x141]
movups xmmword [ebp - 0x18], xmm0
nop dword [eax]
movzx eax, byte [ebp + edx*4 - 0x28]
lea ecx, [ecx + 4]
mov byte [ecx - 5], al
movzx eax, byte [ebp + edx*4 - 0x27]
mov byte [ecx - 4], al
movzx eax, byte [ebp + edx*4 - 0x26]
mov byte [ecx - 3], al
movzx eax, byte [ebp + edx*4 - 0x25]
inc edx
mov byte [ecx - 2], al
cmp edx, 9
jl 0x58a7f0
movaps xmm0, xmmword [str.2223334445556667mno]
xor ecx, ecx
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x10], 0x38373737
mov dword [ebp - 0xc], 0x39393838
mov word [ebp - 8], 0x3939
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x20]
sub al, 0x31
mov byte [ebx + ecx + 0x164], al
inc ecx
cmp ecx, 0x1a
jl 0x58a840
mov ecx, 1
mov dword [ebx + 0xcb0], 0x11800
lea esi, [ebx + 0xddc]
lea edi, [ecx + 0x45]
nop dword [eax + eax]
mov eax, 0x3e8
lea esi, [esi + 4]
cdq
idiv ecx
mov dword [esi - 0x11c], eax
mov eax, 0x7d0
cdq
idiv ecx
inc ecx
mov dword [esi - 4], eax
sub edi, 1
jne 0x58a870
mov ecx, dword [0x7cbf58]
xor esi, esi
mov ebx, dword [0x7cbf54]
test ecx, ecx
jle 0x58a8b7
mov eax, edi
add edi, ebx
cdq
idiv ecx
mov dword [esi*4 + 0x7e57b0], eax
inc esi
cmp esi, ecx
jl 0x58a8a4
mov esi, dword [0x7cbf5c]
mov edx, dword [0x7cbf50]
cmp ecx, esi
jge 0x58a8f4
mov eax, esi
sub eax, ecx
mov dword [ebp - 0x2c], eax
mov eax, edx
sub eax, ebx
xor edi, edi
mov dword [ebp - 0x30], eax
mov eax, edi
add edi, dword [ebp - 0x30]
cdq
idiv dword [ebp - 0x2c]
add eax, ebx
mov dword [ecx*4 + 0x7e57b0], eax
inc ecx
cmp ecx, esi
jl 0x58a8d7
mov edx, dword [0x7cbf50]
cmp esi, 0xb4
jg 0x58a90e
mov ecx, 0xb5
lea edi, [esi*4 + 0x7e57b0]
sub ecx, esi
mov eax, edx
rep stosd dword es:[edi], eax
mov esi, dword [ebp - 0x34]
push 0x70
lea ecx, [esi + 0x80]
call fcn.005348a0
mov ecx, eax
call fcn.00482d60
mov ecx, eax
mov dword [esi + 0xef4], eax
call fcn.0058bbc0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005be209
mov esp, ebp
pop ebp
ret
Function at 0x58ddc0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6f827b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x7ce4e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [esi], vtable.t_saPath.0
xorps xmm0, xmm0
movups xmmword [esi + 4], xmm0
xor eax, eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 7
mov word [esi + 4], ax
movups xmmword [esi + 0x1c], xmm0
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], 7
mov word [esi + 0x1c], ax
movups xmmword [esi + 0x34], xmm0
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], 7
mov dword [ebp - 4], eax
mov word [esi + 0x34], ax
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 1
lea ecx, [eax + 2]
mov dword [ebp - 0x10], ecx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x58de40
sub eax, dword [ebp - 0x10]
lea ecx, [esi + 4]
sar eax, 1
push eax
push dword [ebp + 8]
call fcn.004a1c20
mov ecx, esi
call fcn.0058e1c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x590350
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x7ce4e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
call fcn.00495aa0
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x590377
mov esi, dword [esi]
mov ecx, edi
call fcn.00495aa0
cmp dword [eax + 0x14], 8
jb 0x590386
mov eax, dword [eax]
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
pop edi
pop esi
test eax, eax
jne 0x5903cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
xorps xmm0, xmm0
movups xmmword [ebp - 0x24], xmm0
movups xmmword [ebp - 0x14], xmm0
call fcn.005c45dc
push dword [eax]
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.005d6321
add esp, 0xc
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005be209
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.005be209
mov esp, ebp
pop ebp
ret
Function at 0x5906e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
call fcn.00495aa0
cmp dword [eax + 0x14], 8
jb 0x5906f3
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x590703
xor al, al
pop ebp
ret
shr eax, 4
not al
and al, 1
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
call fcn.00495aa0
cmp dword [eax + 0x14], 8
jb 0x590763
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x590773
xor al, al
pop ebp
ret
shr eax, 4
and al, 1
pop ebp
ret
Function at 0x590c90
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x7ce4e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
call fcn.00495aa0
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x590cb7
mov esi, dword [esi]
mov ecx, edi
call fcn.00495aa0
cmp dword [eax + 0x14], 8
jb 0x590cc6
mov eax, dword [eax]
push 3
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop edi
pop esi
test eax, eax
jne 0x590d0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
xorps xmm0, xmm0
movups xmmword [ebp - 0x24], xmm0
movups xmmword [ebp - 0x14], xmm0
call fcn.005c45dc
push dword [eax]
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.005d6321
add esp, 0xc
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005be209
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.005be209
mov esp, ebp
pop ebp
ret

Function at 0x590d50
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push esi
mov esi, ecx
test edx, edx
jne 0x590d6b
mov dword [esi + 0x54], 0x70fd20
xor al, al
pop esi
pop ebp
ret 8
mov eax, dword [0x7cc1a8]
push edi
mov edi, 0x7cc1a8
test eax, eax
je 0x590d8e
mov ecx, dword [ebp + 0xc]
nop dword [eax]
cmp eax, ecx
je 0x590d9d
mov eax, dword [edi + 0x10]
add edi, 0x10
test eax, eax
jne 0x590d80
pop edi
mov dword [esi + 0x54], 0x70fd2c
xor al, al
pop esi
pop ebp
ret 8
test edi, edi
je 0x590d8e
push ebx
xor ebx, ebx
jmp 0x590db0
mov edx, dword [ebp + 8]
nop dword [eax]
push 0
push 0x80
push dword [edi + 4]
push 0
push dword [edi + 8]
push dword [edi + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 0x50], eax
cmp eax, 0xffffffff
jne 0x590df1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x590e1e
push 0x64
mov dword [esi + 0x54], 0x70fd40
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 3
jl 0x590da6
mov ebx, dword [ebp + 0xc]
mov eax, dword [esi + 0x50]
cmp eax, 0xffffffff
je 0x590e78
test eax, eax
je 0x590e78
push dword [ebp + 8]
lea ecx, [esi + 0x58]
call fcn.0058df50
mov dword [esi + 0x4c], ebx
mov al, 1
pop ebx
pop edi
mov dword [esi + 0x54], 0
pop esi
pop ebp
ret 8
cmp eax, 5
jne 0x590e54
push 0x80
push dword [ebp + 8]
mov dword [esi + 0x54], 0x70fd4c
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
inc ebx
cmp ebx, 3
jne 0x590def
mov ebx, dword [ebp + 0xc]
cmp ebx, 2
jne 0x590df4
xor ebx, ebx
mov dword [ebp + 0xc], 8
jmp 0x590da6
test eax, eax
jne 0x590e68
pop ebx
pop edi
mov dword [esi + 0x54], 0x791f28
xor al, al
pop esi
pop ebp
ret 8
pop ebx
pop edi
mov dword [esi + 0x54], 0x70fd58
xor al, al
pop esi
pop ebp
ret 8
pop ebx
pop edi
mov dword [esi + 0x50], 0xffffffff
xor al, al
pop esi
pop ebp
ret 8
Function at 0x590f20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6f85c0
mov eax, dword fs:[0]
push eax
sub esp, 0x850
mov eax, dword [0x7ce4e4]
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, dword [ebp + 8]
xor bl, bl
mov ecx, esi
call fcn.00495aa0
cmp dword [eax + 0x14], 8
jb 0x590f62
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x5910e2
shr eax, 4
test al, 1
je 0x5910e2
mov ecx, esi
call fcn.00495aa0
cmp dword [eax + 0x14], 8
jb 0x590f8c
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x810]
push str._s.
push eax
call fcn.004a4400
add esp, 0xc
lea eax, [ebp - 0x810]
push 0x7e6580
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x5910c9
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [eax]
nop dword [eax + eax]
mov ecx, 0x788204
mov eax, 0x7e65ac
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x591006
test dx, dx
je 0x591002
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x591006
add eax, 4
add ecx, 4
test dx, dx
jne 0x590fe0
xor eax, eax
jmp 0x59100b
sbb eax, eax
or eax, 1
test eax, eax
je 0x5910b2
mov eax, 0x792098
mov ecx, 0x7e65ac
nop dword [eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x591046
test dx, dx
je 0x591042
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x591046
add ecx, 4
add eax, 4
test dx, dx
jne 0x591020
xor eax, eax
jmp 0x59104b
sbb eax, eax
or eax, 1
test eax, eax
je 0x5910b2
mov ecx, esi
call fcn.00495aa0
cmp dword [eax + 0x14], 8
jb 0x59105e
mov eax, dword [eax]
push 0x7e65ac
push eax
lea eax, [ebp - 0x810]
push 0x7928cc
push eax
call fcn.004a4400
add esp, 0x10
lea eax, [ebp - 0x810]
lea ecx, [ebp - 0x85c]
push eax
call fcn.0058ddc0
lea eax, [ebp - 0x85c]
mov dword [ebp - 4], 0
push eax
call fcn.00590f20
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x85c]
call fcn.00513e90
push 0x7e6580
push edi
call ebx
test eax, eax
jne 0x590fd0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, esi
call fcn.00495aa0
cmp dword [eax + 0x14], 8
jb 0x5910d8
mov eax, dword [eax]
push eax
call fcn.005d63b4
mov al, 1
jmp 0x5910ea
push esi
call fcn.00591110
mov al, bl
add esp, 4
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.005be209
mov esp, ebp
pop ebp
ret
Function at 0x591110
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.00495aa0
cmp dword [eax + 0x14], 8
jb 0x591126
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x59116f
test al, 0x10
jne 0x59116f
mov ecx, esi
call fcn.00495aa0
cmp dword [eax + 0x14], 8
jb 0x591145
mov eax, dword [eax]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, esi
call fcn.00495aa0
cmp dword [eax + 0x14], 8
jb 0x591160
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
pop esi
setne al
pop ebp
ret
xor al, al
pop esi
pop ebp
ret

Function at 0x5913c0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
test edi, edi
jns 0x5913dd
pop edi
mov dword [esi + 0x18], 0x70c854
xor al, al
pop esi
pop ebp
ret 8
push ebx
push dword [ebp + 8]
lea ebx, [edi + 4]
push ebx
push 0
push 4
call fcn.005ade80
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 0x14], eax
test eax, eax
jne 0x591414
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop ebx
pop edi
mov dword [esi + 0x18], 0x70feec
xor al, al
pop esi
pop ebp
ret 8
push ebx
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0xc], eax
test eax, eax
jne 0x59144f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esi + 0x14]
mov dword [esi + 0x18], 0x70ff00
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
mov dword [esi + 0x14], 0
xor al, al
pop esi
pop ebp
ret 8
mov byte [esi + 0x10], 0
mov dword [eax], edi
mov al, 1
pop ebx
mov dword [esi + 4], edi
pop edi
mov dword [esi + 0x18], 0
mov byte [esi], 1
mov dword [esi + 8], 1
pop esi
pop ebp
ret 8