Function at 0x4032a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x448768
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x4571a0]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [0x45aee4]
push eax
push 0x45aeec
push 0x45afb4
call fcn.004233b0
mov edx, dword [ebx]
mov eax, dword [edx + 0x48]
push 0xfffffffffffffff0
mov ecx, ebx
call eax
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, dword [ebx]
and eax, 0xff3affff
or eax, 0xa0000
push eax
mov eax, dword [edx + 0x48]
push 0xfffffffffffffff0
mov ecx, ebx
call eax
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [0x45aee4]
push 0x94
push ecx
lea esi, [ebx + 0x90]
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov dword [esi + 0x78], eax
test eax, eax
je 0x40336a
xor ecx, ecx
lea edx, [esp + 0x18]
push edx
push 0x18
push eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], ecx
mov edx, dword [ebx]
mov eax, dword [edx + 0x28]
push esi
mov ecx, ebx
mov byte [ebx + 0x10c], 1
call eax
mov edi, dword [0x45aee4]
push 0xa1
lea esi, [ebx + 0x220]
push 0xa1
mov eax, 0x8e
call fcn.00423140
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov edx, dword [ebx]
mov dword [ebx + 0x238], eax
mov eax, dword [edx + 0x28]
push esi
mov ecx, ebx
mov byte [ebx + 0x300], 1
call eax
mov edi, dword [0x45aee4]
push 0x9e
lea esi, [ebx + 0x110]
push 0x9e
mov eax, 0x8a
call fcn.00423140
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov edx, dword [ebx]
mov dword [ebx + 0x128], eax
mov eax, dword [edx + 0x28]
push esi
mov ecx, ebx
mov byte [ebx + 0x1f0], 1
call eax
mov edi, dword [0x45aee4]
push 0xa0
lea esi, [ebx + 0x330]
push 0xa0
mov eax, 0x8d
call fcn.00423140
mov edi, dword [0x45aee4]
push 0x8f
push edi
call dword [sym.imp.USER32.dll_LoadBitmapW]
push 0xa2
push edi
mov dword [esi + 0x104], eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
push 0xa2
push edi
mov dword [esi + 0x108], eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
push 0x7f89
push 0
mov dword [esi + 0x10c], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebx + 0x348], eax
mov byte [ebx + 0x410], 1
cmp byte [esi + 0xe1], 0
je 0x403495
mov ecx, 4
mov eax, esi
mov byte [esi + 0xe1], 0
call fcn.004231f0
mov edx, dword [ebx]
mov eax, dword [edx + 0x28]
push esi
mov ecx, ebx
call eax
mov edi, dword [0x45aee4]
push 0x9d
lea esi, [ebx + 0x440]
push 0x9d
mov eax, 0x89
call fcn.00423140
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov edx, dword [ebx]
mov dword [ebx + 0x458], eax
mov eax, dword [edx + 0x28]
push esi
mov ecx, ebx
mov byte [ebx + 0x520], 1
call eax
mov edi, dword [0x45aee4]
push 0xa5
lea esi, [ebx + 0x550]
push 0xa5
mov eax, 0x93
call fcn.00423140
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov edx, dword [ebx]
mov dword [ebx + 0x568], eax
mov eax, dword [edx + 0x28]
push esi
mov ecx, ebx
mov byte [ebx + 0x630], 1
call eax
mov edi, dword [0x45aee4]
push 0x9f
lea esi, [ebx + 0x660]
push 0x9f
mov eax, 0x8b
call fcn.00423140
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov edx, dword [ebx]
mov dword [ebx + 0x678], eax
mov eax, dword [edx + 0x28]
push esi
mov ecx, ebx
mov byte [ebx + 0x740], 1
call eax
mov edi, dword [0x45aee4]
push 0xa3
lea esi, [ebx + 0x770]
push 0xa3
mov eax, 0x90
call fcn.00423140
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov edx, dword [ebx]
mov dword [ebx + 0x788], eax
mov eax, dword [edx + 0x28]
push esi
mov ecx, ebx
mov byte [ebx + 0x850], 1
call eax
mov edi, dword [0x45aee4]
push 0xa7
lea esi, [ebx + 0x880]
push 0xa7
mov eax, 0x91
call fcn.00423140
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov edx, dword [ebx]
mov dword [ebx + 0x898], eax
mov byte [ebx + 0x960], 1
mov eax, dword [edx + 0x28]
push esi
mov ecx, ebx
call eax
mov edi, dword [0x45aee4]
push 0xa4
lea esi, [ebx + 0x990]
push 0xa4
mov eax, 0x92
call fcn.00423140
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov edx, dword [ebx]
mov dword [ebx + 0x9a8], eax
mov eax, dword [edx + 0x28]
push esi
mov ecx, ebx
mov byte [ebx + 0xa70], 1
call eax
mov ecx, dword [0x45aee4]
push 0x8c
push ecx
lea esi, [ebx + 0xaa0]
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov dword [esi + 0x78], eax
test eax, eax
je 0x40368c
xor ecx, ecx
lea edx, [esp + 0x18]
push edx
push 0x18
push eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], ecx
mov edx, dword [ebx]
mov eax, dword [edx + 0x28]
push esi
mov ecx, ebx
mov byte [ebx + 0xb1c], 1
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x48]
mov edi, dword [ebx + 0xb20]
lea esi, [ebx + 0xb20]
mov ecx, ebx
call eax
mov edx, dword [edi + 0x24]
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x28]
push 1
push 0x44bde8
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x3c]
push 1
push 0xffff
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x48]
xor edi, edi
push edi
push edi
mov ecx, esi
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x28]
push esi
mov ecx, ebx
call edx
xor eax, eax
mov word [esp + 0x50], ax
push 0xb
mov eax, str.about:blank
lea esi, [esp + 0x50]
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], edi
call fcn.00405600
mov dword [esp + 0x90], edi
mov edx, dword [ebx]
mov eax, dword [edx + 0x48]
mov ecx, ebx
mov dword [esp + 0x18], 0x134
mov dword [esp + 0x1c], 0xaa
mov dword [esp + 0x20], 0x38e
mov dword [esp + 0x24], 0x223
lea edi, [ebx + 0xbf0]
call eax
push eax
push edi
mov ecx, esi
lea edx, [esp + 0x20]
call fcn.004221f0
mov dword [esp + 0x90], 0xffffffff
cmp dword [esp + 0x64], 8
jb 0x403776
mov ecx, dword [esp + 0x50]
push ecx
call fcn.0042c65c
add esp, 4
lea esi, [esp + 0x4c]
call fcn.004133d0
mov esi, 8
cmp dword [eax + 0x18], esi
jb 0x40378e
mov eax, dword [eax + 4]
jmp 0x403791
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x64], esi
jb 0x4037af
mov edx, dword [esp + 0x50]
push edx
call fcn.0042c65c
add esp, 4
xor esi, esi
cmp dword [esp + 0x14], esi
je 0x4037be
mov byte [ebx + 0xcb2], 1
push ebx
add ebx, 0xc4c
push ebx
call fcn.00405e30
push esi
push 0x44bde4
lea ecx, [esp + 0x70]
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], esi
mov byte [esp + 0x74], 0
call fcn.0040cdc0
mov dword [esp + 0x90], 1
xor eax, eax
mov word [esp + 0x34], ax
mov eax, dword [ebp + 8]
mov ebx, 7
mov ecx, eax
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], ebx
lea esi, [ecx + 2]
jmp 0x403820
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x403820
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x34]
call fcn.00405600
mov ecx, esi
push ecx
push edi
lea ecx, [esp + 0x70]
mov byte [esp + 0x98], 2
call fcn.004023f0
cmp dword [esp + 0x48], 8
jb 0x403862
mov edx, dword [esp + 0x34]
push edx
call fcn.0042c65c
add esp, 4
xor eax, eax
cmp dword [esp + 0x80], 0x10
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
jb 0x40388c
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.0042c65c
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4