Function at 0x43b820
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6f7a56
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x7e6410]
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 dword [ebp - 0x50], edx
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x54], eax
mov dword [ebp - 4], 0
mov eax, dword [0x7e7970]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x34], eax
mov ebx, eax
mov dword [ebp - 0x44], ebx
mov edi, eax
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0xc0]
call fcn.004374f0
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp + 8]
mov dword [ebp - 0x4c], 0
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00428b20
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xd
call fcn.004289a0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x2c]
lea ecx, [eax - 0xc]
cmp ecx, 0x7e8698
je 0x43b8f2
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43b8f2
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff4
push eax
call fcn.006b31f8
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.0047e910
mov esi, eax
mov byte [ebp - 4], 0xe
cmp dword [esi + 0x14], 8
jb 0x43b908
mov esi, dword [esi]
test esi, esi
jne 0x43b910
xor eax, eax
jmp 0x43b917
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push eax
lea ecx, [ebp - 0x58]
call fcn.00428920
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x14], 8
jb 0x43b936
push dword [ebp - 0x28]
call fcn.006b31f8
add esp, 4
push str.__list__.tmp
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00428bd0
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xf
call fcn.004289a0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x2c]
lea ecx, [eax - 0xc]
cmp ecx, 0x7e8698
je 0x43b984
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43b984
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff4
push eax
call fcn.006b31f8
add esp, 4
mov esi, dword [ebp - 0x48]
push dword [esi + 4]
push dword [esi]
call fcn.00440130
push dword [esi]
call fcn.006b31f8
mov dword [esi], 0
add esp, 4
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov esi, dword [ebp - 0x54]
push dword [esi + 4]
push dword [esi]
call fcn.00440130
push dword [esi]
call fcn.006b31f8
mov dword [esi], 0
add esp, 4
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov esi, dword [ebp - 0x50]
push dword [esi + 4]
push dword [esi]
call fcn.00440130
push dword [esi]
call fcn.006b31f8
add esp, 4
mov dword [esi], 0
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov esi, dword [ebp - 0x5c]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43bae8
test al, 0x10
jne 0x43bae8
push 0xc
call fcn.006b6815
add esp, 4
mov dword [ebp - 0x68], eax
test eax, eax
jne 0x43ba42
mov byte [ebp - 0x3d], al
lea eax, [ebp - 0x3d]
push 0x7da8d8
push eax
call fcn.006b4394
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [ebp - 0x2c], eax
push 0
push esi
mov ecx, eax
mov byte [ebp - 4], 0x10
call fcn.00474320
test eax, eax
je 0x43bab0
mov esi, dword [ebp - 0x68]
mov ecx, dword [esi]
test ecx, ecx
je 0x43bab0
mov eax, dword [ecx]
push str.LIST.xml
call dword [eax + 0x14]
test eax, eax
jne 0x43ba9d
mov ecx, dword [esi]
test ecx, ecx
je 0x43bab0
mov eax, dword [ecx]
push str.LIST.ini
call dword [eax + 0x14]
test eax, eax
je 0x43bab0
mov dword [ebp - 0x4c], 1
push dword [ebp - 0x58]
mov ecx, esi
push str.__list__.tmp
call fcn.004744f0
test eax, eax
jne 0x43bac1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xc
call fcn.00474600
jmp 0x43c028
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x34]
call fcn.004289a0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xc
call fcn.00474600
cmp dword [ebp - 0x4c], 0
mov esi, dword [ebp - 0x34]
jne 0x43be93
jmp 0x43bb52
push ecx
push str.LIST.xml
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.0047e110
add esp, 8
mov esi, eax
mov byte [ebp - 4], 0x11
cmp dword [esi + 0x14], 8
jb 0x43bb09
mov esi, dword [esi]
test esi, esi
jne 0x43bb11
xor eax, eax
jmp 0x43bb18
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push eax
lea ecx, [ebp - 0x34]
call fcn.00428920
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x14], 8
jb 0x43bb37
push dword [ebp - 0x28]
call fcn.006b31f8
add esp, 4
mov esi, dword [ebp - 0x34]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43be28
test al, 0x10
jne 0x43be28
push esi
lea ecx, [ebp - 0xc0]
call fcn.00437680
test eax, eax
je 0x43c028
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x43c028
cmp dword [eax], 0
jne 0x43c015
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x38], ecx
test ecx, ecx
je 0x43c015
mov ebx, str.FileName
mov edx, str.SavePostFix
shr ebx, 0x10
shr edx, 0x10
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x78], edx
jmp 0x43bba9
mov ebx, dword [ebp - 0x68]
test ecx, ecx
jne 0x43bbb1
xor esi, esi
jmp 0x43bbc2
cmp dword [eax], 0
je 0x43bbba
xor esi, esi
jmp 0x43bbc2
mov esi, dword [ecx + 8]
mov ecx, dword [ecx]
mov dword [ebp - 0x38], ecx
lea eax, [ebp - 0x3c]
push eax
push ecx
mov eax, esp
lea ecx, [ebp + 0x10]
push ecx
push str.Name
push eax
call fcn.00428c80
mov ecx, esi
call fcn.00439650
test eax, eax
jne 0x43bbfb
lea eax, [ebp - 0x3c]
push eax
push ecx
mov ecx, esp
push str.Name
call fcn.00428840
mov ecx, esi
call fcn.00439650
mov eax, dword [0x7e7970]
push 0x790eb0
push ecx
mov edi, esp
mov dword [edi], eax
test bx, bx
jne 0x43bc21
mov eax, str.FileName
mov ecx, edi
movzx eax, ax
push eax
call fcn.0042a370
jmp 0x43bc4d
push str.FileName
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
test ebx, ebx
je 0x43bc4d
push ebx
mov ecx, edi
call fcn.004286f0
lea eax, [ebx + ebx]
push eax
push str.FileName
push dword [edi]
call fcn.006b3670
add esp, 0xc
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
call fcn.004397e0
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x15
call fcn.004289a0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x4c]
lea ecx, [eax - 0xc]
cmp ecx, 0x7e8698
je 0x43bc94
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43bc94
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff4
push eax
call fcn.006b31f8
add esp, 4
cmp word [ebp - 0x78], 0
mov eax, dword [0x7e7970]
push 0x790eb0
push ecx
mov edi, esp
mov dword [edi], eax
jne 0x43bcbc
mov eax, str.SavePostFix
mov ecx, edi
movzx eax, ax
push eax
call fcn.0042a370
jmp 0x43bce8
push str.SavePostFix
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
test ebx, ebx
je 0x43bce8
push ebx
mov ecx, edi
call fcn.004286f0
lea eax, [ebx + ebx]
push eax
push str.SavePostFix
push dword [edi]
call fcn.006b3670
add esp, 0xc
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.004397e0
push eax
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x16
call fcn.004289a0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x2c]
lea ecx, [eax - 0xc]
cmp ecx, 0x7e8698
je 0x43bd2f
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43bd2f
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff4
push eax
call fcn.006b31f8
add esp, 4
mov ebx, dword [ebp - 0x44]
mov ecx, 0x790eb0
mov eax, ebx
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43bd66
test dx, dx
je 0x43bd62
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43bd66
add eax, 4
add ecx, 4
test dx, dx
jne 0x43bd40
xor eax, eax
jmp 0x43bd6b
sbb eax, eax
or eax, 1
mov edi, dword [ebp - 0x3c]
test eax, eax
je 0x43be15
mov ecx, 0x790eb0
mov eax, edi
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43bda6
test dx, dx
je 0x43bda2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43bda6
add eax, 4
add ecx, 4
test dx, dx
jne 0x43bd80
xor eax, eax
jmp 0x43bdab
sbb eax, eax
or eax, 1
test eax, eax
je 0x43be15
mov ecx, dword [ebp - 0x48]
push 0xffffffffffffffff
mov esi, dword [ecx + 4]
lea eax, [esi + 1]
push eax
call fcn.0043fbf0
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
lea ecx, [eax + esi*4]
call fcn.004289a0
mov ecx, dword [ebp - 0x50]
push 0xffffffffffffffff
mov esi, dword [ecx + 4]
lea eax, [esi + 1]
push eax
call fcn.0043fbf0
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [edx]
lea ecx, [eax + esi*4]
call fcn.004289a0
mov ecx, dword [ebp - 0x54]
push 0xffffffffffffffff
mov esi, dword [ecx + 4]
lea eax, [esi + 1]
push eax
call fcn.0043fbf0
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
lea ecx, [eax + esi*4]
call fcn.004289a0
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x30]
test ecx, ecx
jne 0x43bba6
jmp 0x43c015
mov edx, dword [ebp - 0x5c]
push ecx
push str.LIST.ini
lea ecx, [ebp - 0x28]
call fcn.0047e110
add esp, 8
mov esi, eax
mov byte [ebp - 4], 0x12
cmp dword [esi + 0x14], 8
jb 0x43be4a
mov esi, dword [esi]
test esi, esi
jne 0x43be52
xor eax, eax
jmp 0x43be59
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push eax
lea ecx, [ebp - 0x34]
call fcn.00428920
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x14], 8
jb 0x43be78
push dword [ebp - 0x28]
call fcn.006b31f8
add esp, 4
mov esi, dword [ebp - 0x34]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43c028
test al, 0x10
jne 0x43c028
push esi
push ecx
mov edx, str.COUNT
mov ecx, str.GENERAL
call fcn.0047ecd0
mov ecx, eax
add esp, 8
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x43c028
mov eax, 1
mov dword [ebp - 0x38], eax
cmp ecx, eax
jl 0x43c015
push eax
lea eax, [ebp - 0x60]
push str.SKIN_d
push eax
call fcn.0042a0e0
add esp, 4
lea ecx, [ebp - 0x28]
mov edx, str.GENERAL
push esi
push dword [ebp - 0x60]
call fcn.0047ea80
add esp, 0x10
mov edi, eax
mov byte [ebp - 4], 0x13
cmp dword [edi + 0x14], 8
jb 0x43bef8
mov edi, dword [edi]
test edi, edi
jne 0x43bf00
xor eax, eax
jmp 0x43bf07
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
lea ecx, [ebp - 0x44]
call fcn.00428920
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x14], 8
jb 0x43bf26
push dword [ebp - 0x28]
call fcn.006b31f8
add esp, 4
mov ebx, dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
sub esp, 8
mov edx, ebx
push esi
push str.NAME
call fcn.0047ea80
add esp, 0x10
mov edi, eax
mov byte [ebp - 4], 0x14
cmp dword [edi + 0x14], 8
jb 0x43bf4d
mov edi, dword [edi]
test edi, edi
jne 0x43bf55
xor eax, eax
jmp 0x43bf5c
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
lea ecx, [ebp - 0x3c]
call fcn.00428920
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x14], 8
jb 0x43bf7b
push dword [ebp - 0x28]
call fcn.006b31f8
add esp, 4
mov ecx, 0x790eb0
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43bfa8
test dx, dx
je 0x43bfa4
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43bfa8
add eax, 4
add ecx, 4
test dx, dx
jne 0x43bf82
xor eax, eax
jmp 0x43bfad
sbb eax, eax
or eax, 1
test eax, eax
je 0x43c002
mov ecx, dword [ebp - 0x48]
push 0xffffffffffffffff
mov edi, dword [ecx + 4]
lea eax, [edi + 1]
push eax
call fcn.0043fbf0
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
lea ecx, [eax + edi*4]
call fcn.004289a0
mov ecx, dword [ebp - 0x50]
push 0xffffffffffffffff
mov edi, dword [ecx + 4]
lea eax, [edi + 1]
push eax
call fcn.0043fbf0
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [edx]
lea ecx, [eax + edi*4]
call fcn.004289a0
mov ecx, dword [ebp - 0x54]
push 0x790eb0
call fcn.004400a0
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp eax, dword [ebp - 0x30]
jle 0x43bec4
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x48]
xor ecx, ecx
mov edx, 1
cmp dword [eax + 4], ecx
cmovne ecx, edx
mov dword [ebp - 0x38], ecx
mov esi, dword [ebp - 0x64]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0xc0], vtable.Gul::GXmp.0
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0x17
call fcn.00437a50
mov ecx, dword [ebp - 0xa0]
lea eax, [ecx - 0xc]
cmp eax, 0x7e8698
je 0x43c07b
lea eax, [ecx - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43c07b
mov eax, dword [ebp - 0xa0]
add eax, 0xfffffff4
push eax
call fcn.006b31f8
add esp, 4
mov eax, dword [ebp - 0x58]
lea ecx, [eax - 0xc]
cmp ecx, 0x7e8698
je 0x43c0a5
add eax, 0xfffffff4
push eax
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43c0a5
push dword [ebp - 0x30]
call fcn.006b31f8
add esp, 4
mov eax, dword [ebp - 0x60]
lea ecx, [eax - 0xc]
cmp ecx, 0x7e8698
je 0x43c0cf
add eax, 0xfffffff4
push eax
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43c0cf
push dword [ebp - 0x30]
call fcn.006b31f8
add esp, 4
mov eax, dword [ebp - 0x6c]
lea ecx, [eax - 0xc]
cmp ecx, 0x7e8698
je 0x43c0f9
add eax, 0xfffffff4
push eax
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43c0f9
push dword [ebp - 0x30]
call fcn.006b31f8
add esp, 4
lea eax, [edi - 0xc]
cmp eax, 0x7e8698
je 0x43c11a
add edi, 0xfffffff4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43c11a
push edi
call fcn.006b31f8
add esp, 4
lea eax, [ebx - 0xc]
cmp eax, 0x7e8698
je 0x43c13b
add ebx, 0xfffffff4
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43c13b
push ebx
call fcn.006b31f8
add esp, 4
mov eax, dword [ebp - 0x34]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, 0x7e8698
je 0x43c162
lea edi, [eax - 0xc]
push edi
call ebx
test eax, eax
jg 0x43c162
push edi
call fcn.006b31f8
add esp, 4
lea eax, [esi - 0xc]
cmp eax, 0x7e8698
je 0x43c17f
add esi, 0xfffffff4
push esi
call ebx
test eax, eax
jg 0x43c17f
push esi
call fcn.006b31f8
add esp, 4
mov eax, dword [ebp - 0x74]
lea ecx, [eax - 0xc]
cmp ecx, 0x7e8698
je 0x43c1a0
lea esi, [eax - 0xc]
push esi
call ebx
test eax, eax
jg 0x43c1a0
push esi
call fcn.006b31f8
add esp, 4
mov eax, dword [ebp - 0x5c]
lea ecx, [eax - 0xc]
cmp ecx, 0x7e8698
je 0x43c1c1
lea esi, [eax - 0xc]
push esi
call ebx
test eax, eax
jg 0x43c1c1
push esi
call fcn.006b31f8
add esp, 4
mov eax, dword [ebp + 8]
lea ecx, [eax - 0xc]
cmp ecx, 0x7e8698
je 0x43c1e8
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x43c1e8
mov eax, dword [ebp + 8]
add eax, 0xfffffff4
push eax
call fcn.006b31f8
add esp, 4
mov eax, dword [ebp + 0xc]
lea ecx, [eax - 0xc]
cmp ecx, 0x7e8698
je 0x43c20f
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x43c20f
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff4
push eax
call fcn.006b31f8
add esp, 4
mov eax, dword [ebp + 0x10]
lea ecx, [eax - 0xc]
cmp ecx, 0x7e8698
je 0x43c236
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x43c236
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff4
push ecx
call fcn.006b31f8
add esp, 4
mov eax, dword [ebp - 0x38]
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.006b3266
mov esp, ebp
pop ebp
ret