joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4699a0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x12c
mov eax, dword [0x52bd18]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push ebp
push esi
mov esi, dword [esp + 0x13c]
push edi
mov edi, dword [esp + 0x144]
push esi
push 0
push str.Left
push edi
mov dword [esp + 0x148], eax
mov ebp, ecx
call ebx
push esi
push 0
push 0x503064
push edi
mov dword [esp + 0x20], eax
call ebx
push esi
push 0
push str.Right
push edi
mov dword [esp + 0x24], eax
call ebx
push esi
push 0
push str.Bottom
push edi
mov dword [esp + 0x28], eax
call ebx
push esi
push 0
push str.Width
push edi
mov dword [esp + 0x2c], eax
call ebx
push esi
push 0
push str.Height
push edi
mov dword [esp + 0x30], eax
call ebx
push esi
push 0xff
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x40]
push eax
push 0x4fca4e
push str.Align
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ecx
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.00401fd0
mov ecx, ebp
call fcn.004697c0
mov edi, dword [ebp + 0x204]
mov ecx, dword [esp + 0x14c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x148]
lea esi, [ebp + 0x200]
lea edx, [esp + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 4]
push edx
push eax
mov dword [esp + 0x34], ecx
push edi
mov ecx, esi
call fcn.00469350
push 1
mov ecx, esi
mov ebx, eax
call fcn.00469900
mov dword [edi + 4], ebx
mov ecx, dword [ebx + 4]
mov dword [ecx], ebx
mov ecx, dword [esp + 0x138]
call fcn.004ce183
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x12c
ret 0x10
Function at 0x46fed0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4f6d3f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x400
mov eax, dword [0x52bd18]
push ebx
push esi
push edi
mov edi, dword [esp + 0x41c]
mov dword [esp + 0x408], eax
lea eax, [esp + 0x10]
push edi
xor ebx, ebx
push eax
mov esi, ecx
mov dword [esp + 0x1c], ebx
call fcn.00477e00
add esp, 8
mov edx, dword [str.Buttons]
push edi
push 0x3e8
lea ecx, [esp + 0x28]
push ecx
push 0x4fca4e
push str.RadioButton
push edx
mov dword [esp + 0x42c], ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov al, byte [esp + 0x20]
test al, al
je 0x46ffaf
push 1
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00477eb0
push eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x42c], 1
mov dword [esp + 0x2c], 1
call fcn.00409450
add esp, 0x18
mov edi, dword [eax]
add esi, 0x64
mov ebx, 3
mov ecx, esi
mov dword [esp + 0x414], 2
mov dword [esp + 0x14], ebx
call fcn.004e72e3
push 0
push edi
mov ecx, esi
call fcn.00461210
test eax, eax
mov byte [esp + 0xf], 0
jne 0x46ffb4
mov byte [esp + 0xf], 1
or esi, 0xffffffff
test bl, 2
mov dword [esp + 0x414], 1
je 0x46ffeb
mov eax, dword [esp + 0x18]
and ebx, 0xfffffffd
add eax, 0xfffffff0
mov dword [esp + 0x14], ebx
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46ffeb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, 1
mov dword [esp + 0x414], 0
je 0x470018
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x470018
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, byte [esp + 0xf]
test al, al
mov eax, dword [esp + 0x10]
mov dword [esp + 0x414], esi
je 0x470046
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x470042
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
jmp 0x470062
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x47005d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
mov ecx, dword [esp + 0x40c]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x400]
pop ebx
call fcn.004ce183
add esp, 0x40c
ret 4
Function at 0x473900
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x28
mov edx, dword [esp + 0x3c]
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
push esi
mov esi, ecx
mov ebx, dword [esi + 0x130]
mov ecx, dword [esi + 0xa4]
mov eax, ebx
imul eax, edx
inc edx
imul edx, ebx
mov ebx, dword [esi + 0xa8]
mov dword [esp + 0xc], eax
mov eax, ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x18], eax
sub eax, ecx
cmp eax, ebx
push edi
mov edi, ebp
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
jge 0x473986
lea ebx, [ebx]
test eax, eax
jle 0x473986
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x10]
push eax
push edi
push ecx
push edx
lea ecx, [esi + 0x78]
call fcn.00463a30
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x44]
sub eax, ecx
mov edx, eax
add edi, eax
sub edx, ebp
add edx, edi
cmp edx, ebx
jl 0x473950
mov eax, edi
sub eax, ebp
cmp eax, ebx
jge 0x4739b0
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
sub ecx, edi
add ecx, ebp
add ecx, ebx
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x10]
push ecx
push edi
push edx
push eax
lea ecx, [esi + 0x78]
call fcn.00463a30
mov ecx, dword [esi + 0xa4]
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x10]
push edx
push ebp
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x44]
push eax
lea edi, [esi + 0x78]
push ecx
mov ecx, edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x54], edi
call fcn.00463a30
test edi, edi
mov eax, dword [esi + 0xa8]
mov dword [esp + 0x14], eax
je 0x4739f5
mov edi, dword [edi + 4]
test edi, edi
jne 0x4739f9
xor ecx, ecx
jmp 0x473a29
xor edx, edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], edx
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x30], edx
push 0x18
mov dword [esp + 0x38], edx
push edi
mov dword [esp + 0x40], edx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
mov esi, dword [esi + 0x12c]
mov edx, ebx
mov edi, ecx
sub edx, esi
sub edi, eax
cmp edi, edx
mov dword [esp + 0x1c], ecx
jle 0x473a49
sub esi, ebx
add esi, ecx
mov eax, esi
mov dword [esp + 0x14], eax
sub eax, ecx
mov ecx, dword [esp + 0x3c]
add eax, ebp
lea edx, [esp + 0x10]
push edx
add eax, ebx
push eax
mov eax, dword [esp + 0x48]
push eax
push ecx
mov ecx, dword [esp + 0x54]
call fcn.00463a30
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x28
ret 0x14
Function at 0x474d90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f7108
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00477790
xor edi, edi
lea ecx, [esi + 0x10]
mov dword [esp + 0x14], edi
mov dword [esi], 0x50a8e8
call fcn.004dd370
lea ecx, [esi + 0x20]
mov byte [esp + 0x14], 1
call fcn.004630c0
mov byte [esp + 0x14], 2
call fcn.004df219
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x28], eax
mov byte [esp + 0x14], 3
call fcn.004df219
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x2c], eax
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 4
call fcn.004630c0
mov eax, vtable.CRgn.0
mov dword [esi + 0x3c], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x44], edi
mov dword [esi + 0x40], eax
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], eax
mov dword [esi + 0x54], edi
mov dword [esi + 0x50], eax
mov dword [esi + 0x5c], edi
mov dword [esi + 0x58], eax
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], eax
mov dword [esi + 0x6c], edi
mov dword [esi + 0x68], eax
mov dword [esi + 0x74], edi
mov dword [esi + 0x70], eax
lea ecx, [esi + 0x78]
mov byte [esp + 0x14], 0xd
call fcn.004630c0
lea ecx, [esi + 0x80]
mov byte [esp + 0x14], 0xe
call fcn.004630c0
lea ecx, [esi + 0x88]
mov byte [esp + 0x14], 0xf
call fcn.004630c0
lea ecx, [esi + 0xbc]
mov byte [esp + 0x14], 0x10
call fcn.004630c0
lea ecx, [esi + 0xc4]
mov byte [esp + 0x14], 0x11
call fcn.004630c0
lea ecx, [esi + 0xcc]
mov byte [esp + 0x14], 0x12
call fcn.004630c0
lea ecx, [esi + 0xd4]
mov byte [esp + 0x14], 0x13
call fcn.004630c0
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x154], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x18], 1
mov dword [esi + 0x1c], 1
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x474f20
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x4f7108
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x50a8e8
lea ecx, [esi + 0xd4]
mov dword [esp + 0x10], 0x13
call fcn.004630e0
lea ecx, [esi + 0xcc]
mov byte [esp + 0x10], 0x12
call fcn.004630e0
lea ecx, [esi + 0xc4]
mov byte [esp + 0x10], 0x11
call fcn.004630e0
lea ecx, [esi + 0xbc]
mov byte [esp + 0x10], 0x10
call fcn.004630e0
lea ecx, [esi + 0x88]
mov byte [esp + 0x10], 0xf
call fcn.004630e0
lea ecx, [esi + 0x80]
mov byte [esp + 0x10], 0xe
call fcn.004630e0
lea ecx, [esi + 0x78]
mov byte [esp + 0x10], 0xd
call fcn.004630e0
lea ecx, [esi + 0x70]
mov byte [esp + 0x10], 0xc
mov dword [ecx], vtable.CGdiObject.0
call fcn.004e72e3
lea ecx, [esi + 0x68]
mov byte [esp + 0x10], 0xb
mov dword [ecx], vtable.CGdiObject.0
call fcn.004e72e3
lea ecx, [esi + 0x60]
mov byte [esp + 0x10], 0xa
mov dword [ecx], vtable.CGdiObject.0
call fcn.004e72e3
lea ecx, [esi + 0x58]
mov byte [esp + 0x10], 9
mov dword [ecx], vtable.CGdiObject.0
call fcn.004e72e3
lea ecx, [esi + 0x50]
mov byte [esp + 0x10], 8
mov dword [ecx], vtable.CGdiObject.0
call fcn.004e72e3
lea ecx, [esi + 0x48]
mov byte [esp + 0x10], 7
mov dword [ecx], vtable.CGdiObject.0
call fcn.004e72e3
lea ecx, [esi + 0x40]
mov byte [esp + 0x10], 6
mov dword [ecx], vtable.CGdiObject.0
call fcn.004e72e3
lea ecx, [esi + 0x38]
mov byte [esp + 0x10], 5
mov dword [ecx], vtable.CGdiObject.0
call fcn.004e72e3
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 4
call fcn.004630e0
mov byte [esp + 0x10], 3
mov eax, dword [esi + 0x2c]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47507a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi + 0x28]
sub eax, 0x10
mov byte [esp + 0x10], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47509c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esi + 0x20]
mov byte [esp + 0x10], 1
call fcn.004630e0
lea ecx, [esi + 0x10]
mov byte [esp + 0x10], 0
call fcn.004dd4dd
mov ecx, esi
mov dword [esp + 0x10], 0xffffffff
call fcn.00477a70
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4750e0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4f7138
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4f0
mov eax, dword [0x52bd18]
push ebp
push esi
mov dword [esp + 0x4f4], eax
push edi
mov esi, dword [esp + 0x514]
mov ebp, dword [esp + 0x510]
mov edi, dword [esp + 0x50c]
push esi
push 0x3e8
lea eax, [esp + 0x118]
push eax
push 0x4fca4e
push ebp
push edi
mov dword [esp + 0x51c], 2
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov al, byte [esp + 0x110]
test al, al
je 0x475235
push ebx
push 0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x11c]
push edx
call fcn.00477d20
mov esi, eax
lea eax, [esp + 0x20]
push eax
call fcn.004cef45
push 0
lea ecx, [esp + 0x28]
push ecx
push esi
mov ebx, eax
call fcn.00477d20
lea edx, [esp + 0x30]
push edx
mov esi, eax
call fcn.004cef45
mov dword [esp + 0x30], eax
push 0
lea eax, [esp + 0x38]
push eax
push esi
call fcn.00477d20
lea ecx, [esp + 0x40]
push ecx
call fcn.004cef45
xor edx, edx
mov dh, al
movzx eax, bl
add esp, 0x30
mov byte [esp + 0x508], 1
mov dl, byte [esp + 0x10]
shl edx, 8
or edx, eax
lea eax, [edi - 0x10]
mov esi, edx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop ebx
jg 0x4751e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov byte [esp + 0x504], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x475205
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x514]
add eax, 0xfffffff0
mov dword [esp + 0x504], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x475231
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, esi
jmp 0x4752a5
lea eax, [edi - 0x10]
mov byte [esp + 0x504], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x475257
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov byte [esp + 0x504], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x475279
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esi - 0x10]
mov dword [esp + 0x504], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47529e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x518]
mov ecx, dword [esp + 0x4fc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x4f0]
pop ebp
call fcn.004ce183
add esp, 0x4fc
ret
Function at 0x478a40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f7548
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
mov ecx, dword [esi]
mov esi, dword [ecx - 0xc]
push edx
push eax
push esi
push ecx
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x28], edi
call fcn.0041b520
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.0041afd0
mov edi, dword [esp + 0x34]
add eax, 0x10
mov dword [edi], eax
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x478ad2
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x478e70
Capabilities:
Create directory

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f74f8
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
mov eax, dword [eax]
push esi
sub eax, 0x10
push edi
push eax
call fcn.0041afd0
add eax, 0x10
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x18], 0
call fcn.00478ca0
mov esi, dword [esp + 0x20]
add esp, 8
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, eax
lea eax, [esi - 0x10]
mov dword [esp + 0x10], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x478ee3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 8]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret

