Function at 0x42e890
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
mov eax, dword [0x460a10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x254], eax
test ebx, ebx
je 0x42e90b
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x108]
push eax
push 0
push 0x446228
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0
lea eax, [ebp - 0x108]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x42e93a
lea esi, [ebp - 0x108]
mov dword [ebp - 0x250], esi
lea eax, [ebp - 0x27c]
push eax
push 2
push esi
call fcn.0042f860
add esp, 0xc
mov dword [ebp - 0x258], eax
test eax, eax
jne 0x42e94c
test ebx, ebx
je 0x42e93a
lea eax, [ebp - 0x108]
push eax
call fcn.004324fd
add esp, 4
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004327ee
mov esp, ebp
pop ebp
ret
mov esi, eax
push edi
mov ecx, 0xf
lea edi, [ebp - 0x24c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov eax, dword [ebp - 0x23a]
add eax, 0x1f
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
imul eax, dword [ebp - 0x236]
shl eax, 2
push eax
push dword [ebp - 0x250]
push str.__processing_image_file__s____lu_bytes___n
call fcn.0042f3b0
mov esi, dword [ebp - 0x258]
lea eax, [ebp - 0x25c]
push eax
push esi
call fcn.00430820
add esp, 0x14
test eax, eax
js 0x42ea0b
movsd xmm1, qword [ebp + 0x1c]
comisd xmm1, xmmword [0x4549f0]
jbe 0x42e9d5
mov ecx, dword [ebp - 0x236]
cmp dword [ebp - 0x23a], ecx
cmovg ecx, dword [ebp - 0x23a]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm1
jmp 0x42e9dd
movsd xmm0, qword [0x446798]
push str.__retrieving_node_points_n
movsd qword [ebp - 0x264], xmm0
call fcn.0042f3b0
push dword [ebp - 0x25c]
lea eax, [ebp - 0x24c]
push esi
push eax
call fcn.004303b0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x42ea44
lea eax, [ebp - 0x27c]
push eax
call fcn.0042f810
add esp, 4
test ebx, ebx
je 0x42eb93
lea eax, [ebp - 0x108]
push eax
call fcn.004324fd
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004327ee
mov esp, ebp
pop ebp
ret
push esi
call fcn.00445d00
push eax
push str.__found__d_node_points_n
call fcn.0042f3b0
push esi
call fcn.0042f040
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x42eaa3
push esi
call fcn.00445b30
lea eax, [ebp - 0x27c]
push eax
call fcn.0042f810
add esp, 8
test ebx, ebx
je 0x42eb93
lea eax, [ebp - 0x108]
push eax
call fcn.004324fd
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004327ee
mov esp, ebp
pop ebp
ret
push 0x45495c
push dword [ebp - 0x254]
call fcn.00432d91
add esp, 8
mov dword [ebp - 0x250], eax
test eax, eax
jne 0x42eb05
push edi
call fcn.004316a0
push esi
call fcn.00445b30
lea eax, [ebp - 0x27c]
push eax
call fcn.0042f810
add esp, 0xc
test ebx, ebx
je 0x42eb93
lea eax, [ebp - 0x108]
push eax
call fcn.004324fd
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004327ee
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x254]
push str.__begin_raster_to_vector_conversion_to_file__s_n
call fcn.0042f3b0
movsd xmm0, qword [ebp - 0x264]
add esp, 8
lea eax, [ebp - 0x24c]
push esi
push edi
sub esp, 0x10
movsd qword [esp + 8], xmm0
movsd xmm0, qword [ebp + 0x14]
movsd qword [esp], xmm0
push dword [ebp - 0x250]
push dword [ebp - 0x25c]
push dword [ebp - 0x258]
push eax
call fcn.0042eca0
add esp, 0x28
test eax, eax
jns 0x42eba6
push edi
call fcn.004316a0
push esi
call fcn.00445b30
push dword [ebp - 0x250]
call fcn.00432973
lea eax, [ebp - 0x27c]
push eax
call fcn.0042f810
add esp, 0x10
test ebx, ebx
je 0x42eb93
lea eax, [ebp - 0x108]
push eax
call fcn.004324fd
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004327ee
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x254]
push eax
push str.__generated__d_polylines_in_file__s_n
call fcn.0042f3b0
push esi
call fcn.00445b30
push edi
call fcn.004316a0
push dword [ebp - 0x250]
call fcn.00432973
lea eax, [ebp - 0x27c]
push eax
call fcn.0042f810
add esp, 0x1c
test ebx, ebx
je 0x42ebf0
lea eax, [ebp - 0x108]
push eax
call fcn.004324fd
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.004327ee
mov esp, ebp
pop ebp
ret