joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a8e0
Capabilities:
Delete file

Disassembly:
sub esp, 0x40c
mov eax, dword [0x6f1330]
xor eax, esp
mov dword [esp + 0x408], eax
push ebx
push ebp
push esi
push edi
push str.Making_sure_extracted_files_exists_n
mov edi, ecx
call fcn.005bacf0
add esp, 4
push 1
lea ebx, [edi + 0x4e0]
push 1
mov ecx, ebx
call fcn.005c8ef0
mov eax, dword [edi + 0x5f8]
sub eax, dword [edi + 0x5f4]
xor ebp, ebp
sar eax, 2
test eax, eax
jbe 0x45a9cf
mov ecx, dword [edi + 0x5f8]
sub ecx, dword [edi + 0x5f4]
sar ecx, 2
cmp ebp, ecx
jb 0x45a949
call fcn.005e5343
mov edx, dword [edi + 0x5f4]
mov esi, dword [edx + ebp*4]
test byte [esi + 0x116], 1
je 0x45a9b7
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
push esi
call fcn.005bca70
add esp, 0xc
test al, al
je 0x45a98a
mov edx, dword [esp + 0x14]
cmp edx, dword [esi + 0x10e]
jne 0x45a98a
mov eax, dword [esp + 0x10]
cmp eax, dword [esi + 0x106]
je 0x45a9b7
push esi
push str.restoring__s_n
call fcn.005bacf0
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
push 0x6192e0
push esi
mov ecx, ebx
call fcn.005ca050
test al, al
je 0x45a9fc
mov ecx, dword [edi + 0x5f8]
sub ecx, dword [edi + 0x5f4]
inc ebp
sar ecx, 2
cmp ebp, ecx
jb 0x45a931
mov ecx, ebx
call fcn.005c9050
push str.Making_sure_extracted_files_exists___finished_n
call fcn.005bacf0
mov ecx, dword [esp + 0x41c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005e425b
add esp, 0x40c
ret
push esi
lea edx, [esp + 0x1c]
push str.Cant_extract_file__s_nPlease_delete_this_file_manually
push edx
call fcn.00453110
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push edi
call fcn.0045a350
int3

Function at 0x45add0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea ecx, [esi + 0x2169c]
call fcn.00459540
push 0
push 0
push esi
push 0x45adc0
push 0
push 0
call fcn.005e4d3c
add esp, 0x18
mov dword [esi + 0x21694], eax
pop esi
ret
Function at 0x45bc00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x605ce6
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x6f1330]
xor eax, esp
mov dword [esp + 0x27c], eax
push esi
push edi
mov eax, dword [0x6f1330]
xor eax, esp
push eax
lea eax, [esp + 0x28c]
mov dword fs:[0], eax
push str.Checking_for_game_update_n
mov esi, ecx
call fcn.005bacf0
lea edi, [esi + 0x20df5]
push str.Checking_for_game_update
push edi
call fcn.00453110
add esp, 0xc
lea ecx, [esp + 0xc]
call fcn.0045fbe0
lea eax, [esi + 0x215f8]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x298], 0
call fcn.00453910
push 0
push 0
lea ecx, [esp + 0x14]
push ecx
push str.http:__147.50.253.186_NHZ_DATA_NHZ.xml
lea ecx, [esp + 0x30]
mov byte [esp + 0x2a4], 1
call fcn.00453510
test al, al
jne 0x45bcab
push str.Failed_to_get_current_game_build
push esi
call fcn.0045a350
lea ecx, [esp + 0xc]
call fcn.0045fda0
push eax
lea ecx, [esp + 0x10]
call fcn.0045fdd0
push eax
lea ecx, [esi + 0x1c]
call fcn.0045b890
test al, al
jne 0x45bcd6
push str.Failed_to_parse_current_game_build
push esi
call fcn.0045a350
push 0x6c2278
push edi
call fcn.00453110
push str.Checking_for_game_update___finished_n
call fcn.005bacf0
add esp, 0xc
lea ecx, [esp + 0x20]
mov byte [esp + 0x294], 0
call fcn.00453330
lea ecx, [esp + 0xc]
mov dword [esp + 0x294], 0xffffffff
call fcn.0045fc90
mov al, 1
mov ecx, dword [esp + 0x28c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x27c]
xor ecx, esp
call fcn.005e425b
add esp, 0x28c
ret
Function at 0x45cec0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x605eb8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6f1330]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
lea ecx, [esp + 0x18]
xor edi, edi
mov dword [esp + 0x14], ebx
call fcn.0045c9f0
push 0x400
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], edi
call fcn.0045c690
mov eax, dword [esi + 0x5f8]
sub eax, dword [esi + 0x5f4]
sar eax, 2
test eax, eax
jbe 0x45cf7e
mov ebp, 0x100000
jmp 0x45cf30
mov ecx, dword [esi + 0x5f8]
sub ecx, dword [esi + 0x5f4]
sar ecx, 2
cmp edi, ecx
jb 0x45cf48
call fcn.005e5343
mov edx, dword [esi + 0x5f4]
mov eax, dword [edx + edi*4]
test dword [eax + 0x116], ebp
jne 0x45cf64
push eax
lea ecx, [esp + 0x1c]
call fcn.0045ca50
inc ebx
mov eax, dword [esi + 0x5f8]
sub eax, dword [esi + 0x5f4]
inc edi
sar eax, 2
cmp edi, eax
jb 0x45cf30
mov dword [esp + 0x14], ebx
xor edi, edi
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x24]
mov eax, 0xdd67c8a7
imul ecx
add edx, ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x45cff7
xor ebp, ebp
lea ebx, [esi + 0x5e4]
cmp edi, eax
jb 0x45cfac
call fcn.005e5343
mov ecx, dword [esp + 0x24]
lea esi, [ecx + ebp]
push esi
mov ecx, ebx
call fcn.005cc710
test byte [esi + 0x116], 1
je 0x45cfcb
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x24]
mov eax, 0xdd67c8a7
imul ecx
add edx, ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
add ebp, 0x128
cmp edi, eax
jb 0x45cfac
mov ebx, dword [esp + 0x14]
xor edi, edi
push ebx
push str.removed__d_files_n
call fcn.005bacf0
mov eax, dword [esp + 0x2c]
add esp, 8
cmp eax, edi
je 0x45d016
push eax
call fcn.005bccb0
add esp, 4
mov edx, dword [esp + 0x18]
push edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call fcn.005bccb0
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x45e2d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x606038
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x6f1330]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6f1330]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x94]
mov ebx, dword [ebp + 0x10]
cmp dword [ebp + 0xc], ebx
jbe 0x45e319
call fcn.005e5343
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp]
cmp esi, dword [ebp + 0x10]
jbe 0x45e329
call fcn.005e5343
mov eax, dword [ebp]
push ebx
push edi
push esi
push eax
lea eax, [esp + 0x28]
push eax
mov ecx, ebp
call fcn.0045d7b0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x94]
call fcn.005d3f20
mov edx, dword [eax]
lea ecx, [esp + 0x90]
mov dword [esp + 0x90], edx
call fcn.005d3de0
test al, al
jne 0x45e4eb
mov edi, 0xf
xor ebx, ebx
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
push 0x619da8
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x98]
mov dword [esp + 0x90], ebx
call fcn.005d3e70
mov ecx, eax
call fcn.005d3db0
mov ecx, eax
lea esi, [ecx + 1]
mov edi, edi
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x45e3c0
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.00456910
push str.date
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x98]
call fcn.005d3e70
mov ecx, eax
call fcn.005d3db0
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x45e3f6
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0x68]
call fcn.00456910
push 0x619834
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x98]
call fcn.005d3e70
mov ecx, eax
call fcn.005d3db0
mov ecx, eax
lea esi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x45e430
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0x4c]
call fcn.00456910
lea eax, [esp + 0x28]
push eax
mov ecx, ebp
call fcn.0045e230
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x94]
call fcn.005d3ef0
mov edx, dword [eax]
mov esi, 0x10
mov dword [esp + 0x90], edx
mov dword [esp + 0x88], 0xffffffff
cmp dword [esp + 0x78], esi
jb 0x45e48d
mov eax, dword [esp + 0x64]
push eax
call fcn.005bccb0
add esp, 4
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
cmp dword [esp + 0x5c], esi
jb 0x45e4ac
mov ecx, dword [esp + 0x48]
push ecx
call fcn.005bccb0
add esp, 4
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
cmp dword [esp + 0x40], esi
jb 0x45e4cb
mov edx, dword [esp + 0x2c]
push edx
call fcn.005bccb0
add esp, 4
lea ecx, [esp + 0x90]
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.005d3de0
test al, al
je 0x45e371
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.005e425b
add esp, 0x78
ret 8
Function at 0x45e8c0
Capabilities:
Create thread

