Function at 0x4083b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5920c3
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x61ea64]
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
lea eax, [ebx + 0x14]
mov dword [ebp - 0x120], 0
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.004125f8
mov dword [ebp - 4], 0
lea eax, [ebp - 0xb8]
cmp dword [ebp - 0xa4], 8
cmovae eax, dword [ebp - 0xb8]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.0041c3f7
mov byte [ebp - 4], 1
lea eax, [ebp - 0xa0]
cmp dword [ebp - 0x8c], 8
cmovae eax, dword [ebp - 0xa0]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.0041c372
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00412902
mov byte [ebp - 4], 3
lea eax, [ebp - 0xb8]
cmp dword [ebp - 0xa4], 8
cmovae eax, dword [ebp - 0xb8]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00411947
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00412902
add esp, 0x30
mov byte [ebp - 4], 5
mov esi, dword [ebx]
cmp esi, dword [ebx + 4]
je 0x4088ec
cmp dword [esi + 0x14], 0x10
mov edx, esi
jb 0x4084aa
mov edx, dword [esi]
mov ecx, edx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4084c1
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00401870
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0x58]
push dword [ebp - 0x48]
cmovae ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
mov edi, dword [ebp - 0x40]
push ecx
push dword [ebp - 0x30]
cmovae eax, edi
push eax
call fcn.00409500
add esp, 0x10
test al, al
mov eax, dword [ebp - 0x2c]
jne 0x408544
cmp eax, 0x10
jb 0x408533
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x408529
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408df5
push ecx
push edi
call fcn.00565ee4
add esp, 8
add esi, 0x18
cmp esi, dword [ebx + 4]
jne 0x4084a0
jmp 0x4088ec
cmp eax, 0x10
jb 0x408574
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x40856a
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408df5
push ecx
push edi
call fcn.00565ee4
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0xa0]
mov ecx, esp
push eax
call fcn.00403190
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x88]
push esi
push eax
mov ecx, ebx
call fcn.00407da0
cmp dword [ebp + 0xc], 0
mov byte [ebp - 4], 6
je 0x408619
cmp dword [ebx + 0xb4], 0
je 0x4085d1
push 1
lea eax, [ebp - 0x88]
push eax
sub esp, 0x18
lea ecx, [ebx + 0x14]
mov eax, esp
push ecx
push eax
call fcn.004125f8
mov ecx, dword [ebx + 0xb4]
add esp, 8
push esi
call fcn.004065f0
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x408878
lea eax, [ebp - 0x120]
push eax
sub esp, 0x18
lea eax, [ebp - 0x88]
mov ecx, esp
push eax
call fcn.00403190
call fcn.00415e43
add esp, 0x1c
mov dword [ebx + 0x68], eax
jmp 0x408878
lea ecx, [ebx + 0x14]
push ecx
lea ecx, [ebp - 0xe8]
call fcn.00407500
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x40]
call fcn.00407500
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 8
push str.13221327054209601718227045004444
push eax
call fcn.00416b17
mov esi, eax
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 9
push str.63036957046756381267660968490129
push eax
call fcn.00416b17
push esi
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xa
push eax
call fcn.004121bf
mov byte [ebp - 4], 9
add esp, 0x1c
mov edx, dword [ebp - 0x104]
cmp edx, 0x10
jb 0x4086b7
mov ecx, dword [ebp - 0x118]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4086ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408dfa
push edx
push ecx
call fcn.00565ee4
add esp, 8
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 0xf
mov byte [ebp - 0x118], 0
cmp edx, 0x10
jb 0x408710
mov ecx, dword [ebp - 0x100]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408706
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408dff
push edx
push ecx
call fcn.00565ee4
add esp, 8
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae ecx, dword [ebp - 0x40]
lea eax, [ebp - 0xe8]
mov edi, dword [ebp - 0xd4]
cmp edi, 0x10
mov esi, dword [ebp - 0xe8]
push ecx
push dword [ebp - 0xd8]
cmovae eax, esi
push eax
call fcn.00409500
add esp, 0x10
test al, al
je 0x408774
call fcn.0041d71a
sub esp, 0x18
mov dword [ebx + 0xc], eax
lea eax, [ebx + 0x14]
mov ecx, esp
push eax
call fcn.00407500
mov ecx, ebx
call fcn.00408080
mov dword [ebp - 0x120], eax
call fcn.0041d71a
jmp 0x4087ca
call fcn.0041d71a
sub esp, 0x18
mov dword [ebx + 0xc], eax
lea eax, [ebp - 0xe8]
mov ecx, esp
push eax
call fcn.00407500
mov ecx, ebx
call fcn.00408080
mov dword [ebp - 0x120], eax
test eax, eax
jne 0x4087b9
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.00407500
mov ecx, ebx
call fcn.00408080
mov dword [ebp - 0x120], eax
call fcn.0041d71a
mov edi, dword [ebp - 0xd4]
mov esi, dword [ebp - 0xe8]
sub eax, dword [ebx + 0xc]
cmp dword [ebp - 0x120], 0
mov dword [ebx + 0xc], eax
lea eax, [ebp - 0x28]
jne 0x4087e0
push 1
jmp 0x4087e2
push 2
cmp dword [ebp - 0x14], 0x10
cmovae eax, dword [ebp - 0x28]
push eax
sub esp, 8
call fcn.00403450
mov ecx, eax
call fcn.0040eee0
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x408832
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408828
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408e04
push edx
push ecx
call fcn.00565ee4
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 6
cmp edi, 0x10
jb 0x408878
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x40886e
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408e09
push ecx
push esi
call fcn.00565ee4
add esp, 8
mov eax, dword [ebp - 0x120]
test eax, eax
jne 0x408ac3
push str.size__0
push 0x89
call fcn.0041502d
mov edx, dword [ebp - 0x74]
add esp, 8
cmp edx, 8
jb 0x4088d5
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4088cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408e0e
push edx
push ecx
call fcn.00565ee4
add esp, 8
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x408920
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408916
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408e13
push edx
push ecx
call fcn.00565ee4
add esp, 8
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp edx, 8
jb 0x40896c
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408962
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408e18
push edx
push ecx
call fcn.00565ee4
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
cmp edx, 0x10
jb 0x4089b4
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4089aa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408e1d
push edx
push ecx
call fcn.00565ee4
add esp, 8
mov edx, dword [ebp - 0xbc]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 8
jb 0x408a06
mov ecx, dword [ebp - 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4089fc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408e22
push edx
push ecx
call fcn.00565ee4
add esp, 8
mov edx, dword [ebp - 0x8c]
xor eax, eax
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
cmp edx, 8
jb 0x408a63
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408a59
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408e27
push edx
push ecx
call fcn.00565ee4
add esp, 8
mov edx, dword [ebp - 0xa4]
xor eax, eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
cmp edx, 8
jb 0x408dd5
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408dcb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408e2c
jmp 0x408dcb
lea edi, [ebx + 0x44]
mov dword [ebp - 0x124], 0
push edi
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x11c], 0
push ecx
lea ecx, [ebp - 0x124]
push ecx
push eax
push dword [ebx + 0x68]
call fcn.00409650
mov ecx, dword [ebp - 0x124]
test ecx, ecx
je 0x408d63
mov esi, dword [ebp - 0x11c]
test esi, esi
je 0x408d63
sub esp, 0x18
mov edx, esi
call fcn.0040b330
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x408c10
lea eax, [ebp - 0x100]
push edi
push eax
call fcn.004125f8
add esp, 8
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 8
jb 0x408b41
mov eax, dword [eax]
push eax
push 0x89
call fcn.0041502d
mov byte [ebp - 4], 6
add esp, 8
mov edx, dword [ebp - 0xec]
cmp edx, 8
jb 0x408b93
mov ecx, dword [ebp - 0x100]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408b89
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408e31
push edx
push ecx
call fcn.00565ee4
add esp, 8
mov edx, esi
lea ecx, [ebp - 0x100]
call fcn.00405440
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x14], 8
jb 0x408bac
mov eax, dword [eax]
push eax
push 0x89
call fcn.0041502d
mov byte [ebp - 4], 6
add esp, 8
mov edx, dword [ebp - 0xec]
cmp edx, 8
jb 0x408bfe
mov ecx, dword [ebp - 0x100]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408bf4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408e36
push edx
push ecx
call fcn.00565ee4
add esp, 8
push str.hMoudle__NULL
push 0x89
call fcn.0041502d
add esp, 8
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x408c4d
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408c43
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408e3b
push edx
push ecx
call fcn.00565ee4
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
cmp edx, 0x10
jb 0x408c98
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408c8e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408e40
push edx
push ecx
call fcn.00565ee4
add esp, 8
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp edx, 8
jb 0x408ce4
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408cda
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408e45
push edx
push ecx
call fcn.00565ee4
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
cmp edx, 0x10
jb 0x408d2c
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408d22
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408e4a
push edx
push ecx
call fcn.00565ee4
add esp, 8
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.004015f0
lea ecx, [ebp - 0xa0]
call fcn.004015f0
lea ecx, [ebp - 0xb8]
call fcn.004015f0
mov eax, ebx
jmp 0x408dd7
cmp dword [ebp - 0xa4], 8
lea eax, [ebp - 0xb8]
cmovae eax, dword [ebp - 0xb8]
push eax
push 0x89
call fcn.0041502d
add esp, 8
lea ecx, [ebp - 0x88]
call fcn.004015f0
lea ecx, [ebp - 0x58]
call fcn.004016a0
lea ecx, [ebp - 0x70]
call fcn.004015f0
lea ecx, [ebp - 0x28]
call fcn.004016a0
lea ecx, [ebp - 0xd0]
call fcn.004015f0
lea ecx, [ebp - 0xa0]
call fcn.004015f0
lea ecx, [ebp - 0xb8]
call fcn.004015f0
jmp 0x408dd5
push edx
push ecx
call fcn.00565ee4
add esp, 8
xor eax, eax
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.00565c09
mov esp, ebp
pop ebp
ret 0xc
call fcn.0056e889
call fcn.0056e889
call fcn.0056e889
call fcn.0056e889
call fcn.0056e889
call fcn.0056e889
call fcn.0056e889
call fcn.0056e889
call fcn.0056e889
call fcn.0056e889
call fcn.0056e889
call fcn.0056e889
call fcn.0056e889
call fcn.0056e889
call fcn.0056e889
call fcn.0056e889
call fcn.0056e889
call fcn.0056e889
int3