Function at 0x42b1e0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x481420
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49eb88]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
mov ebp, dword [esp + 0x5c]
push ebp
mov dword [esi + 0x54], eax
mov dword [esi + 0x50], ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ebx, ebx
test eax, eax
je 0x42b251
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov edi, eax
cmp edi, ebx
je 0x42b24c
lea eax, [edi + 4]
push eax
push ebp
mov dword [edi], vtable.Gdiplus::Image.0
mov dword [eax], ebx
call sub.gdiplus.dll_GdipLoadImageFromFile
mov dword [edi + 8], eax
jmp 0x42b24e
xor edi, edi
mov dword [esi + 0xc], edi
mov edi, dword [esi + 0xc]
cmp edi, ebx
jne 0x42b25f
xor eax, eax
jmp 0x42b68d
mov eax, dword [edi + 4]
lea edx, [esp + 0x68]
push edx
push eax
mov dword [esp + 0x70], ebx
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, ebx
je 0x42b278
mov dword [edi + 8], eax
mov ecx, dword [esp + 0x68]
mov edi, dword [esi + 0xc]
lea edx, [esp + 0x68]
mov dword [esi + 0x18], ecx
mov eax, dword [edi + 4]
push edx
push eax
mov dword [esp + 0x70], ebx
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, ebx
je 0x42b29b
mov dword [edi + 8], eax
mov ecx, dword [esp + 0x68]
push 4
mov dword [esi + 0x1c], ecx
mov edi, 0xf
push str.cbtn
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.0040f300
lea edx, [esp + 0x30]
push edx
mov ecx, 0x4a0670
mov dword [esp + 0x58], ebx
call fcn.00411bf0
mov eax, dword [eax]
or ebp, 0xffffffff
cmp dword [esp + 0x48], 0x10
mov dword [esi + 0x20], eax
mov dword [esp + 0x54], ebp
jb 0x42b2f6
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0044f90c
add esp, 4
push 4
push str.cbtn
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.0040f300
lea edx, [esp + 0x30]
push edx
mov ecx, 0x4a0670
mov dword [esp + 0x58], 1
call fcn.00411bf0
cmp dword [esp + 0x48], 0x10
mov eax, dword [eax + 8]
mov dword [esi + 0x28], eax
mov dword [esp + 0x54], ebp
jb 0x42b347
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0044f90c
add esp, 4
push 4
push str.cbtn
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.0040f300
lea edx, [esp + 0x30]
push edx
mov ecx, 0x4a0670
mov dword [esp + 0x58], 2
call fcn.00411bf0
cmp dword [esp + 0x48], 0x10
mov eax, dword [eax + 4]
mov dword [esi + 0x24], eax
mov dword [esp + 0x54], ebp
jb 0x42b398
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0044f90c
add esp, 4
push 4
push str.cbtn
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.0040f300
lea edx, [esp + 0x30]
push edx
mov ecx, 0x4a0670
mov dword [esp + 0x58], 3
call fcn.00411bf0
cmp dword [esp + 0x48], 0x10
mov eax, dword [eax + 0xc]
mov dword [esi + 0x2c], eax
mov dword [esp + 0x54], ebp
jb 0x42b3e9
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0044f90c
add esp, 4
push 4
push str.ibtn
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.0040f300
lea edx, [esp + 0x30]
push edx
mov ecx, 0x4a0670
mov dword [esp + 0x58], 4
call fcn.00411bf0
cmp dword [esp + 0x48], 0x10
mov eax, dword [eax]
mov dword [esi + 0x30], eax
mov dword [esp + 0x54], ebp
jb 0x42b439
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0044f90c
add esp, 4
push 4
push str.ibtn
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.0040f300
lea edx, [esp + 0x30]
push edx
mov ecx, 0x4a0670
mov dword [esp + 0x58], 5
call fcn.00411bf0
cmp dword [esp + 0x48], 0x10
mov eax, dword [eax + 8]
mov dword [esi + 0x38], eax
mov dword [esp + 0x54], ebp
jb 0x42b48a
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0044f90c
add esp, 4
push 4
push str.ibtn
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.0040f300
lea edx, [esp + 0x30]
push edx
mov ecx, 0x4a0670
mov dword [esp + 0x58], 6
call fcn.00411bf0
cmp dword [esp + 0x48], 0x10
mov eax, dword [eax + 4]
mov dword [esi + 0x34], eax
mov dword [esp + 0x54], ebp
jb 0x42b4db
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0044f90c
add esp, 4
push 4
push str.ibtn
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.0040f300
lea edx, [esp + 0x30]
push edx
mov ecx, 0x4a0670
mov dword [esp + 0x58], 7
call fcn.00411bf0
cmp dword [esp + 0x48], 0x10
mov eax, dword [eax + 0xc]
mov dword [esi + 0x3c], eax
mov dword [esp + 0x54], ebp
jb 0x42b52c
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0044f90c
add esp, 4
push 4
push str.nbtn
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.0040f300
lea edx, [esp + 0x30]
push edx
mov ecx, 0x4a0670
mov dword [esp + 0x58], 8
call fcn.00411bf0
cmp dword [esp + 0x48], 0x10
mov eax, dword [eax]
mov dword [esi + 0x40], eax
mov dword [esp + 0x54], ebp
jb 0x42b57c
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0044f90c
add esp, 4
push 4
push str.nbtn
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.0040f300
lea edx, [esp + 0x30]
push edx
mov ecx, 0x4a0670
mov dword [esp + 0x58], 9
call fcn.00411bf0
cmp dword [esp + 0x48], 0x10
mov eax, dword [eax + 8]
mov dword [esi + 0x48], eax
mov dword [esp + 0x54], ebp
jb 0x42b5cd
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0044f90c
add esp, 4
push 4
push str.nbtn
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.0040f300
lea edx, [esp + 0x30]
push edx
mov ecx, 0x4a0670
mov dword [esp + 0x58], 0xa
call fcn.00411bf0
cmp dword [esp + 0x48], 0x10
mov eax, dword [eax + 4]
mov dword [esi + 0x44], eax
mov dword [esp + 0x54], ebp
jb 0x42b61e
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0044f90c
add esp, 4
push 4
push str.nbtn
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.0040f300
lea edx, [esp + 0x14]
push edx
mov ecx, 0x4a0670
mov dword [esp + 0x58], 0xb
call fcn.00411bf0
cmp dword [esp + 0x2c], 0x10
mov eax, dword [eax + 0xc]
mov dword [esi + 0x4c], eax
mov dword [esp + 0x54], ebp
jb 0x42b66f
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0044f90c
add esp, 4
mov edx, dword [esp + 0x60]
push edx
push ebx
mov ecx, esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.0042afc0
mov eax, 1
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 0x10