Function at 0x4309b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b1e90
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x4dbe18]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x28], eax
mov dword [esp + 0x60], 0
test eax, eax
je 0x430d6c
mov esi, dword [ebp + 8]
push eax
add esi, 0x48
lea eax, [esp + 0x50]
push eax
mov edi, esi
mov dword [esp + 0x24], esi
call fcn.00431990
mov edi, dword [eax]
mov ebx, dword [eax + 4]
mov ecx, dword [esi + 0x18]
mov eax, dword [esi]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], ecx
test edi, edi
je 0x430a28
cmp edi, eax
je 0x430a2d
call fcn.0048b3f2
cmp ebx, dword [esp + 0x48]
jne 0x430a63
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x60], 0xffffffff
mov eax, dword [esi + 4]
sub eax, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x430a5d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
jmp 0x430d64
test edi, edi
jne 0x430abc
call fcn.0048b3f2
cmp ebx, dword [edi + 0x18]
jne 0x430a76
call fcn.0048b3f2
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push ecx
lea edx, [esp + 0x48]
add edi, 0x6c
push edx
mov byte [esp + 0x1b], 1
call fcn.00431bc0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [edi + 0x18]
mov edi, dword [edi]
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], edx
test ecx, ecx
je 0x430aa9
cmp ecx, edi
je 0x430aae
call fcn.0048b3f2
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x38], eax
jne 0x430ac0
xor al, al
jmp 0x430ac4
mov edi, dword [edi]
jmp 0x430a6c
mov al, byte [esp + 0x13]
mov edi, dword [ebp + 0xc]
mov ecx, dword [edi + 4]
cmp dword [ecx - 0xc], 0
je 0x430d2b
test al, al
je 0x430d21
lea esi, [esp + 0x14]
call fcn.00409c10
mov byte [esp + 0x60], 1
mov esi, dword [esp + 0x14]
test esi, esi
je 0x430d09
push ecx
mov edx, esp
mov dword [esp + 0x24], esp
push edx
mov edi, str.disable_resize
call fcn.00409230
mov eax, dword [ebp + 0xc]
push ecx
mov byte [esp + 0x68], 2
mov edi, dword [eax + 4]
mov ecx, esp
mov dword [esp + 0x20], esp
push ecx
call fcn.00409230
mov byte [esp + 0x68], 3
mov ecx, esi
mov byte [esp + 0x68], 1
call fcn.00409b10
mov edi, eax
mov dword [esp + 0x20], edi
test edi, edi
je 0x430d09
cmp dword [ebx + 0x14], 0
lea eax, [ebx + 0x14]
je 0x430b93
movzx edx, byte [ebx + 0x1c]
push edx
push ecx
mov esi, esp
mov dword [esp + 0x28], esp
call fcn.0041aa50
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ebx + 0x20]
push eax
push edi
push ecx
mov ecx, dword [ebx + 0x18]
call fcn.00430420
mov edx, dword [ebx + 0x18]
push 2
push edx
push ecx
lea eax, [ebx + 0x14]
mov esi, esp
mov dword [esp + 0x2c], esp
call fcn.0041aa50
xor ecx, ecx
mov edx, edi
call fcn.0042e2e0
add esp, 0xc
jmp 0x430d05
lea esi, [esp + 0x18]
call fcn.004036d0
mov byte [esp + 0x60], 4
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
mov edx, dword [ebx + 0x10]
push eax
push ecx
push edx
push str._p_s_u
mov edi, esi
call fcn.00406770
mov esi, dword [ebp + 8]
add esp, 0x10
lea eax, [esp + 0x2c]
push eax
add esi, 0x28
push esi
mov ebx, edi
call fcn.00431440
mov ecx, dword [esi + 0x18]
mov edx, dword [esi]
lea esi, [esp + 0x44]
lea edi, [esp + 0x2c]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], edx
call fcn.00431cb0
test al, al
je 0x430cf8
mov esi, edi
call fcn.0041ab10
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x24]
push ecx
call eax
call fcn.0041ab10
mov ebx, dword [esp + 0x20]
mov dword [eax + 4], ebx
call fcn.0041ab10
mov edi, eax
add edi, 8
lea esi, [esp + 0x34]
call fcn.00468930
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea esi, [esp + 0x2c]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
call fcn.0041ab10
mov edi, eax
add edi, 8
lea esi, [esp + 0x20]
call fcn.00439550
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea esi, [esp + 0x44]
lea edi, [esp + 0x34]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
call fcn.00431cb0
test al, al
je 0x430cf8
lea ecx, [ecx]
lea esi, [esp + 0x34]
call fcn.00431c50
mov esi, dword [eax]
mov dword [esp + 0x20], esi
test esi, esi
je 0x430c8b
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov byte [esp + 0x60], 5
test esi, esi
je 0x430d83
mov eax, esi
call fcn.004338f0
cmp eax, 1
jbe 0x430ccd
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 0x18]
push 1
push eax
push ecx
mov eax, esp
mov dword [eax], esi
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov dword [esp + 0x38], esp
push esi
xor edi, edi
call edx
mov ecx, edi
mov edx, ebx
call fcn.0042e2e0
add esp, 0xc
mov byte [esp + 0x60], 4
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
lea esi, [esp + 0x34]
call fcn.00431c80
lea esi, [esp + 0x44]
lea edi, [esp + 0x34]
call fcn.00431cb0
test al, al
jne 0x430c70
lea ecx, [esp + 0x18]
call fcn.00403710
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x14]
mov byte [esp + 0x60], 0
test esi, esi
je 0x430d1a
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
mov edi, dword [ebp + 0xc]
mov esi, dword [esp + 0x1c]
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x3c]
push ebx
push ecx
lea edx, [esp + 0x54]
push edx
push esi
call fcn.00431620
mov dword [esp + 0x60], 0xffffffff
mov eax, dword [edi + 4]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430d63
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
call fcn.00480ff0
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x80004003
call fcn.004a91a0
int3