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

Disassembly:
push 0xffffffffffffffff
push 0x57b303
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], 0x589960
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.0051ba80
mov eax, dword [esi + 0x64]
mov dword [esp + 0x14], edi
cmp eax, edi
jle 0x493fad
mov ebp, dword [esp + 0x40]
xor ebx, ebx
jmp 0x493e10
xor edi, edi
mov eax, dword [esi + 0x60]
add eax, ebx
cmp dword [eax + 0x2d0], edi
je 0x493ebd
add eax, 0x44
lea ecx, [esp + 0x28]
push eax
call fcn.0055969a
lea edi, [esi + 0x70]
push eax
lea ecx, [esp + 0x28]
push edi
push ecx
mov byte [esp + 0x9c], 1
call fcn.0055985b
mov eax, dword [eax]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call ebp
lea ecx, [esp + 0x24]
call fcn.0055962c
lea ecx, [esp + 0x28]
mov byte [esp + 0x90], 0
call fcn.0055962c
mov edx, dword [esi + 0x60]
lea ecx, [esp + 0x30]
lea eax, [ebx + edx + 0x148]
push eax
call fcn.0055969a
push eax
lea ecx, [esp + 0x30]
push edi
push ecx
mov byte [esp + 0x9c], 2
call fcn.0055985b
mov eax, dword [eax]
push eax
call ebp
lea ecx, [esp + 0x2c]
call fcn.0055962c
lea ecx, [esp + 0x30]
mov byte [esp + 0x90], 0
call fcn.0055962c
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 0x493ede
mov dword [esp + 0x18], 1
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x493f24
lea edi, [eax + 0x28c]
add eax, 4
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x493f13
test cl, cl
je 0x493f0f
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x493f13
add eax, 2
add edi, 2
test cl, cl
jne 0x493eef
xor eax, eax
jmp 0x493f18
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x493f24
mov dword [esp + 0x1c], 1
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x493f34
mov eax, dword [esp + 0x18]
test eax, eax
je 0x493f7d
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 0x493f63
mov ecx, dword [esp + 0x3c]
cmp dword [ecx], edi
je 0x493f5f
inc eax
add ecx, 4
cmp eax, ebp
jl 0x493f51
jmp 0x493f63
cmp eax, ebp
jl 0x493f7d
lea ecx, [ebp + 1]
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x40]
call fcn.0051ba80
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 0x493e0e
mov eax, dword [esp + 0x18]
xor edi, edi
cmp eax, edi
jne 0x493fd9
cmp dword [esp + 0x1c], edi
jne 0x493fd9
cmp dword [esp + 0x20], edi
jne 0x493fd9
cmp dword [esp + 0x98], edi
je 0x493fc0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc4]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x38], 0x589960
cmp eax, edi
je 0x49438e
jmp 0x494385
mov ecx, dword [0x5e8e38]
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.005598c1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x94], 4
call fcn.00559765
lea ecx, [esp + 0x34]
mov byte [esp + 0x90], 3
call fcn.0055962c
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.0043cbb0
add esp, 4
test al, al
je 0x4942ed
mov eax, dword [0x5e8e38]
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.004987d0
mov dword [esp + 0x74], ebp
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x4c]
push edx
mov byte [esp + 0x94], 9
call fcn.00498850
push 0x5dad14
lea ecx, [esp + 0x50]
call fcn.00498bc0
test al, al
je 0x49423e
lea ecx, [esp + 0x4c]
call fcn.004990a0
mov eax, dword [esp + 0x58]
push edi
push str.imagecount
push eax
lea ecx, [esp + 0x58]
call fcn.0049aca0
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.0049aca0
lea ecx, [esp + 0x4c]
call fcn.004990a0
push str.FACE
lea ecx, [esp + 0x50]
call fcn.00498b50
test al, al
je 0x494127
lea ecx, [esp + 0x4c]
call fcn.00499140
push str.FACE
lea ecx, [esp + 0x50]
call fcn.00498b50
test al, al
jne 0x49410c
mov eax, dword [esi + 0x64]
test eax, eax
jle 0x49422a
xor edi, edi
mov bl, 0xa
mov edx, dword [esi + 0x60]
mov eax, dword [edi + edx + 0x2d0]
test eax, eax
jne 0x494218
push 0
push 0
push str.FACE
lea ecx, [esp + 0x58]
call fcn.0049be50
mov eax, dword [0x5e8e38]
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 0x5d68b0
push eax
call fcn.00554dd4
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x64]
add esp, 0xc
push ecx
push 0x5dada8
push edx
lea ecx, [esp + 0x58]
call fcn.0049ace0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x58]
push eax
push str.shortcut
push ecx
lea ecx, [esp + 0x58]
call fcn.0049ace0
mov edx, dword [esi + 0x60]
lea ecx, [esp + 0x4c]
lea eax, [edi + edx + 4]
push eax
mov eax, dword [esp + 0x5c]
push 0x5dad98
push eax
call fcn.0049ace0
mov ecx, dword [esi + 0x60]
mov edx, dword [esp + 0x58]
lea eax, [edi + ecx + 0x44]
lea ecx, [esp + 0x4c]
push eax
push 0x5dad94
push edx
call fcn.0049ace0
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.0049ace0
lea ecx, [esp + 0x14]
mov byte [esp + 0x90], 9
call fcn.0055962c
mov eax, dword [esi + 0x64]
inc ebp
add edi, 0x2d4
cmp ebp, eax
jl 0x494136
lea ecx, [esp + 0x4c]
call fcn.004990e0
lea ecx, [esp + 0x4c]
call fcn.004990e0
xor ebp, ebp
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x4c]
push edx
call fcn.004989c0
mov eax, dword [esp + 0x80]
xor edi, edi
dec eax
mov byte [esp + 0x90], 0xc
sar eax, 0x10
inc eax
test eax, eax
jle 0x494287
mov ecx, dword [esp + 0x7c]
mov eax, dword [ecx + edi*4]
push eax
call fcn.00558a4c
mov edx, dword [esp + 0x84]
add esp, 4
inc edi
dec edx
sar edx, 0x10
inc edx
cmp edi, edx
jl 0x494266
mov eax, dword [esp + 0x7c]
cmp eax, ebp
je 0x494298
push eax
call fcn.00558a4c
add esp, 4
mov eax, dword [esp + 0x78]
cmp eax, ebp
je 0x4942c5
xor edi, edi
mov ecx, dword [eax + edi]
cmp ecx, ebp
je 0x4942b4
push 3
call fcn.00493d40
mov eax, dword [esp + 0x78]
add edi, 4
cmp edi, 0x1c
jl 0x4942a2
push eax
call fcn.00558a4c
add esp, 4
lea ecx, [esp + 0x50]
mov dword [esp + 0x78], ebp
mov byte [esp + 0x90], 0xb
call fcn.0055962c
lea ecx, [esp + 0x4c]
mov byte [esp + 0x90], 3
call fcn.0055962c
jmp 0x4942ef
xor ebp, ebp
mov eax, dword [esp + 0x40]
xor edi, edi
cmp eax, ebp
jle 0x494351
mov bl, 0xd
mov eax, dword [0x5e8e38]
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.00554dd4
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.0055962c
mov eax, dword [esp + 0x40]
inc edi
cmp edi, eax
jl 0x4942fb
xor ebp, ebp
cmp dword [esp + 0x98], ebp
je 0x494364
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc4]
lea ecx, [esp + 0x10]
mov byte [esp + 0x90], 0
call fcn.0055962c
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x38], 0x589960
cmp eax, ebp
je 0x49438e
push eax
call fcn.00558a4c
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