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

Disassembly:
push 0xffffffffffffffff
push 0x4fceff
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x400
mov eax, dword [0x531d28]
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.00479d80
add esp, 8
mov edx, dword [str.Buttons]
push edi
push 0x3e8
lea ecx, [esp + 0x28]
push ecx
push 0x502a56
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 0x471f2f
push 1
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00479e30
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.004092f0
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.004ed255
push 0
push edi
mov ecx, esi
call fcn.004631c0
test eax, eax
mov byte [esp + 0xf], 0
jne 0x471f34
mov byte [esp + 0xf], 1
or esi, 0xffffffff
test bl, 2
mov dword [esp + 0x414], 1
je 0x471f6b
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 0x471f6b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, 1
mov dword [esp + 0x414], 0
je 0x471f98
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 0x471f98
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 0x471fc6
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x471fc2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
jmp 0x471fe2
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x471fdd
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.004d40be
add esp, 0x40c
ret 4
Function at 0x475880
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 0x475906
lea ebx, [ebx]
test eax, eax
jle 0x475906
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.00465990
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 0x4758d0
mov eax, edi
sub eax, ebp
cmp eax, ebx
jge 0x475930
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.00465990
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.00465990
test edi, edi
mov eax, dword [esi + 0xa8]
mov dword [esp + 0x14], eax
je 0x475975
mov edi, dword [edi + 4]
test edi, edi
jne 0x475979
xor ecx, ecx
jmp 0x4759a9
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 0x4759c9
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.00465990
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x28
ret 0x14
Function at 0x476d10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fd2c8
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.00479710
xor edi, edi
lea ecx, [esi + 0x10]
mov dword [esp + 0x14], edi
mov dword [esi], 0x5107d0
call fcn.004e32b6
lea ecx, [esi + 0x20]
mov byte [esp + 0x14], 1
call fcn.00465020
mov byte [esp + 0x14], 2
call fcn.004e5159
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.004e5159
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.00465020
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.00465020
lea ecx, [esi + 0x80]
mov byte [esp + 0x14], 0xe
call fcn.00465020
lea ecx, [esi + 0x88]
mov byte [esp + 0x14], 0xf
call fcn.00465020
lea ecx, [esi + 0xbc]
mov byte [esp + 0x14], 0x10
call fcn.00465020
lea ecx, [esi + 0xc4]
mov byte [esp + 0x14], 0x11
call fcn.00465020
lea ecx, [esi + 0xcc]
mov byte [esp + 0x14], 0x12
call fcn.00465020
lea ecx, [esi + 0xd4]
mov byte [esp + 0x14], 0x13
call fcn.00465020
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 0x476ea0
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x4fd2c8
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], 0x5107d0
lea ecx, [esi + 0xd4]
mov dword [esp + 0x10], 0x13
call fcn.00465040
lea ecx, [esi + 0xcc]
mov byte [esp + 0x10], 0x12
call fcn.00465040
lea ecx, [esi + 0xc4]
mov byte [esp + 0x10], 0x11
call fcn.00465040
lea ecx, [esi + 0xbc]
mov byte [esp + 0x10], 0x10
call fcn.00465040
lea ecx, [esi + 0x88]
mov byte [esp + 0x10], 0xf
call fcn.00465040
lea ecx, [esi + 0x80]
mov byte [esp + 0x10], 0xe
call fcn.00465040
lea ecx, [esi + 0x78]
mov byte [esp + 0x10], 0xd
call fcn.00465040
lea ecx, [esi + 0x70]
mov byte [esp + 0x10], 0xc
mov dword [ecx], vtable.CGdiObject.0
call fcn.004ed255
lea ecx, [esi + 0x68]
mov byte [esp + 0x10], 0xb
mov dword [ecx], vtable.CGdiObject.0
call fcn.004ed255
lea ecx, [esi + 0x60]
mov byte [esp + 0x10], 0xa
mov dword [ecx], vtable.CGdiObject.0
call fcn.004ed255
lea ecx, [esi + 0x58]
mov byte [esp + 0x10], 9
mov dword [ecx], vtable.CGdiObject.0
call fcn.004ed255
lea ecx, [esi + 0x50]
mov byte [esp + 0x10], 8
mov dword [ecx], vtable.CGdiObject.0
call fcn.004ed255
lea ecx, [esi + 0x48]
mov byte [esp + 0x10], 7
mov dword [ecx], vtable.CGdiObject.0
call fcn.004ed255
lea ecx, [esi + 0x40]
mov byte [esp + 0x10], 6
mov dword [ecx], vtable.CGdiObject.0
call fcn.004ed255
lea ecx, [esi + 0x38]
mov byte [esp + 0x10], 5
mov dword [ecx], vtable.CGdiObject.0
call fcn.004ed255
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 4
call fcn.00465040
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 0x476ffa
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 0x47701c
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.00465040
lea ecx, [esi + 0x10]
mov byte [esp + 0x10], 0
call fcn.004e3423
mov ecx, esi
mov dword [esp + 0x10], 0xffffffff
call fcn.004799f0
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x477060
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4fd2f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4f0
mov eax, dword [0x531d28]
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 0x502a56
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 0x4771b5
push ebx
push 0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x11c]
push edx
call fcn.00479ca0
mov esi, eax
lea eax, [esp + 0x20]
push eax
call fcn.004d4e85
push 0
lea ecx, [esp + 0x28]
push ecx
push esi
mov ebx, eax
call fcn.00479ca0
lea edx, [esp + 0x30]
push edx
mov esi, eax
call fcn.004d4e85
mov dword [esp + 0x30], eax
push 0
lea eax, [esp + 0x38]
push eax
push esi
call fcn.00479ca0
lea ecx, [esp + 0x40]
push ecx
call fcn.004d4e85
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 0x477163
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 0x477185
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 0x4771b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, esi
jmp 0x477225
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 0x4771d7
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 0x4771f9
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 0x47721e
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.004d40be
add esp, 0x4fc
ret
Function at 0x47a9c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fd708
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.0041cb40
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.0041c460
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 0x47aa52
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 0x47adf0
Capabilities:
Create directory

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4fd6b8
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.0041c460
add eax, 0x10
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x18], 0
call fcn.0047ac20
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 0x47ae63
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 0x47ae80
Capabilities:
Delete directory

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4fd6b8
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.0041c460
add eax, 0x10
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x18], 0
call fcn.0047ac20
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 0x47aef1
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 0x47af10
Capabilities:
Access peb ldr_data
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x4fd860
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.0041c460
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.0041c460
add eax, 0x10
mov dword [esp + 0x28], eax
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0x24], 1
call fcn.0047ac20
lea eax, [esp + 0x2c]
push eax
call fcn.0047ac20
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 0x47afaf
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 0x47afd1
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 0x47aff0
Capabilities:
Access peb ldr_data
Move file