Disassembly:
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0x21668], 0
push edi
je 0x45e8e7
push 0
push 0x605
push str..Updater.cpp
push str.mainThread___NULL
call fcn.005bb000
add esp, 0x10
cmp dword [esi + 0x21694], 0
je 0x45e909
push 0
push 0x606
push str..Updater.cpp
push str.loginThread___NULL
call fcn.005bb000
add esp, 0x10
push 0
push 0
push esi
push 0x45d790
push 0
push 0
call fcn.005e4d3c
push 0
push 0
push esi
push 0x45e8b0
push 0
push 0
mov dword [esi + 0x21668], eax
call fcn.005e4d3c
add esp, 0x30
mov dword [esi + 0x21d7c], eax
lea edi, [esi + 0x21678]
mov ebx, 6
lea esp, [esp]
push 0
push 0
push esi
push 0x45d7a0
push 0
push 0
call fcn.005e4d3c
mov dword [edi], eax
add esp, 0x18
add edi, 4
sub ebx, 1
jne 0x45e950
pop edi
pop esi
pop ebx
ret

Function at 0x45f400
Capabilities:
Get mac address on windows

Disassembly:
sub esp, 8
push esi
push edi
push 0x11
mov dword [esp + 0xc], 4
call fcn.005e60a8
mov edi, eax
push 0x288
mov dword [esp + 0x14], edi
call fcn.005e60a8
mov esi, eax
add esp, 8
test esi, esi
jne 0x45f43a
push str.Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
call fcn.005e5f94
add esp, 4
lea eax, [esp + 8]
push eax
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x45f46a
mov ecx, dword [esp + 8]
push ecx
call fcn.005e60a8
mov esi, eax
add esp, 4
test esi, esi
jne 0x45f46a
push str.Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
call fcn.005e5f94
add esp, 4
lea edx, [esp + 8]
push edx
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x45f4c3
movzx eax, byte [esi + 0x199]
movzx ecx, byte [esi + 0x198]
movzx edx, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push ecx
movzx ecx, byte [esi + 0x195]
push edx
movzx edx, byte [esi + 0x194]
push eax
push ecx
push edx
lea eax, [esp + 0x24]
push str._02X:_02X:_02X:_02X:_02X:_02X
push eax
call fcn.0045f260
add esp, 0x20
mov eax, edi
pop edi
pop esi
add esp, 8
ret
push esi
call fcn.005e5f06
add esp, 4
pop edi
pop esi
add esp, 8
ret

