Function at 0x403e10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5de1c6
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x676314]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xe0], edi
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xd8], eax
lea ebx, [edi + 0x4c]
mov dword [ebp - 4], 0
lea eax, [ebp + 0xc]
mov dword [ebp - 0xdc], ebx
cmp ebx, eax
je 0x403e72
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.00402530
add edi, 0x64
mov dword [ebp - 0xe8], edi
cmp edi, ebx
je 0x403e8b
push 0xffffffffffffffff
push 0
push ebx
mov ecx, edi
call fcn.00402530
lea eax, [ebp - 0x28]
push str.06403704291815037162672242370606
push eax
call fcn.00453f44
mov esi, eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 1
push str.51527722056115002161526358305108
push eax
call fcn.00453f44
push esi
push eax
push edi
mov byte [ebp - 4], 2
call fcn.004578a3
mov eax, dword [ebp - 0x5c]
add esp, 0x1c
cmp eax, 8
jb 0x403ed1
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00402750
xor eax, eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x60], 0
cmp eax, 8
jb 0x403efd
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402750
call fcn.00473490
test al, al
je 0x403f1d
add byte [eax + eax*8 - 0x8f4e88c], al
or esi, edi
enter 0x6d0e, 0xffffffffffffff83
lcall 0x5a67, 0xccaccf59
loopne 0x403f01
push ebx
dec esi
mov ebx, dword [ebp - 0xdc]
call fcn.004733c1
test al, al
je 0x403f46
cmpsb byte [esi], byte es:[edi]
test al, 0x1c
dec byte [ebx - 0x69]
movsd dword es:[edi], dword [esi]
iretd
xor eax, eax
mov dword [ebp - 0xbc], 7
push eax
push 0x5e87f0
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xc0], 0
mov word [ebp - 0xd0], ax
call fcn.00402650
xor eax, eax
mov byte [ebp - 4], 3
push eax
push 0x5e87f0
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], 0
mov word [ebp - 0xb8], ax
call fcn.00402650
cmp dword [ebx + 0x14], 8
mov byte [ebp - 4], 4
jb 0x403fb4
mov eax, dword [ebx]
jmp 0x403fb6
mov eax, ebx
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00455a83
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 5
cmovae eax, dword [ebp - 0x88]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0045595b
add esp, 0x10
mov esi, eax
lea eax, [ebp - 0x88]
cmp eax, esi
je 0x40402f
mov eax, dword [ebp - 0x74]
cmp eax, 8
jb 0x40400c
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00402750
xor eax, eax
mov dword [ebp - 0x74], 7
push esi
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
call fcn.00405590
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp eax, 8
jb 0x404048
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402750
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00458263
push 0
call fcn.004869db
mov dword [ebp - 0xe4], eax
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], eax
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 9
mov dword [ebp - 0xec], eax
call fcn.0047362e
test al, al
je 0x4040c5
jns 0x40410e
invalid
call fcn.00473925
test al, al
je 0x4040ee
sbb dword [ecx], ecx
neg byte [ecx]
xor dword [esi], ecx
sti
push ss
push eax
into
push ds
shr bh, 0xd2
fucom st(3)
and cl, ah
and byte [edx - 0x6e], cl
mov ah, 0xfc
mov ch, 0x8b
popfd
and al, 0xff
invalid
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0xa0]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x40412e
add bh, al
inc ecx
adc al, 0
add byte [eax], al
add bh, al
inc ecx
adc al, 7
add byte [eax], al
add byte [ebx - 0x38f7eb87], al
inc ecx
adc byte [eax], al
add byte [eax], al
add byte [edx + 4], dh
mov eax, dword [ecx]
jmp 0x404130
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
push edx
push ebx
mov word [eax], dx
call fcn.00402530
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0xe0]
mov ecx, esi
push edi
call fcn.00404a30
test al, al
je 0x4042f9
cmp dword [ebp - 0xbc], 8
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xec], 1
cmovae eax, dword [ebp - 0xd0]
push eax
call fcn.00486908
add eax, dword [esi]
add esp, 4
cmp eax, dword [ebp - 0xe4]
jl 0x4041ad
mov eax, dword [ebp - 0xd8]
lea ecx, [ebp - 0xb8]
cmp eax, ecx
je 0x4042d1
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.00402530
jmp 0x4042d1
lea eax, [ebp - 0x70]
push ebx
push eax
call fcn.00458263
add esp, 8
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0xa
jb 0x4041c6
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call int.00473ccb
add esp, 8
lea ecx, [ebp - 0x58]
push eax
call fcn.00403d40
lea ecx, [ebp - 0x28]
call fcn.00448f80
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 9
call fcn.00403bf0
cmp dword [ebp - 0x48], 0
jne 0x40424d
lea edi, [esi + 0x64]
push edi
push ebx
call fcn.004039f0
add esp, 8
test al, al
je 0x40424a
lea eax, [ebp - 0x70]
push edi
push eax
call fcn.00458263
add esp, 8
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0xb
jb 0x404220
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call int.00473ccb
add esp, 8
lea ecx, [ebp - 0x58]
push eax
call fcn.00403d40
lea ecx, [ebp - 0x28]
call fcn.00448f80
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 9
call fcn.00403bf0
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004039b0
add esp, 8
test al, al
je 0x4042f9
mov eax, dword [ebp - 0xd8]
lea ecx, [ebp - 0xb8]
cmp eax, ecx
je 0x404284
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.00402530
sub esp, 0x18
lea eax, [ebp - 0xb8]
mov ecx, esp
mov dword [ebp - 0xf0], esp
push eax
call fcn.00403b00
sub esp, 0x18
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xe8], esp
mov ecx, esp
push eax
call fcn.00403b00
sub esp, 0x18
mov byte [ebp - 4], 0xd
mov ecx, esp
push ebx
call fcn.00403b00
push edi
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.004050e0
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push eax
push 1
push 1
call fcn.00405060
mov ecx, eax
call int.00411020
mov esi, 1
jmp 0x4045cf
cmp dword [ebp + 0x28], 0
jne 0x404314
mov ecx, dword [ebp - 0xd8]
push 0x5e87f0
call fcn.00403dc0
jmp 0x4045cd
mov ebx, dword [ebp - 0xd8]
cmp dword [ebx + 0x10], 0
jne 0x4043ca
test edi, edi
je 0x40436e
add esi, 0x1c
cmp dword [esi + 0x14], 8
jb 0x404333
mov esi, dword [esi]
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00455f3e
add esp, 8
mov ecx, ebx
push eax
call fcn.00403d40
lea ecx, [ebp - 0x28]
call fcn.00448f80
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00455c7d
add esp, 8
mov byte [ebp - 4], 0xe
jmp 0x4043b2
add esi, 4
cmp dword [esi + 0x14], 8
jb 0x404379
mov esi, dword [esi]
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00455f3e
add esp, 8
mov ecx, ebx
push eax
call fcn.00403d40
lea ecx, [ebp - 0x28]
call fcn.00448f80
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00455c7d
add esp, 8
mov byte [ebp - 4], 0xf
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.00405600
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.00448f80
call fcn.004732f2
test al, al
je 0x4043ee
outsb dx, byte [esi]
inc esi
popal
inc edi
in eax, dx
aam 0x3b
and byte [eax], bh
sbb eax, 0xe233638
or dword [edi + 0x7f], edi
hlt
call fcn.004738e0
test al, al
je 0x40440d
retf
cmp dword [ebx + 0x14], 8
jb 0x404417
mov eax, dword [ebx]
jmp 0x404419
mov eax, ebx
push eax
call fcn.004544d9
mov esi, dword [ebp - 0xdc]
push esi
push dword [ebp - 0xe8]
call fcn.004039b0
mov edi, dword [ebp - 0xe0]
add esp, 0xc
mov ecx, edi
push ebx
test al, al
jne 0x40445a
push 0
call fcn.004046b0
test eax, eax
setne al
mov byte [ebp - 0xd1], al
test al, al
jne 0x40446a
push ebx
mov ecx, edi
push 1
call fcn.004046b0
test eax, eax
setne byte [ebp - 0xd1]
cmp dword [ebx + 0x14], 8
jb 0x404474
mov eax, dword [ebx]
jmp 0x404476
mov eax, ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4045af
cmp byte [ebp - 0xd1], 0
je 0x4045af
cmp dword [ebp - 0xec], 0
lea eax, [ebp - 0x40]
jne 0x4044a2
push 2
jmp 0x4044a4
push 3
cmp dword [ebp - 0x2c], 0x10
cmovae eax, dword [ebp - 0x40]
push eax
push 1
push 1
call fcn.00405060
mov ecx, eax
call int.00411020
cmp dword [ebp - 0x48], 0
jne 0x404567
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.00458263
add esp, 8
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x10
jb 0x4044e0
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call int.00473ccb
add esp, 8
lea ecx, [ebp - 0x58]
push eax
call fcn.00403d40
lea ecx, [ebp - 0x28]
call fcn.00448f80
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 9
call fcn.00403bf0
cmp dword [ebp - 0x48], 0
jne 0x404567
lea eax, [edi + 0x64]
push eax
push esi
call fcn.004039f0
add esp, 8
test al, al
je 0x404567
lea eax, [edi + 0x64]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00458263
add esp, 8
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x11
jb 0x40453d
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call int.00473ccb
add esp, 8
lea ecx, [ebp - 0x58]
push eax
call fcn.00403d40
lea ecx, [ebp - 0x28]
call fcn.00448f80
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 9
call fcn.00403bf0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xf0], esp
push ebx
call fcn.00403b00
sub esp, 0x18
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x58]
mov dword [ebp - 0xe8], esp
mov ecx, esp
push eax
call fcn.00403b00
sub esp, 0x18
mov byte [ebp - 4], 0x13
mov ecx, esp
push esi
call fcn.00403b00
push dword [ebp + 8]
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.004050e0
jmp 0x4045cd
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 1
cmovae eax, dword [ebp - 0x40]
push eax
push 1
push 1
call fcn.00405060
mov ecx, eax
call int.00411020
xor esi, esi
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x4045e4
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00402750
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x48], 0
cmp eax, 8
jb 0x404616
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00402750
xor eax, eax
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x90], 0
cmp eax, 0x10
jb 0x404648
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00405840
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.00448f80
lea ecx, [ebp - 0xb8]
call fcn.00448f80
lea ecx, [ebp - 0xd0]
call fcn.00448f80
lea ecx, [ebp + 0xc]
call fcn.00448f80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046ce06
mov esp, ebp
pop ebp
ret 0x24