Disassembly:
push 0xffffffffffffffff
push 0x4fd860
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.0041c460
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.0041c460
add eax, 0x10
mov dword [esp + 0x28], eax
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0x24], 1
call fcn.0047ac20
lea eax, [esp + 0x2c]
push eax
call fcn.0047ac20
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 0x47b08a
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 0x47b0ac
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 0x47b0c0
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4fd6b8
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.0041c460
add eax, 0x10
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x18], 0
call fcn.0047ac20
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 0x47b131
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 0x47b150
Capabilities:
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4fd6b8
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.0041c460
add eax, 0x10
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x18], 0
call fcn.0047ac20
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 0x47b1c1
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 0x47b1e0
Capabilities:
Set file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4fd6b8
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.0041c460
add eax, 0x10
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x18], 0
call fcn.0047ac20
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 0x47b256
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 0x47b300
Capabilities:
Check if file exists

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4fd6b8
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.0041c460
add eax, 0x10
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x18], 0
call fcn.0047ac20
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 0x47b371
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 0x47bc30
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x4fd860
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, dword [esp + 0x1c]
mov edx, dword [edi]
mov eax, dword [edx - 0xc]
cmp eax, 0xc8
mov eax, dword [esp + 0x20]
jg 0x47bc85
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0xc8
jg 0x47bc85
mov eax, dword [esp + 0x24]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
pop edi
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
push 0
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.0047b390
mov esi, eax
push 0
lea edx, [esp + 0x2c]
push edi
push edx
mov dword [esp + 0x2c], 0
call fcn.0047b390
mov ecx, dword [esp + 0x3c]
push ecx
push esi
push eax
mov byte [esp + 0x38], 1
call fcn.0047af10
mov esi, eax
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
add esp, 0x24
mov byte [esp + 0x14], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47bce2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x14], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47bd08
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret