Function at 0x42fb10
Capabilities:
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x486361
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b7b70]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x17], 0
call fcn.0043dc5e
mov edi, dword [esp + 0xd8]
xor esi, esi
push esi
push esi
push edi
lea ecx, [esp + 0x34]
mov dword [esp + 0xdc], esi
call fcn.0043e05b
test eax, eax
jne 0x42fbe3
push 3
lea eax, [esp + 0x4c]
push edi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], eax
call fcn.00417830
sub esp, 0x84
mov edi, esp
mov ecx, 0x21
lea esi, [esp + 0xc8]
push str.error_open_ReadODMFileContent__s...
mov byte [esp + 0x158], 1
rep movsd dword es:[edi], dword [esi]
call fcn.00424af0
mov eax, dword [esp + 0xcc]
lea ecx, [esp + 0xd0]
add esp, 0x88
cmp eax, ecx
je 0x42fbc8
push eax
call fcn.00460675
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0xd0], 0xffffffff
call fcn.0043dd39
xor al, al
jmp 0x43004d
push esi
push esi
push 0x8af
lea ecx, [esp + 0x34]
call fcn.0043d9e1
push 8
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x30]
call fcn.0043d952
cmp eax, 8
jne 0x42fc40
mov ebp, 0x64
lea ecx, [ecx]
cmp dword [esp + 0x38], ebp
je 0x42fcb3
mov eax, dword [esp + 0x3c]
push 1
push esi
push eax
lea ecx, [esp + 0x34]
call fcn.0043d9e1
push 8
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x30]
call fcn.0043d952
cmp eax, 8
je 0x42fc10
push 3
lea edx, [esp + 0x4c]
push edi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], edx
call fcn.00417830
sub esp, 0x84
mov edi, esp
mov ecx, 0x21
lea esi, [esp + 0xc8]
push 0x4937c8
mov byte [esp + 0x158], 2
rep movsd dword es:[edi], dword [esi]
call fcn.00424af0
mov eax, dword [esp + 0xcc]
lea ecx, [esp + 0xd0]
add esp, 0x88
mov byte [esp + 0xd0], 0
cmp eax, ecx
je 0x42fca5
push eax
call fcn.00460675
add esp, 4
lea ecx, [esp + 0x28]
call fcn.0043dbf8
jmp 0x42fbc8
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0xdc]
push ebp
push esi
call fcn.0042f120
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov ebx, eax
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
add esp, 8
cmp ebx, eax
jb 0x42fcea
call fcn.0046274f
mov ecx, dword [esi + 0xc]
mov eax, ebx
imul eax, eax, 0x216
mov dword [esp + 0x40], eax
cmp dword [eax + ecx], ebp
jne 0x42feb6
mov edi, dword [esp + 0x3c]
push edi
mov dword [esp + 0x1c], edi
call fcn.00460752
mov ebp, eax
add esp, 4
mov dword [esp + 0x20], ebp
test ebp, ebp
jne 0x42fdde
push 0x4000000
call fcn.00460752
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 1
test eax, eax
je 0x42fec0
push ebx
mov ecx, esi
call fcn.0042f020
add eax, 0xc
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push ebx
mov ecx, esi
call fcn.0042f020
add eax, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42fd67
sub eax, edx
sar eax, 1
push ebx
mov ecx, esi
mov ebp, eax
call fcn.0042f020
cmp word [eax + ebp*2 + 0xa], 0x5c
je 0x42fd9f
push 0x49bcb8
push ebx
mov ecx, esi
call fcn.0042f020
add eax, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push ebx
mov ecx, esi
call fcn.0042f020
add eax, 0xc
push eax
push str._s_x08.tmp
push ebx
mov ecx, esi
call fcn.0042f020
add eax, 0xc
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ebp, dword [esp + 0x30]
add esp, 0x10
test edi, edi
jbe 0x42feb6
mov dword [esp + 0x1c], ebp
jmp 0x42fe0a
push edi
push 0
push ebp
call fcn.00460290
add esp, 0xc
push ebx
mov ecx, esi
call fcn.0042f020
push ebx
mov ecx, esi
mov dword [eax + 4], ebp
call fcn.0042f020
mov dword [eax + 8], edi
jmp 0x42fdd0
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
cmp edi, 0x4000000
jb 0x42fe17
mov edi, 0x4000000
cmp dword [esp + 0x24], 0
jne 0x42fe22
mov ebp, dword [esp + 0x1c]
push edi
push ebp
lea ecx, [esp + 0x30]
call fcn.0043d952
mov edx, dword [esp + 0xe0]
push 0x20
push edx
push edi
push ebp
call fcn.004372b0
add esp, 0x10
cmp dword [esp + 0x24], 0
je 0x42fe80
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x42fe68
call fcn.0046274f
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x40]
push 0
push edi
lea eax, [edx + ecx + 0xc]
push ebp
push eax
call fcn.0042eb50
add esp, 0x10
mov eax, dword [esp + 0xe4]
sub dword [esp + 0x18], edi
add dword [esp + 0x1c], 0x4000000
test eax, eax
je 0x42feab
mov ecx, dword [esp + 0xe8]
push ecx
push edi
push 0
call eax
add esp, 0xc
test al, al
je 0x42fec0
cmp dword [esp + 0x18], 0
ja 0x42fe02
mov byte [esp + 0x17], 1
jmp 0x43002c
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
xor edi, edi
add eax, edx
je 0x43002c
xor ebp, ebp
cmp edi, eax
jb 0x42feea
call fcn.0046274f
mov eax, dword [esi + 0xc]
xor ebx, ebx
cmp dword [eax + ebp + 4], ebx
je 0x42ff24
mov ecx, dword [esi + 0x10]
sub ecx, eax
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x42ff14
call fcn.0046274f
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx + ebp + 4]
push edx
call fcn.00460675
add esp, 4
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x42ff44
call fcn.0046274f
mov eax, dword [esi + 0xc]
add eax, ebp
add eax, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x42ff85
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x42ff77
call fcn.0046274f
mov edx, dword [esi + 0xc]
lea eax, [edx + ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x42ffa5
call fcn.0046274f
mov edx, dword [esi + 0xc]
push 0x49c110
lea eax, [edx + ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x42ffd8
call fcn.0046274f
mov edx, dword [esi + 0xc]
mov dword [edx + ebp + 4], ebx
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x42ffff
call fcn.0046274f
mov ecx, dword [esi + 0xc]
mov dword [ecx + ebp + 8], ebx
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x7aba01eb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
add ebp, 0x216
cmp edi, eax
jb 0x42feea
lea ecx, [esp + 0x28]
call fcn.0043dbf8
lea ecx, [esp + 0x28]
mov dword [esp + 0xd0], 0xffffffff
call fcn.0043dd39
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc0
ret