Function at 0x4094a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cb1a5
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x667ce0]
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.00444031
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.004479b4
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.0044792f
lea eax, [ebp - 0xfc]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.004443cc
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.004430ff
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.004443cc
add esp, 0x30
mov esi, dword [ebx]
mov byte [ebp - 4], 5
cmp esi, dword [ebx + 4]
je 0x4096a9
cmp dword [esi + 0x14], 0x10
mov edx, esi
jb 0x4095ac
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 0x4095c3
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 0x409667
sub edi, 4
jb 0x409621
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x409626
add edx, 4
add ecx, 4
sub edi, 4
jae 0x409610
cmp edi, 0xfffffffc
je 0x40965a
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x409653
cmp edi, 0xfffffffd
je 0x40965a
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x409653
cmp edi, 0xfffffffe
je 0x40965a
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x409653
cmp edi, 0xffffffff
je 0x40965a
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x40965a
sbb eax, eax
or eax, 1
jmp 0x40965c
xor eax, eax
test eax, eax
mov eax, dword [ebp - 0x40]
je 0x4096e8
cmp eax, 0x10
jb 0x409697
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x40968d
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409e31
push ecx
push ebx
call fcn.0059c9cd
add esp, 8
mov eax, dword [ebp - 0x140]
add esi, 0x18
cmp esi, dword [eax + 4]
jne 0x4095a2
xor esi, esi
mov edx, dword [ebp - 0xa0]
cmp edx, 0x10
jb 0x409c5b
mov ecx, dword [ebp - 0xb4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409c51
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409e2c
jmp 0x409c51
cmp eax, 0x10
jb 0x409718
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x40970e
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409e31
push ecx
push ebx
call fcn.0059c9cd
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0xcc]
mov ecx, esp
push eax
call fcn.00403d20
mov esi, dword [ebp - 0x148]
lea eax, [ebp - 0x9c]
mov ebx, dword [ebp - 0x140]
mov ecx, ebx
push esi
push eax
call fcn.004092b0
cmp dword [ebp + 0xc], 0
mov byte [ebp - 4], 6
je 0x4097c9
cmp dword [ebx + 0xb4], 0
je 0x40977e
push 1
lea eax, [ebp - 0x9c]
push eax
sub esp, 0x18
lea edi, [ebx + 0x14]
mov eax, esp
push edi
push eax
call fcn.00444031
mov ecx, dword [ebx + 0xb4]
add esp, 8
push esi
call fcn.00406ec0
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 0x409a5a
lea eax, [ebp - 0x134]
push eax
sub esp, 0x18
lea eax, [ebp - 0x9c]
mov ecx, esp
push eax
call fcn.00403d20
call fcn.00446bd5
add esp, 0x1c
mov dword [ebx + 0x68], eax
jmp 0x409a5a
lea edi, [ebx + 0x14]
push edi
lea ecx, [ebp - 0x12c]
call fcn.00408670
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x54]
call fcn.00408670
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 8
push str.13221327054209601718227045004444
push eax
call fcn.00445ce0
mov esi, eax
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 9
push str.63036957046756381267660968490129
push eax
call fcn.00445ce0
push esi
push eax
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0xa
push eax
call fcn.00443c0b
mov edx, dword [ebp - 0x100]
add esp, 0x1c
mov byte [ebp - 4], 9
cmp edx, 0x10
jb 0x409864
mov ecx, dword [ebp - 0x114]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40985a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409e36
push edx
push ecx
call fcn.0059c9cd
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 0x4098b7
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4098ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409e3b
push edx
push ecx
call fcn.0059c9cd
add esp, 8
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x12c]
push eax
call fcn.00408780
add esp, 8
test al, al
je 0x4098de
call fcn.0044a4a9
sub esp, 0x18
mov dword [ebx + 0xc], eax
mov ecx, esp
push edi
jmp 0x409911
call fcn.0044a4a9
sub esp, 0x18
mov dword [ebx + 0xc], eax
lea eax, [ebp - 0x12c]
mov ecx, esp
push eax
call fcn.00408670
mov ecx, ebx
call fcn.00408f60
mov dword [ebp - 0x134], eax
test eax, eax
jne 0x409923
sub esp, 0x18
lea eax, [ebp - 0x54]
mov ecx, esp
push eax
call fcn.00408670
mov ecx, ebx
call fcn.00408f60
mov dword [ebp - 0x134], eax
call fcn.0044a4a9
sub eax, dword [ebx + 0xc]
lea esi, [ebp - 0x6c]
cmp dword [ebp - 0x134], 0
mov dword [ebx + 0xc], eax
mov eax, dword [0x669320]
jne 0x409989
cmp dword [ebp - 0x58], 0x10
cmovae esi, dword [ebp - 0x6c]
test eax, eax
jne 0x409985
push 0x104
call fcn.0059c99d
add esp, 4
mov dword [ebp - 0x138], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x40997a
mov ecx, eax
call fcn.0040ec80
mov byte [ebp - 4], 8
mov dword [0x669320], eax
push 1
jmp 0x4099c6
xor eax, eax
mov byte [ebp - 4], 8
mov dword [0x669320], eax
push 1
jmp 0x4099c6
cmp dword [ebp - 0x58], 0x10
cmovae esi, dword [ebp - 0x6c]
test eax, eax
jne 0x4099c4
push 0x104
call fcn.0059c99d
add esp, 4
mov dword [ebp - 0x138], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x4099b9
mov ecx, eax
call fcn.0040ec80
jmp 0x4099bb
xor eax, eax
mov byte [ebp - 4], 8
mov dword [0x669320], eax
push 2
push esi
push 1
push 1
mov ecx, eax
call fcn.00411b60
mov edx, dword [ebp - 0x40]
mov byte [ebp - 4], 7
cmp edx, 0x10
jb 0x409a0a
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409a00
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409e40
push edx
push ecx
call fcn.0059c9cd
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 0x409a5a
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409a50
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409e45
push edx
push ecx
call fcn.0059c9cd
add esp, 8
cmp dword [ebp - 0x134], 0
jne 0x409a7c
push str.size__0
push 0x89
call fcn.0043f1dd
add esp, 8
xor esi, esi
jmp 0x409bef
lea ecx, [ebp - 0x12d]
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x13c], 0
call fcn.00408770
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.0040a110
mov ecx, dword [ebp - 0x144]
test ecx, ecx
je 0x409bc3
mov eax, dword [ebp - 0x13c]
test eax, eax
je 0x409bc3
push eax
push ecx
call fcn.0040bf30
mov esi, eax
add esp, 8
test esi, esi
jne 0x409be4
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.00444031
add esp, 8
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xe
jb 0x409b0e
mov eax, dword [eax]
push eax
push 0x89
call fcn.0043f1dd
add esp, 8
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2c]
call fcn.00402fe0
mov eax, dword [ebp - 0x13c]
test eax, eax
jns 0x409b4b
neg eax
push eax
lea eax, [ebp - 0x12]
push eax
call fcn.00406c50
lea ecx, [eax - 2]
mov eax, 0x2d
mov word [ecx], ax
jmp 0x409b57
push eax
lea eax, [ebp - 0x12]
push eax
call fcn.00406c50
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 0x409b87
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.0043f1dd
add esp, 8
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x54]
call fcn.00402fe0
push str.hMoudle__NULL
push 0x89
call fcn.0043f1dd
add esp, 8
jmp 0x409be4
cmp dword [ebp - 0x70], 8
lea eax, [ebp - 0x84]
cmovae eax, dword [ebp - 0x84]
push eax
push 0x89
call fcn.0043f1dd
add esp, 8
xor esi, esi
lea ecx, [ebp - 0x12d]
call fcn.00403eb0
mov edx, dword [ebp - 0x88]
cmp edx, 8
jb 0x409c2f
mov ecx, dword [ebp - 0x9c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409c25
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409e4a
push edx
push ecx
call fcn.0059c9cd
add esp, 8
xor eax, eax
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 7
mov word [ebp - 0x9c], ax
jmp 0x4096ab
push edx
push ecx
call fcn.0059c9cd
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 0x409cb6
mov ecx, dword [ebp - 0xe4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409cac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409e4f
push edx
push ecx
call fcn.0059c9cd
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 0x409d07
mov ecx, dword [ebp - 0x6c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409cfd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409e54
push edx
push ecx
call fcn.0059c9cd
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 0x409d59
mov ecx, dword [ebp - 0xfc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409d4f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409e59
push edx
push ecx
call fcn.0059c9cd
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 0x409db6
mov ecx, dword [ebp - 0xcc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409dac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409e5e
push edx
push ecx
call fcn.0059c9cd
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 0x409e0c
mov ecx, dword [ebp - 0x84]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409e02
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409e63
push edx
push ecx
call fcn.0059c9cd
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.0059cf09
mov esp, ebp
pop ebp
ret 0xc
call fcn.005a57f9
call fcn.005a57f9
call fcn.005a57f9
call fcn.005a57f9
call fcn.005a57f9
call fcn.005a57f9
call fcn.005a57f9
call fcn.005a57f9
call fcn.005a57f9
call fcn.005a57f9
call fcn.005a57f9
call fcn.005a57f9
int3