Function at 0x45f6a0
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
push 0
lea eax, [esp + 8]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareNHZ_StudioNHZ
push bind
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x45f6fc
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45f6d1
mov ecx, dword [esp + 4]
sub eax, edx
inc eax
push eax
push esi
push 1
push 0
push 0x619fe4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ecx
ret
Function at 0x45f700
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
lea eax, [esp + 4]
push eax
push 0xf003f
push 0
push str.SoftwareNHZ_StudioNHZ
push bind
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45f751
mov edx, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
push esi
push eax
push eax
push 0x619fe4
push edx
mov dword [esp + 0x20], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop esi
add esp, 8
ret

Function at 0x45f760
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push str.HARDWAREDESCRIPTIONSystemMultifunctionAdapter0DiskController0DiskPeripheral0
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45f7b7
mov edx, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
add esi, 0x132
push esi
push eax
push eax
push str.Identifier
push edx
mov dword [esp + 0x20], 0x32
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop esi
add esp, 8
ret

Function at 0x45f7c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push str.SYSTEMControlSet001ControlComputerNameComputerName
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45f817
mov edx, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
add esi, 0x164
push esi
push eax
push eax
push str.ComputerName
push edx
mov dword [esp + 0x20], 0x32
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop esi
add esp, 8
ret

Function at 0x45f840
Capabilities:
Set registry value

