Function at 0x49ee20
Capabilities:
Delete file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x519670
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56a260]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
xor edi, edi
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], edi
call fcn.0049dbb0
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edi
push 0x543e10
lea ecx, [esp + 0x1c]
mov dword [esp + 0x78], edi
call fcn.00401f50
mov edx, dword [esp + 0x7c]
lea eax, [esp + 0x18]
push eax
push edi
lea ecx, [esp + 0x38]
push ecx
push edx
mov byte [esp + 0x84], 1
call fcn.0049ea60
mov eax, dword [esp + 0x28]
add esp, 0x10
cmp eax, edi
mov byte [esp + 0x74], 0
je 0x49eead
sub eax, 8
push eax
mov dword [esp + 0x1c], eax
call fcn.004d37ab
add esp, 4
lea eax, [esp + 0x20]
push eax
call fcn.004f3e1d
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x38]
imul eax, eax, 0x15180
cdq
add esp, 4
sub dword [esp + 0x20], eax
sbb dword [esp + 0x24], edx
mov eax, dword [ecx]
lea ecx, [esp + 0x30]
mov ebx, eax
mov ebp, ecx
mov dword [esp + 0x2c], ebx
cmp ebp, edi
mov esi, dword [esp + 0x34]
je 0x49eef2
lea edx, [esp + 0x30]
cmp ebp, edx
je 0x49eef7
call fcn.004f2608
cmp ebx, esi
je 0x49f097
mov eax, dword [esp + 0x7c]
push 0x54e4a8
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0040bf20
add esp, 0xc
mov esi, eax
cmp ebp, edi
mov byte [esp + 0x74], 2
jne 0x49ef26
call fcn.004f2608
cmp ebx, dword [ebp + 4]
jne 0x49ef30
call fcn.004f2608
lea edx, [ebx + 0xc]
push edx
lea eax, [esp + 0x84]
push esi
push eax
call fcn.0040bfd0
add esp, 0xc
mov eax, dword [esp + 0x18]
cmp eax, edi
mov byte [esp + 0x74], 4
je 0x49ef66
sub eax, 8
push eax
mov dword [esp + 0x1c], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x18], edi
mov edx, dword [esp + 0x80]
lea ecx, [esp + 0x3c]
push ecx
push edx
call fcn.004f76b4
add esp, 8
test eax, eax
jne 0x49f056
mov ecx, dword [esp + 0x60]
cmp ecx, edi
jl 0x49f056
mov eax, dword [esp + 0x5c]
jg 0x49ef9d
cmp eax, edi
jbe 0x49f056
cmp ecx, dword [esp + 0x24]
jg 0x49f056
jl 0x49efb3
cmp eax, dword [esp + 0x20]
jae 0x49f056
mov esi, dword [esp + 0x84]
mov ecx, esi
call fcn.004020f0
test eax, eax
je 0x49f016
push 1
push 0x2e
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x8c]
call fcn.0041a470
or dword [esp + 0x14], 1
mov ecx, dword [esi]
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x49f009
cmp dx, di
je 0x49f005
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x49f009
add eax, 4
add ecx, 4
cmp dx, di
jne 0x49efe3
xor eax, eax
jmp 0x49f00e
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x49f016
xor bl, bl
jmp 0x49f018
mov bl, 1
test byte [esp + 0x14], 1
je 0x49f040
mov eax, dword [esp + 0x1c]
and dword [esp + 0x14], 0xfffffffe
cmp eax, edi
je 0x49f040
sub eax, 8
push eax
mov dword [esp + 0x20], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x1c], edi
test bl, bl
je 0x49f052
mov ecx, dword [esp + 0x80]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x80]
cmp eax, edi
mov byte [esp + 0x74], 0
je 0x49f080
sub eax, 8
push eax
mov dword [esp + 0x84], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x80], edi
cmp ebx, dword [ebp + 4]
jne 0x49f08a
call fcn.004f2608
mov edx, dword [ebx]
mov dword [esp + 0x2c], edx
mov ebx, edx
jmp 0x49eee2
lea ecx, [esp + 0x30]
call fcn.0049e8f0
mov eax, dword [esp + 0x34]
push eax
call fcn.004d37ab
add esp, 4
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret