Function at 0x4094d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cb045
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x664340]
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 ebx, ecx
mov dword [ebp - 0x140], ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x148], eax
lea eax, [ebx + 0x14]
push eax
lea eax, [ebp - 0x84]
mov dword [ebp - 0x134], 0
push eax
call fcn.00455f69
cmp dword [ebp - 0x70], 8
lea eax, [ebp - 0x84]
mov dword [ebp - 4], 0
cmovae eax, dword [ebp - 0x84]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.0045903d
cmp dword [ebp - 0xb8], 8
lea eax, [ebp - 0xcc]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0xcc]
push eax
lea eax, [ebp - 0xfc]
push eax
call fcn.00458fb8
lea eax, [ebp - 0xfc]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00456304
cmp dword [ebp - 0x70], 8
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 3
cmovae eax, dword [ebp - 0x84]
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.00455037
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.00456304
add esp, 0x30
mov esi, dword [ebx]
mov byte [ebp - 4], 5
cmp esi, dword [ebx + 4]
je 0x4096d9
cmp dword [esi + 0x14], 0x10
mov edx, esi
jb 0x4095dc
mov edx, dword [esi]
mov ecx, edx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4095f3
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x54]
call fcn.004034c0
cmp dword [ebp - 0xa0], 0x10
lea ecx, [ebp - 0xb4]
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x54]
cmovae ecx, dword [ebp - 0xb4]
cmp eax, 0x10
mov ebx, dword [ebp - 0x54]
mov edi, dword [ebp - 0x44]
cmovae edx, ebx
cmp edi, dword [ebp - 0xa4]
jne 0x409697
sub edi, 4
jb 0x409651
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x409656
add edx, 4
add ecx, 4
sub edi, 4
jae 0x409640
cmp edi, 0xfffffffc
je 0x40968a
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x409683
cmp edi, 0xfffffffd
je 0x40968a
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x409683
cmp edi, 0xfffffffe
je 0x40968a
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x409683
cmp edi, 0xffffffff
je 0x40968a
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x40968a
sbb eax, eax
or eax, 1
jmp 0x40968c
xor eax, eax
test eax, eax
mov eax, dword [ebp - 0x40]
je 0x409718
cmp eax, 0x10
jb 0x4096c7
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x4096bd
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409e61
push ecx
push ebx
call fcn.0044a315
add esp, 8
mov eax, dword [ebp - 0x140]
add esi, 0x18
cmp esi, dword [eax + 4]
jne 0x4095d2
xor esi, esi
mov edx, dword [ebp - 0xa0]
cmp edx, 0x10
jb 0x409c8b
mov ecx, dword [ebp - 0xb4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409c81
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409e5c
jmp 0x409c81
cmp eax, 0x10
jb 0x409748
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x40973e
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409e61
push ecx
push ebx
call fcn.0044a315
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0xcc]
mov ecx, esp
push eax
call fcn.00403ce0
mov esi, dword [ebp - 0x148]
lea eax, [ebp - 0x9c]
mov ebx, dword [ebp - 0x140]
mov ecx, ebx
push esi
push eax
call fcn.004092e0
cmp dword [ebp + 0xc], 0
mov byte [ebp - 4], 6
je 0x4097f9
cmp dword [ebx + 0xb4], 0
je 0x4097ae
push 1
lea eax, [ebp - 0x9c]
push eax
sub esp, 0x18
lea edi, [ebx + 0x14]
mov eax, esp
push edi
push eax
call fcn.00455f69
mov ecx, dword [ebx + 0xb4]
add esp, 8
push esi
call fcn.00406ef0
cmp dword [ebp - 0x88], 8
lea eax, [ebp - 0x9c]
cmovae eax, dword [ebp - 0x9c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x409a8a
lea eax, [ebp - 0x134]
push eax
sub esp, 0x18
lea eax, [ebp - 0x9c]
mov ecx, esp
push eax
call fcn.00403ce0
call fcn.00458502
add esp, 0x1c
mov dword [ebx + 0x68], eax
jmp 0x409a8a
lea edi, [ebx + 0x14]
push edi
lea ecx, [ebp - 0x12c]
call fcn.004086a0
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x54]
call fcn.004086a0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 8
push str.47481748036855201160381067062929
push eax
call fcn.00457b85
mov esi, eax
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 9
push str.76071360046657391266672769480521
push eax
call fcn.00457b85
push esi
push eax
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0xa
push eax
call fcn.00455b43
mov edx, dword [ebp - 0x100]
add esp, 0x1c
mov byte [ebp - 4], 9
cmp edx, 0x10
jb 0x409894
mov ecx, dword [ebp - 0x114]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40988a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409e66
push edx
push ecx
call fcn.0044a315
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], 0xf
mov byte [ebp - 0x114], 0
mov byte [ebp - 4], 8
cmp edx, 0x10
jb 0x4098e7
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4098dd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409e6b
push edx
push ecx
call fcn.0044a315
add esp, 8
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x12c]
push eax
call fcn.004087b0
add esp, 8
test al, al
je 0x40990e
call fcn.0045b7d0
sub esp, 0x18
mov dword [ebx + 0xc], eax
mov ecx, esp
push edi
jmp 0x409941
call fcn.0045b7d0
sub esp, 0x18
mov dword [ebx + 0xc], eax
lea eax, [ebp - 0x12c]
mov ecx, esp
push eax
call fcn.004086a0
mov ecx, ebx
call fcn.00408f90
mov dword [ebp - 0x134], eax
test eax, eax
jne 0x409953
sub esp, 0x18
lea eax, [ebp - 0x54]
mov ecx, esp
push eax
call fcn.004086a0
mov ecx, ebx
call fcn.00408f90
mov dword [ebp - 0x134], eax
call fcn.0045b7d0
sub eax, dword [ebx + 0xc]
lea esi, [ebp - 0x6c]
cmp dword [ebp - 0x134], 0
mov dword [ebx + 0xc], eax
mov eax, dword [0x669300]
jne 0x4099b9
cmp dword [ebp - 0x58], 0x10
cmovae esi, dword [ebp - 0x6c]
test eax, eax
jne 0x4099b5
push 0x104
call fcn.0044a2e5
add esp, 4
mov dword [ebp - 0x138], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x4099aa
mov ecx, eax
call fcn.0040ecb0
mov byte [ebp - 4], 8
mov dword [0x669300], eax
push 1
jmp 0x4099f6
xor eax, eax
mov byte [ebp - 4], 8
mov dword [0x669300], eax
push 1
jmp 0x4099f6
cmp dword [ebp - 0x58], 0x10
cmovae esi, dword [ebp - 0x6c]
test eax, eax
jne 0x4099f4
push 0x104
call fcn.0044a2e5
add esp, 4
mov dword [ebp - 0x138], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x4099e9
mov ecx, eax
call fcn.0040ecb0
jmp 0x4099eb
xor eax, eax
mov byte [ebp - 4], 8
mov dword [0x669300], eax
push 2
push esi
push 1
push 1
mov ecx, eax
call fcn.00411cb0
mov edx, dword [ebp - 0x40]
mov byte [ebp - 4], 7
cmp edx, 0x10
jb 0x409a3a
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409a30
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409e70
push edx
push ecx
call fcn.0044a315
add esp, 8
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
mov byte [ebp - 4], 6
cmp edx, 0x10
jb 0x409a8a
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409a80
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409e75
push edx
push ecx
call fcn.0044a315
add esp, 8
cmp dword [ebp - 0x134], 0
jne 0x409aac
push str.size__0
push 0x89
call fcn.00451635
add esp, 8
xor esi, esi
jmp 0x409c1f
lea ecx, [ebp - 0x12d]
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x13c], 0
call fcn.004087a0
lea edi, [ebx + 0x44]
mov byte [ebp - 4], 0xd
push edi
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x144]
push eax
push dword [ebp - 0x134]
lea ecx, [ebp - 0x12d]
push dword [ebx + 0x68]
call fcn.0040a140
mov ecx, dword [ebp - 0x144]
test ecx, ecx
je 0x409bf3
mov eax, dword [ebp - 0x13c]
test eax, eax
je 0x409bf3
push eax
push ecx
call fcn.0040bf60
mov esi, eax
add esp, 8
test esi, esi
jne 0x409c14
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.00455f69
add esp, 8
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xe
jb 0x409b3e
mov eax, dword [eax]
push eax
push 0x89
call fcn.00451635
add esp, 8
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2c]
call fcn.00402fe0
mov eax, dword [ebp - 0x13c]
test eax, eax
jns 0x409b7b
neg eax
push eax
lea eax, [ebp - 0x12]
push eax
call fcn.00406c80
lea ecx, [eax - 2]
mov eax, 0x2d
mov word [ecx], ax
jmp 0x409b87
push eax
lea eax, [ebp - 0x12]
push eax
call fcn.00406c80
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x44], 0
mov word [ebp - 0x54], ax
add esp, 8
lea eax, [ebp - 0x12]
mov edx, 7
mov dword [ebp - 0x40], edx
cmp ecx, eax
je 0x409bb7
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x54]
call fcn.00403240
mov edx, dword [ebp - 0x40]
cmp edx, 8
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x54]
cmovae eax, dword [ebp - 0x54]
push eax
push 0x89
call fcn.00451635
add esp, 8
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x54]
call fcn.00402fe0
push str.hMoudle__NULL
push 0x89
call fcn.00451635
add esp, 8
jmp 0x409c14
cmp dword [ebp - 0x70], 8
lea eax, [ebp - 0x84]
cmovae eax, dword [ebp - 0x84]
push eax
push 0x89
call fcn.00451635
add esp, 8
xor esi, esi
lea ecx, [ebp - 0x12d]
call fcn.00403e70
mov edx, dword [ebp - 0x88]
cmp edx, 8
jb 0x409c5f
mov ecx, dword [ebp - 0x9c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409c55
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409e7a
push edx
push ecx
call fcn.0044a315
add esp, 8
xor eax, eax
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 7
mov word [ebp - 0x9c], ax
jmp 0x4096db
push edx
push ecx
call fcn.0044a315
add esp, 8
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0xf
mov byte [ebp - 0xb4], 0
cmp edx, 8
jb 0x409ce6
mov ecx, dword [ebp - 0xe4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409cdc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409e7f
push edx
push ecx
call fcn.0044a315
add esp, 8
mov edx, dword [ebp - 0x58]
xor eax, eax
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 7
mov word [ebp - 0xe4], ax
cmp edx, 0x10
jb 0x409d37
mov ecx, dword [ebp - 0x6c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409d2d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409e84
push edx
push ecx
call fcn.0044a315
add esp, 8
mov edx, dword [ebp - 0xe8]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], 0
cmp edx, 8
jb 0x409d89
mov ecx, dword [ebp - 0xfc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409d7f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409e89
push edx
push ecx
call fcn.0044a315
add esp, 8
mov edx, dword [ebp - 0xb8]
xor eax, eax
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 7
mov word [ebp - 0xfc], ax
cmp edx, 8
jb 0x409de6
mov ecx, dword [ebp - 0xcc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409ddc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409e8e
push edx
push ecx
call fcn.0044a315
add esp, 8
mov edx, dword [ebp - 0x70]
xor eax, eax
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 7
mov word [ebp - 0xcc], ax
cmp edx, 8
jb 0x409e3c
mov ecx, dword [ebp - 0x84]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409e32
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409e93
push edx
push ecx
call fcn.0044a315
add esp, 8
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.0044a851
mov esp, ebp
pop ebp
ret 0xc
call fcn.00470179
call fcn.00470179
call fcn.00470179
call fcn.00470179
call fcn.00470179
call fcn.00470179
call fcn.00470179
call fcn.00470179
call fcn.00470179
call fcn.00470179
call fcn.00470179
call fcn.00470179
int3