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

Disassembly:
push 0xffffffffffffffff
push 0x58ad13
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push ebp
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x38], 0x5999c4
mov dword [esp + 0x3c], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], edi
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x40]
mov dword [esp + 0x98], edi
call fcn.004ec340
mov eax, dword [esi + 0x64]
mov dword [esp + 0x14], edi
cmp eax, edi
jle 0x49a43d
mov ebp, dword [esp + 0x40]
xor ebx, ebx
jmp 0x49a2a0
xor edi, edi
mov eax, dword [esi + 0x60]
add eax, ebx
cmp dword [eax + 0x2d0], edi
je 0x49a34d
add eax, 0x44
lea ecx, [esp + 0x28]
push eax
call fcn.0056877a
lea edi, [esi + 0x70]
push eax
lea ecx, [esp + 0x28]
push edi
push ecx
mov byte [esp + 0x9c], 1
call fcn.0056893b
mov eax, dword [eax]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call ebp
lea ecx, [esp + 0x24]
call fcn.0056870c
lea ecx, [esp + 0x28]
mov byte [esp + 0x90], 0
call fcn.0056870c
mov edx, dword [esi + 0x60]
lea ecx, [esp + 0x30]
lea eax, [ebx + edx + 0x148]
push eax
call fcn.0056877a
push eax
lea ecx, [esp + 0x30]
push edi
push ecx
mov byte [esp + 0x9c], 2
call fcn.0056893b
mov eax, dword [eax]
push eax
call ebp
lea ecx, [esp + 0x2c]
call fcn.0056870c
lea ecx, [esp + 0x30]
mov byte [esp + 0x90], 0
call fcn.0056870c
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x20], 1
mov edx, dword [esi + 0x60]
mov ecx, dword [ebx + edx + 0x2cc]
lea eax, [ebx + edx]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x34], ecx
cmp ecx, edx
je 0x49a36e
mov dword [esp + 0x18], 1
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x49a3b4
lea edi, [eax + 0x28c]
add eax, 4
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x49a3a3
test cl, cl
je 0x49a39f
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x49a3a3
add eax, 2
add edi, 2
test cl, cl
jne 0x49a37f
xor eax, eax
jmp 0x49a3a8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x49a3b4
mov dword [esp + 0x1c], 1
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x49a3c4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x49a40d
mov eax, dword [esp + 0x34]
add eax, 0x60
cdq
and edx, 0x7f
add eax, edx
mov edi, eax
xor eax, eax
sar edi, 7
inc edi
test ebp, ebp
jle 0x49a3f3
mov ecx, dword [esp + 0x3c]
cmp dword [ecx], edi
je 0x49a3ef
inc eax
add ecx, 4
cmp eax, ebp
jl 0x49a3e1
jmp 0x49a3f3
cmp eax, ebp
jl 0x49a40d
lea ecx, [ebp + 1]
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x40]
call fcn.004ec340
mov edx, dword [esp + 0x3c]
mov dword [edx + ebp*4], edi
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x64]
inc eax
add ebx, 0x2d4
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x49a29e
mov eax, dword [esp + 0x18]
xor edi, edi
cmp eax, edi
jne 0x49a469
cmp dword [esp + 0x1c], edi
jne 0x49a469
cmp dword [esp + 0x20], edi
jne 0x49a469
cmp dword [esp + 0x98], edi
je 0x49a450
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc4]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x38], 0x5999c4
cmp eax, edi
je 0x49a81e
jmp 0x49a815
mov ecx, dword [0x5f9f88]
mov dword [esp + 0x10], ecx
lea eax, [esi + 0x70]
push str.face.xml
lea edx, [esp + 0x38]
push eax
push edx
mov byte [esp + 0x9c], 3
call fcn.005689a1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x94], 4
call fcn.00568845
lea ecx, [esp + 0x34]
mov byte [esp + 0x90], 3
call fcn.0056870c
mov eax, dword [esi + 0x288]
push edi
push edi
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x10]
mov edi, eax
push ecx
call fcn.0043ea50
add esp, 4
test al, al
je 0x49a77d
mov eax, dword [0x5f9f88]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
xor ebp, ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x84], ebp
mov dword [esp + 0x80], ebp
mov dword [esp + 0x7c], ebp
push ebp
lea ecx, [esp + 0x50]
mov byte [esp + 0x94], 8
call fcn.0049ec50
mov dword [esp + 0x74], ebp
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x4c]
push edx
mov byte [esp + 0x94], 9
call fcn.0049ecd0
push 0x5ebdd8
lea ecx, [esp + 0x50]
call fcn.0049f040
test al, al
je 0x49a6ce
lea ecx, [esp + 0x4c]
call fcn.0049f520
mov eax, dword [esp + 0x58]
push edi
push str.imagecount
push eax
lea ecx, [esp + 0x58]
call fcn.004a1120
lea eax, [edi + 0x5f]
mov ecx, dword [esp + 0x58]
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
inc eax
push eax
push str.pagecount
push ecx
lea ecx, [esp + 0x58]
call fcn.004a1120
lea ecx, [esp + 0x4c]
call fcn.0049f520
push str.FACE
lea ecx, [esp + 0x50]
call fcn.0049efd0
test al, al
je 0x49a5b7
lea ecx, [esp + 0x4c]
call fcn.0049f5c0
push str.FACE
lea ecx, [esp + 0x50]
call fcn.0049efd0
test al, al
jne 0x49a59c
mov eax, dword [esi + 0x64]
test eax, eax
jle 0x49a6ba
xor edi, edi
mov bl, 0xa
mov edx, dword [esi + 0x60]
mov eax, dword [edi + edx + 0x2d0]
test eax, eax
jne 0x49a6a8
push 0
push 0
push str.FACE
lea ecx, [esp + 0x58]
call fcn.004a22d0
mov eax, dword [0x5f9f88]
mov dword [esp + 0x14], eax
mov ecx, dword [esi + 0x60]
lea eax, [esp + 0x14]
mov byte [esp + 0x90], bl
mov edx, dword [edi + ecx]
push edx
push 0x5e78b0
push eax
call fcn.00563eb4
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x64]
add esp, 0xc
push ecx
push 0x5ebe6c
push edx
lea ecx, [esp + 0x58]
call fcn.004a1160
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x58]
push eax
push str.shortcut
push ecx
lea ecx, [esp + 0x58]
call fcn.004a1160
mov edx, dword [esi + 0x60]
lea ecx, [esp + 0x4c]
lea eax, [edi + edx + 4]
push eax
mov eax, dword [esp + 0x5c]
push 0x5ebe5c
push eax
call fcn.004a1160
mov ecx, dword [esi + 0x60]
mov edx, dword [esp + 0x58]
lea eax, [edi + ecx + 0x44]
lea ecx, [esp + 0x4c]
push eax
push 0x5ebe58
push edx
call fcn.004a1160
mov eax, dword [esi + 0x60]
mov ecx, dword [esp + 0x58]
lea eax, [edi + eax + 0x148]
push eax
push str.fixed
push ecx
lea ecx, [esp + 0x58]
call fcn.004a1160
lea ecx, [esp + 0x14]
mov byte [esp + 0x90], 9
call fcn.0056870c
mov eax, dword [esi + 0x64]
inc ebp
add edi, 0x2d4
cmp ebp, eax
jl 0x49a5c6
lea ecx, [esp + 0x4c]
call fcn.0049f560
lea ecx, [esp + 0x4c]
call fcn.0049f560
xor ebp, ebp
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x4c]
push edx
call fcn.0049ee40
mov eax, dword [esp + 0x80]
xor edi, edi
dec eax
mov byte [esp + 0x90], 0xc
sar eax, 0x10
inc eax
test eax, eax
jle 0x49a717
mov ecx, dword [esp + 0x7c]
mov eax, dword [ecx + edi*4]
push eax
call fcn.00567b2c
mov edx, dword [esp + 0x84]
add esp, 4
inc edi
dec edx
sar edx, 0x10
inc edx
cmp edi, edx
jl 0x49a6f6
mov eax, dword [esp + 0x7c]
cmp eax, ebp
je 0x49a728
push eax
call fcn.00567b2c
add esp, 4
mov eax, dword [esp + 0x78]
cmp eax, ebp
je 0x49a755
xor edi, edi
mov ecx, dword [eax + edi]
cmp ecx, ebp
je 0x49a744
push 3
call fcn.0049a1d0
mov eax, dword [esp + 0x78]
add edi, 4
cmp edi, 0x1c
jl 0x49a732
push eax
call fcn.00567b2c
add esp, 4
lea ecx, [esp + 0x50]
mov dword [esp + 0x78], ebp
mov byte [esp + 0x90], 0xb
call fcn.0056870c
lea ecx, [esp + 0x4c]
mov byte [esp + 0x90], 3
call fcn.0056870c
jmp 0x49a77f
xor ebp, ebp
mov eax, dword [esp + 0x40]
xor edi, edi
cmp eax, ebp
jle 0x49a7e1
mov bl, 0xd
mov eax, dword [0x5f9f88]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi + 0x70]
mov byte [esp + 0x90], bl
mov edx, dword [ecx + edi*4]
lea ecx, [esp + 0x20]
dec edx
push edx
push eax
push str._sCachePage_d.bmp
push ecx
call fcn.00563eb4
mov edx, dword [esp + 0x30]
add esp, 0x10
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x20]
mov byte [esp + 0x90], 3
call fcn.0056870c
mov eax, dword [esp + 0x40]
inc edi
cmp edi, eax
jl 0x49a78b
xor ebp, ebp
cmp dword [esp + 0x98], ebp
je 0x49a7f4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc4]
lea ecx, [esp + 0x10]
mov byte [esp + 0x90], 0
call fcn.0056870c
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x38], 0x5999c4
cmp eax, ebp
je 0x49a81e
push eax
call fcn.00567b2c
add esp, 4
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x84
ret 4