Disassembly:
sub esp, 0x1d0
mov eax, dword [0x6f1330]
xor eax, esp
mov dword [esp + 0x1cc], eax
push esi
push 0
lea eax, [esp + 8]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareNHZ_Studio_HWIDNHZ
push bind
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x45f8df
lea ecx, [esp + 8]
call fcn.00453990
lea ecx, [esp + 8]
call fcn.00453ee0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push edx
add esi, 0x100
push str.0x_I64x
push esi
call fcn.0045f820
mov eax, esi
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45f8b4
sub eax, edx
inc eax
push eax
mov eax, dword [esp + 8]
push esi
push 1
push 0
push str.hardwareid
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1d0]
pop esi
xor ecx, esp
call fcn.005e425b
add esp, 0x1d0
ret
Function at 0x45f900
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x6061cb
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x6f1330]
xor eax, esp
mov dword [esp + 0x218], eax
push esi
push edi
mov eax, dword [0x6f1330]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
mov eax, ecx
mov ecx, dword [eax + 0x1a0]
mov edx, dword [eax + 0x19c]
mov eax, dword [eax + 0x198]
mov edi, dword [esp + 0x238]
push ecx
push edx
push eax
lea ecx, [esp + 0x30]
push 0x61a24c
push ecx
call fcn.004552e0
lea eax, [esp + 0x38]
add esp, 0x14
xor ecx, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x45f972
sub eax, esi
je 0x45f99d
lea ecx, [ecx]
xor byte [esp + ecx + 0x24], 0x64
lea eax, [esp + 0x24]
inc ecx
lea esi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x45f990
sub eax, esi
cmp ecx, eax
jb 0x45f980
lea ecx, [esp + 0xc]
call fcn.004616d0
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x10]
mov dword [esp + 0x234], 0
call fcn.004618d0
push 0x61a210
lea ecx, [esp + 0x10]
call fcn.00461980
lea ecx, [esp + 0xc]
call fcn.00461930
mov edx, edi
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x45f9d8
lea ecx, [esp + 0xc]
mov dword [esp + 0x230], 0xffffffff
call fcn.004617e0
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.005e425b
add esp, 0x228
ret 4

Function at 0x45fa20
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
lea eax, [esp + 4]
push eax
push 0xf003f
push 0
push str.SoftwareNHZ_Studio_HWIDNHZ
push bind
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x45fa54
mov ecx, esi
call fcn.0045f840
mov al, 1
pop esi
add esp, 8
ret
mov edx, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
add esi, 0x100
push esi
push 0
push 0
push str.hardwareid
push edx
mov dword [esp + 0x20], 0x32
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop esi
add esp, 8
ret
Function at 0x4801b0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6072d7
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x6f1330]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x134]
call fcn.00476e50
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1bc]
call fcn.00476e50
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x134]
call fcn.00478fe0
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x1bc]
call fcn.00478fe0
push 0x5c
push 0x2f
lea ecx, [ebp - 0x134]
call fcn.00479910
push 0x5c
push 0x2f
lea ecx, [ebp - 0x1bc]
call fcn.00479910
mov byte [ebp - 0x1bd], 0
lea ecx, [ebp - 0xac]
call fcn.004ac920
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xac]
call fcn.004ac9a0
movzx edx, al
test edx, edx
je 0x48028e
lea ecx, [ebp - 0x1bc]
call fcn.00478260
push eax
lea ecx, [ebp - 0x134]
call fcn.00478260
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
setne al
mov byte [ebp - 0x1bd], al
jmp 0x48036c
lea ecx, [ebp - 0x134]
call fcn.00476fe0
test eax, eax
jg 0x4802b0
lea ecx, [ebp - 0x1bc]
call fcn.00476fe0
test eax, eax
jle 0x480343
lea ecx, [ebp - 0x24c]
call fcn.00476e50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2d4]
call fcn.00476e50
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24c]
push ecx
lea edx, [ebp - 0x134]
push edx
call fcn.004803e0
add esp, 8
lea eax, [ebp - 0x2d4]
push eax
lea ecx, [ebp - 0x1bc]
push ecx
call fcn.004803e0
add esp, 8
lea ecx, [ebp - 0x2d4]
call fcn.004778f0
push eax
lea ecx, [ebp - 0x24c]
call fcn.004778f0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne dl
mov byte [ebp - 0x1bd], dl
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2d4]
call fcn.00476f60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24c]
call fcn.00476f60
jmp 0x48036c
lea ecx, [ebp - 0x1bc]
call fcn.004778f0
push eax
lea ecx, [ebp - 0x134]
call fcn.004778f0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne al
mov byte [ebp - 0x1bd], al
movzx ecx, byte [ebp - 0x1bd]
test ecx, ecx
jne 0x480385
cmp dword [ebp + 0x10], 0
je 0x480385
mov ecx, dword [ebp + 0x10]
call fcn.00494480
mov dl, byte [ebp - 0x1bd]
mov byte [ebp - 0x2d5], dl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xac]
call fcn.004ac980
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1bc]
call fcn.00476f60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x134]
call fcn.00476f60
mov al, byte [ebp - 0x2d5]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005e425b
mov esp, ebp
pop ebp
ret
Function at 0x480510
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60735c
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x6f1330]
xor eax, ebp
mov dword [ebp - 0x98], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x94]
call fcn.00476e50
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x94]
call fcn.00478fe0
push 0x5c
push 0x2f
lea ecx, [ebp - 0x94]
call fcn.00479910
lea ecx, [ebp - 0x134]
call fcn.004ac920
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x134]
call fcn.004ac9a0
movzx ecx, al
test ecx, ecx
je 0x4805d8
lea ecx, [ebp - 0x94]
call fcn.00478260
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne dl
mov byte [ebp - 0x255], dl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.004ac980
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00476f60
mov al, byte [ebp - 0x255]
jmp 0x4807ab
lea ecx, [ebp - 0x94]
call fcn.00476fe0
cmp eax, 0x104
jle 0x4806de
lea ecx, [ebp - 0x1bc]
call fcn.00476e50
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1bc]
push eax
lea ecx, [ebp - 0x94]
push ecx
call fcn.0047fe40
add esp, 8
lea ecx, [ebp - 0x24c]
call fcn.00476e50
mov byte [ebp - 4], 3
push 0x65826c
lea ecx, [ebp - 0x24c]
call fcn.00478aa0
lea ecx, [ebp - 0x1bc]
call fcn.00478cc0
push eax
lea ecx, [ebp - 0x24c]
call fcn.00478aa0
lea ecx, [ebp - 0x24c]
call fcn.004778f0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x1c0], eax
cmp dword [ebp - 0x1c0], 0
jne 0x48067f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x48067f
mov dword [ebp - 0x1c0], 1
cmp dword [ebp - 0x1c0], 0
setne dl
mov byte [ebp - 0x256], dl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24c]
call fcn.00476f60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1bc]
call fcn.00476f60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.004ac980
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00476f60
mov al, byte [ebp - 0x256]
jmp 0x4807ab
lea ecx, [ebp - 0x94]
call fcn.004778f0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0
jne 0x480751
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x254], eax
cmp dword [ebp + 0xc], 0
je 0x48073e
mov eax, dword [ebp - 0x254]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00494520
lea ecx, [ebp - 0x94]
call fcn.00478cc0
push eax
push str.failedToDeleteFilepath
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx + 0x2c]
call eax
cmp dword [ebp - 0x254], 2
jne 0x480751
mov dword [ebp - 0x250], 1
cmp dword [ebp - 0x250], 0
setne cl
mov byte [ebp - 0x257], cl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.004ac980
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00476f60
mov al, byte [ebp - 0x257]
jmp 0x4807ab
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x98]
xor ecx, ebp
call fcn.005e425b
mov esp, ebp
pop ebp
ret