Function at 0x4189d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x477e82
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [0x49afa0]
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x6c], ebx
call fcn.0046989e
mov dword [ebp - 0xa0], vtable.CFileException.0
call fcn.0046990a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x90], eax
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], 0xffffffff
call fcn.004026a0
mov dword [ebp - 4], 1
call fcn.0046990a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x70], eax
mov eax, dword [esi + 8]
lea edi, [esi + 8]
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 2
call fcn.004050d0
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x70]
push 0x9b
push edx
mov byte [ebp - 4], 3
call fcn.00402080
mov eax, dword [ebp - 0x68]
add eax, 0xfffffff0
add esp, 0x14
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418ab1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
call fcn.0046990a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x68], eax
mov eax, dword [esi + 0xc]
push eax
lea ecx, [ebp - 0x68]
push 0x47dca0
push ecx
mov byte [ebp - 4], 4
call fcn.004029c0
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0x74]
push edi
push eax
call fcn.00404f60
add esp, 0x18
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 5
call fcn.00404df0
mov eax, dword [ebp - 0x74]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418b18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [edi]
mov ecx, dword [esi + 0x14]
push ebx
mov ebx, dword [ebp + 8]
lea edx, [ebp - 0xa0]
push edx
mov edx, dword [ebp - 0x70]
push ebx
push edx
mov edx, dword [ebp - 0x68]
push edx
push eax
push ecx
mov ecx, esi
call fcn.00403100
test al, al
jne 0x418b9c
push 0x18
call fcn.00468cd5
mov edi, eax
add esp, 4
mov dword [ebp - 0x78], edi
test edi, edi
mov byte [ebp - 4], 6
je 0x418b7c
mov esi, dword [esi + 0x14]
lea eax, [ebp + 0xc]
push esi
push eax
call fcn.004050d0
add esp, 8
mov eax, dword [eax]
push eax
mov ecx, edi
mov byte [ebp - 4], 7
mov dword [ebp - 0x6c], 1
call fcn.00405f10
jmp 0x418b7e
xor eax, eax
push 0x48e8fc
lea ecx, [ebp - 0x8c]
push ecx
mov dword [ebp - 4], 8
mov dword [ebp - 0x8c], eax
call fcn.00449f2c
lea ecx, [ebp - 0x64]
call fcn.00434a80
mov eax, dword [edi]
push 1
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 9
call fcn.004359f0
test al, al
jne 0x418c23
push 0x10
call fcn.00468cd5
mov esi, eax
add esp, 4
mov dword [ebp - 0x78], esi
test esi, esi
mov byte [ebp - 4], 0xa
je 0x418c03
mov edi, dword [edi]
lea edx, [ebp + 0xc]
push edi
push edx
call fcn.004050d0
add esp, 8
cmp dword [ebp - 0x34], 0x10
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x6c], 2
jae 0x418bf6
lea ecx, [ebp - 0x48]
mov eax, dword [eax]
push ecx
push eax
mov ecx, esi
call fcn.00417b00
jmp 0x418c05
xor eax, eax
mov dword [ebp - 0x88], eax
push 0x490718
lea eax, [ebp - 0x88]
push eax
mov dword [ebp - 4], 0xc
call fcn.00449f2c
mov ecx, dword [ebp - 0x64]
cmp ecx, dword [esi + 0xc]
mov byte [ebp - 4], 0xd
je 0x418ccf
mov eax, dword [edi]
push eax
lea edx, [ebp + 0xc]
push edx
call fcn.004050d0
add esp, 8
mov eax, dword [eax]
push eax
push 0xa3
push ebx
mov byte [ebp - 4], 0xe
call fcn.00417940
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 0xc
mov byte [ebp - 4], 0xd
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418c78
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0xc
call fcn.00468cd5
mov esi, eax
add esp, 4
mov dword [ebp - 0x74], esi
test esi, esi
mov byte [ebp - 4], 0xf
je 0x418cb5
mov edi, dword [edi]
lea eax, [ebp + 0xc]
push edi
push eax
call fcn.004050d0
add esp, 8
mov eax, dword [eax]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x6c], 4
call fcn.00417bc0
jmp 0x418cb7
xor eax, eax
push 0x490708
lea ecx, [ebp - 0x7c]
push ecx
mov dword [ebp - 4], 0x11
mov dword [ebp - 0x7c], eax
call fcn.00449f2c
mov al, byte [ebp + 0xc]
test al, al
je 0x418dec
mov eax, dword [edi]
push eax
lea edx, [ebp + 0xc]
push edx
call fcn.004050d0
add esp, 8
mov edx, dword [eax]
mov ecx, dword [ebx]
push edx
push 0x9f
push ebx
mov byte [ebp - 4], 0x12
call dword [ecx + 0x18]
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
add esp, 0xc
mov byte [ebp - 4], 0xd
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418d1f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add esi, 4
push esi
lea ecx, [ebp - 0x64]
call fcn.00431930
test al, al
jne 0x418dec
mov eax, dword [edi]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.004050d0
add esp, 8
mov ecx, dword [eax]
push ecx
push 0xa2
push ebx
mov byte [ebp - 4], 0x13
call fcn.00417940
add esp, 0xc
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xd
call fcn.004017e0
push 0xc
call fcn.00468cd5
mov esi, eax
add esp, 4
mov dword [ebp - 0x74], esi
test esi, esi
mov byte [ebp - 4], 0x14
je 0x418da0
mov edi, dword [edi]
lea edx, [ebp + 0xc]
push edi
push edx
call fcn.004050d0
add esp, 8
mov eax, dword [eax]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x6c], 8
call fcn.00417bc0
jmp 0x418da2
xor eax, eax
mov dword [ebp - 0x84], eax
push 0x490708
lea eax, [ebp - 0x84]
push eax
mov dword [ebp - 4], 0x16
call fcn.00449f2c
lea ecx, [ebp - 0x64]
call fcn.00434b10
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0xa4]
push 0x48e244
lea ecx, [ebp - 0x80]
push ecx
mov dword [ebp - 0x80], eax
call fcn.00449f2c
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 4
call fcn.00434df0
mov eax, dword [ebp - 0x68]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x418e1c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x70]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418e3d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x90]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0xa0], vtable.CFileException.0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418e6e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.004497f7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8