Function at 0x478f00
Capabilities:
Delete directory

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f74f8
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
mov eax, dword [eax]
push esi
sub eax, 0x10
push edi
push eax
call fcn.0041afd0
add eax, 0x10
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x18], 0
call fcn.00478ca0
mov esi, dword [esp + 0x20]
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edi, eax
lea eax, [esi - 0x10]
mov dword [esp + 0x10], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x478f71
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 8]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret
Function at 0x478f90
Capabilities:
Access peb ldr_data
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x4f7710
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
push ebp
push esi
sub eax, 0x10
push edi
push eax
call fcn.0041afd0
add eax, 0x10
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
sub eax, 0x10
push eax
mov dword [esp + 0x20], 0
call fcn.0041afd0
add eax, 0x10
mov dword [esp + 0x28], eax
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0x24], 1
call fcn.00478ca0
lea eax, [esp + 0x2c]
push eax
call fcn.00478ca0
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x1c]
add esp, 0x10
push ecx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebp, eax
lea eax, [esi - 0x10]
mov byte [esp + 0x18], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47902f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x479051
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov eax, ebp
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x479070
Capabilities:
Access peb ldr_data
Move file

Disassembly:
push 0xffffffffffffffff
push 0x4f7710
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
push ebp
push esi
sub eax, 0x10
push edi
push eax
call fcn.0041afd0
add eax, 0x10
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
sub eax, 0x10
push eax
mov dword [esp + 0x20], 0
call fcn.0041afd0
add eax, 0x10
mov dword [esp + 0x28], eax
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0x24], 1
call fcn.00478ca0
lea eax, [esp + 0x2c]
push eax
call fcn.00478ca0
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x1c]
add esp, 0x10
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ebp, eax
lea eax, [esi - 0x10]
mov byte [esp + 0x18], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47910a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47912c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov eax, ebp
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x479140
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f74f8
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
mov eax, dword [eax]
push esi
sub eax, 0x10
push edi
push eax
call fcn.0041afd0
add eax, 0x10
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x18], 0
call fcn.00478ca0
mov esi, dword [esp + 0x20]
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, eax
lea eax, [esi - 0x10]
mov dword [esp + 0x10], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4791b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 8]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret

Function at 0x4791d0
Capabilities:
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f74f8
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
mov eax, dword [eax]
push esi
sub eax, 0x10
push edi
push eax
call fcn.0041afd0
add eax, 0x10
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x18], 0
call fcn.00478ca0
mov esi, dword [esp + 0x20]
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
lea eax, [esi - 0x10]
mov dword [esp + 0x10], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x479241
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 8]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret

Function at 0x479260
Capabilities:
Set file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f74f8
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
mov eax, dword [eax]
push esi
sub eax, 0x10
push edi
push eax
call fcn.0041afd0
add eax, 0x10
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x18], 0
call fcn.00478ca0
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
add esp, 8
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edi, eax
lea eax, [esi - 0x10]
mov dword [esp + 0x10], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4792d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 8]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret
Function at 0x479380
Capabilities:
Check if file exists

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f74f8
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
mov eax, dword [eax]
push esi
sub eax, 0x10
push edi
push eax
call fcn.0041afd0
add eax, 0x10
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x18], 0
call fcn.00478ca0
mov esi, dword [esp + 0x20]
add esp, 8
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, eax
lea eax, [esi - 0x10]
mov dword [esp + 0x10], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4793f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 8]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret