Function at 0x424eb0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x43e9e5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
mov eax, dword [esp + 0x230]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push eax
push 0xb5
mov dword [esp + 0x28], ebp
call fcn.0043a68a
xor esi, esi
lea ecx, [ebp + 0x60]
mov dword [esp + 0x238], esi
call fcn.004010c0
lea ecx, [ebp + 0x138]
mov byte [esp + 0x238], 1
call fcn.00419bd0
lea ecx, [ebp + 0x1fc]
mov byte [esp + 0x238], 2
call fcn.004010c0
lea ecx, [ebp + 0x2d4]
mov byte [esp + 0x238], 3
call fcn.004010c0
lea ecx, [ebp + 0x3ac]
mov byte [esp + 0x238], 4
call fcn.004010c0
lea ecx, [ebp + 0x488]
mov byte [esp + 0x238], 5
call fcn.00421eb0
push esi
lea ecx, [ebp + 0x4cc]
mov byte [esp + 0x23c], 6
call fcn.00407b40
mov dword [ebp + 0x860], esi
mov dword [ebp + 0x85c], 0x442d98
lea ecx, [ebp + 0x864]
mov byte [esp + 0x238], 8
call fcn.00415750
lea ecx, [ebp + 0x9b8]
mov byte [esp + 0x238], 9
call fcn.0043a7e6
lea ebx, [ebp + 0x9c0]
mov dword [esp + 0x24], ebx
mov dword [ebx], esi
lea eax, [ebx + 4]
mov dword [esp + 0x1c], eax
mov dword [eax], esi
lea eax, [ebx + 8]
mov dword [esp + 0x18], eax
mov dword [eax], esi
lea eax, [ebx + 0xc]
mov dword [esp + 0x14], eax
mov dword [eax], esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x238], 0xe
call sub.MFC42.DLL_CString::CString_3
mov byte [esp + 0x238], 0xf
call sub.MFC42.DLL_AfxGetModuleState
mov esi, dword [eax + 4]
push 0x104
push 0x104
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::GetBuffer
mov ecx, dword [esi + 0x6c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push str...LeakCheck.dll
push 0x104
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x12d]
mov byte [esp + 0x12c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x29]
mov byte [esp + 0x28], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x12c]
push 0x103
push edx
push eax
call fcn.00403a40
lea edi, [esp + 0x138]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x34]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x2e
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.MSVCRT.dll_strchr]
xor edi, edi
add esp, 0x14
cmp eax, edi
je 0x4250b4
mov byte [eax], 0
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x425164
lea ecx, [esp + 0x12c]
push str.4.1.0.1001
push ecx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jge 0x4250f6
cmp esi, 4
jle 0x425164
mov edx, dword [esp + 0x10]
push ebx
push 0x4460a8
push edi
push edi
push 0x446108
push edx
call fcn.00418db0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
push eax
push 0x4460b8
push edi
push edi
push 0x446118
push ecx
call fcn.00418db0
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
push edx
push 0x4460c8
push edi
push edi
push 0x446128
push eax
call fcn.00418db0
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
add esp, 0x48
push ecx
push 0x4460e8
push edi
push edi
push 0x446148
push edx
call fcn.00418db0
add esp, 0x18
lea ecx, [esp + 0x10]
mov byte [esp + 0x238], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 0x9d0]
mov byte [esp + 0x238], 0x10
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp + 0x9d4]
mov byte [esp + 0x238], 0x11
call sub.MFC42.DLL_CString::CString_3
push 0xffffff
mov byte [esp + 0x23c], 0x12
mov dword [ebp], 0x445da0
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [ebp + 0x85c]
call sub.MFC42.DLL_CGdiObject::Attach
mov ecx, dword [esp + 0x230]
mov dword [ebp + 0x484], edi
mov dword [ebp + 0x9d8], edi
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x22c
ret 4