Function at 0x401890
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
cmp dword [0x50b5d4], 0
je 0x40192b
mov eax, dword [0x4710fc]
add eax, dword [0x50b5c0]
push eax
mov ecx, dword [0x471110]
add ecx, dword [0x50b5c0]
push ecx
call fcn.004011f0
add esp, 8
mov edx, dword [0x4710fc]
add edx, dword [0x50b5c0]
push edx
mov eax, dword [0x471110]
add eax, dword [0x50b5c0]
push eax
call fcn.004011f0
add esp, 8
mov ecx, dword [0x4710fc]
add ecx, dword [0x50b5c0]
push ecx
mov edx, dword [0x471110]
add edx, dword [0x50b5c0]
push edx
call fcn.004011f0
add esp, 8
mov eax, dword [0x4710fc]
add eax, dword [0x50b5c0]
push eax
mov ecx, dword [0x471110]
add ecx, dword [0x50b5c0]
push ecx
call fcn.004011f0
add esp, 8
cmp dword [0x50b5d4], 0
je 0x4019bd
mov edx, dword [0x4710fc]
add edx, dword [0x50b5c0]
push edx
mov eax, dword [0x471110]
add eax, dword [0x50b5c0]
push eax
call fcn.004011f0
add esp, 8
mov ecx, dword [0x4710fc]
add ecx, dword [0x50b5c0]
push ecx
mov edx, dword [0x471110]
add edx, dword [0x50b5c0]
push edx
call fcn.004011f0
add esp, 8
mov eax, dword [0x4710fc]
add eax, dword [0x50b5c0]
push eax
mov ecx, dword [0x471110]
add ecx, dword [0x50b5c0]
push ecx
call fcn.004011f0
add esp, 8
mov edx, dword [0x4710fc]
add edx, dword [0x50b5c0]
push edx
mov eax, dword [0x471110]
add eax, dword [0x50b5c0]
push eax
call fcn.004011f0
add esp, 8
cmp dword [0x50b5d4], 0
je 0x401a50
mov ecx, dword [0x4710fc]
add ecx, dword [0x50b5c0]
push ecx
mov edx, dword [0x471110]
add edx, dword [0x50b5c0]
push edx
call fcn.004011f0
add esp, 8
mov eax, dword [0x4710fc]
add eax, dword [0x50b5c0]
push eax
mov ecx, dword [0x471110]
add ecx, dword [0x50b5c0]
push ecx
call fcn.004011f0
add esp, 8
mov edx, dword [0x4710fc]
add edx, dword [0x50b5c0]
push edx
mov eax, dword [0x471110]
add eax, dword [0x50b5c0]
push eax
call fcn.004011f0
add esp, 8
mov ecx, dword [0x4710fc]
add ecx, dword [0x50b5c0]
push ecx
mov edx, dword [0x471110]
add edx, dword [0x50b5c0]
push edx
call fcn.004011f0
add esp, 8
cmp dword [0x50b5d4], 0
je 0x401ae2
mov eax, dword [0x4710fc]
add eax, dword [0x50b5c0]
push eax
mov ecx, dword [0x471110]
add ecx, dword [0x50b5c0]
push ecx
call fcn.004011f0
add esp, 8
mov edx, dword [0x4710fc]
add edx, dword [0x50b5c0]
push edx
mov eax, dword [0x471110]
add eax, dword [0x50b5c0]
push eax
call fcn.004011f0
add esp, 8
mov ecx, dword [0x4710fc]
add ecx, dword [0x50b5c0]
push ecx
mov edx, dword [0x471110]
add edx, dword [0x50b5c0]
push edx
call fcn.004011f0
add esp, 8
mov eax, dword [0x4710fc]
add eax, dword [0x50b5c0]
push eax
mov ecx, dword [0x471110]
add ecx, dword [0x50b5c0]
push ecx
call fcn.004011f0
add esp, 8
cmp dword [0x50b5d4], 0
je 0x401b74
mov edx, dword [0x4710fc]
add edx, dword [0x50b5c0]
push edx
mov eax, dword [0x471110]
add eax, dword [0x50b5c0]
push eax
call fcn.004011f0
add esp, 8
mov ecx, dword [0x4710fc]
add ecx, dword [0x50b5c0]
push ecx
mov edx, dword [0x471110]
add edx, dword [0x50b5c0]
push edx
call fcn.004011f0
add esp, 8
mov eax, dword [0x4710fc]
add eax, dword [0x50b5c0]
push eax
mov ecx, dword [0x471110]
add ecx, dword [0x50b5c0]
push ecx
call fcn.004011f0
add esp, 8
mov edx, dword [0x4710fc]
add edx, dword [0x50b5c0]
add byte [edx - 0x5f], dl
adc byte [ecx], dl
inc edi
add byte [ebx], al
add eax, 0x50b5c0
push eax
call fcn.004011f0
add esp, 8
cmp dword [0x50b5d4], 0
je 0x401c07
mov ecx, dword [0x4710fc]
add ecx, dword [0x50b5c0]
push ecx
mov edx, dword [0x471110]
add edx, dword [0x50b5c0]
push edx
call fcn.004011f0
add esp, 8
mov eax, dword [0x4710fc]
add eax, dword [0x50b5c0]
push eax
mov ecx, dword [0x471110]
add ecx, dword [0x50b5c0]
push ecx
call fcn.004011f0
add esp, 8
mov edx, dword [0x4710fc]
add edx, dword [0x50b5c0]
push edx
mov eax, dword [0x471110]
add eax, dword [0x50b5c0]
push eax
call fcn.004011f0
add esp, 8
mov ecx, dword [0x4710fc]
add ecx, dword [0x50b5c0]
push ecx
mov edx, dword [0x471110]
add edx, dword [0x50b5c0]
push edx
call fcn.004011f0
add esp, 8
push 0x471210
call dword [sym.imp.GDI32.dll_GetEnhMetaFileA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x401c24
xor eax, eax
jmp 0x401e7d
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_GetEnhMetaFileBits]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 6
je 0x401c42
xor eax, eax
jmp 0x401e7d
mov edx, dword [ebp + 8]
mov dword [0x471124], edx
mov dword [0x47110c], ebp
mov eax, dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [0x50b624], eax
call fcn.004012d0
call fcn.00401490
push 0xa569
call fcn.004014c0
add esp, 4
mov dword [0x4710f8], eax
mov ecx, dword [0x4710f8]
mov dword [0x50b638], ecx
mov edx, dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [0x50b63c], edx
mov edx, dword [0x471134]
push edx
mov eax, eax
mov eax, dword [0x47113c]
push eax
mov eax, eax
mov eax, dword [0x50b638]
push eax
mov eax, eax
invalid