Function at 0x41bde0
Capabilities:
Check if file exists
Get file attributes
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x60d5f1
push eax
mov dword fs:[0], esp
sub esp, 0x244
mov edx, dword [esp + 0x254]
lea eax, [esp + 0xf4]
push ebx
push ebp
push esi
xor ebx, ebx
push edi
push ebx
push ebx
push ebx
push ebx
push 0x100
lea ecx, [esp + 0x218]
push eax
push ecx
push edx
call fcn.005cc170
add esp, 0x20
cmp eax, ebx
jne 0x41c815
lea eax, [esp + 0x104]
push ebx
push eax
lea ecx, [esp + 0x74]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x7c], ebx
mov word [esp + 0x78], bx
call fcn.00402d00
xor esi, esi
mov dword [esp + 0x25c], ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], ebx
mov word [esp + 0x24], bx
mov ebp, dword [esp + 0x6c]
mov byte [esp + 0x25c], 1
cmp ebp, ebx
jne 0x41be7b
lea ebp, [esp + 0x70]
mov eax, dword [0x6ec760]
cmp eax, ebx
jne 0x41be89
mov eax, 0x6ec764
mov ecx, 0x6be7dc
test ecx, ecx
je 0x41c003
cmp eax, ebx
je 0x41c003
mov edi, dword [esp + 0x26c]
cmp edi, ebx
je 0x41c003
cmp ebp, ebx
je 0x41c003
push eax
lea ecx, [esp + 0x48]
call fcn.0040e020
push edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x260], 2
call fcn.0040e020
push ebp
lea ecx, [esp + 0x64]
mov byte [esp + 0x260], 3
call fcn.0040e020
mov bl, 4
lea ecx, [esp + 0x20]
mov byte [esp + 0x25c], bl
call fcn.00401070
push 0x6be7dc
lea ecx, [esp + 0x30]
call fcn.00402350
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x60]
mov byte [esp + 0x25c], 5
call fcn.004023d0
push eax
call fcn.005de123
add esp, 4
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.004023d0
push eax
call fcn.005de123
mov ebp, eax
add esp, 4
lea ecx, [esp + 0x44]
add ebp, esi
call fcn.004023d0
push eax
call fcn.005de123
add ebp, edi
lea esi, [eax + ebp + 4]
lea ebp, [esi + esi]
push ebp
call fcn.005f6c5c
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x20], edi
je 0x41bfba
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x60]
call fcn.004023d0
push eax
lea ecx, [esp + 0x18]
call fcn.004023d0
push eax
lea ecx, [esp + 0x4c]
call fcn.004023d0
push eax
lea ecx, [esp + 0x38]
call fcn.004023d0
push eax
mov eax, dword [esp + 0x30]
push esi
push eax
call fcn.005de0b3
mov ecx, dword [esp + 0x38]
push ecx
call fcn.005de123
add esp, 0x1c
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x25c], bl
call fcn.00401070
lea ecx, [esp + 0x60]
mov byte [esp + 0x25c], 3
call fcn.00401070
lea ecx, [esp + 0x14]
mov byte [esp + 0x25c], 2
call fcn.00401070
lea ecx, [esp + 0x44]
mov byte [esp + 0x25c], 1
call fcn.00401070
mov esi, dword [esp + 0x20]
xor ebx, ebx
cmp esi, ebx
je 0x41c02d
push esi
call fcn.005de123
lea eax, [esi + eax*2]
add esp, 4
cmp esi, eax
jae 0x41c029
cmp word [esi], 0x2f
jne 0x41c022
mov word [esi], 0x5c
add esi, 2
cmp esi, eax
jb 0x41c017
mov esi, dword [esp + 0x20]
xor ecx, ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x38], ecx
mov word [esp + 0x3c], bx
cmp esi, ebx
mov byte [esp + 0x25c], 6
mov eax, esi
jne 0x41c04e
lea eax, [esp + 0x24]
mov edx, 0x6bc090
test edx, edx
je 0x41c12b
cmp eax, ebx
je 0x41c12b
push eax
lea ecx, [esp + 0x30]
call fcn.0040e020
mov bl, 7
lea ecx, [esp + 0x38]
mov byte [esp + 0x25c], bl
call fcn.00401070
push 0x6bc090
lea ecx, [esp + 0x48]
call fcn.00402350
mov esi, dword [esp + 0x4c]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x25c], 8
call fcn.004023d0
push eax
call fcn.005de123
lea esi, [eax + esi + 2]
lea ebp, [esi + esi]
push ebp
call fcn.005f6c5c
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x38], edi
je 0x41c104
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x2c]
call fcn.004023d0
push eax
lea ecx, [esp + 0x48]
call fcn.004023d0
push eax
mov eax, dword [esp + 0x40]
push esi
push eax
call fcn.005de0b3
mov ecx, dword [esp + 0x48]
push ecx
call fcn.005de123
add esp, 0x14
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x25c], bl
call fcn.00401070
lea ecx, [esp + 0x2c]
mov byte [esp + 0x25c], 6
call fcn.00401070
mov ecx, dword [esp + 0x38]
xor ebx, ebx
cmp ecx, ebx
mov eax, ecx
jne 0x41c135
lea eax, [esp + 0x3c]
push 0x5c
push eax
call fcn.005de073
add esp, 8
cmp eax, ebx
je 0x41c24d
add eax, 2
mov word [eax], bx
mov eax, dword [esp + 0x38]
cmp eax, ebx
jne 0x41c15a
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41c24d
mov eax, dword [esp + 0x38]
cmp eax, ebx
jne 0x41c176
lea eax, [esp + 0x3c]
add eax, 6
push 0x5c
push eax
call fcn.005de61b
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x41c24d
mov eax, dword [esp + 0x38]
cmp eax, ebx
jne 0x41c19a
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov word [esp + 0x1c], bx
call fcn.004023e0
mov eax, dword [esp + 0x14]
mov byte [esp + 0x25c], 9
cmp eax, ebx
mov ecx, eax
jne 0x41c1c7
lea ecx, [esp + 0x18]
mov eax, dword [esp + 0x38]
cmp eax, ebx
jne 0x41c1d3
lea eax, [esp + 0x3c]
mov edx, esi
sub edx, eax
sar edx, 1
mov word [ecx + edx*2], bx
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x41c1e9
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.00495540
add esp, 8
test eax, eax
jne 0x41c211
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x41c203
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.00495720
add esp, 8
test eax, eax
je 0x41c23c
add esi, 2
push 0x5c
push esi
call fcn.005de61b
add esp, 8
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x25c], 6
call fcn.00401070
cmp esi, ebx
jne 0x41c18e
jmp 0x41c24d
lea ecx, [esp + 0x14]
mov byte [esp + 0x25c], 6
call fcn.00401070
push 0x2000
call fcn.005de9fe
add esp, 4
cmp eax, ebx
mov dword [esp + 0x5c], eax
jne 0x41c2a2
lea ecx, [esp + 0x38]
mov byte [esp + 0x25c], 1
call fcn.00401070
lea ecx, [esp + 0x20]
mov byte [esp + 0x25c], 0
call fcn.00401070
lea ecx, [esp + 0x6c]
mov dword [esp + 0x25c], 0xffffffff
call fcn.00401070
mov eax, 0xffffff98
jmp 0x41c815
xor edi, edi
mov byte [esp + 0x13], 0
mov dword [esp + 0x50], edi
mov dword [esp + 0x58], edi
mov word [esp + 0x54], di
mov eax, dword [esp + 0x264]
mov byte [esp + 0x25c], 0xa
push eax
call fcn.005cc620
mov ebx, eax
add esp, 4
cmp ebx, edi
jne 0x41c7b2
mov eax, dword [esp + 0x20]
cmp eax, edi
jne 0x41c2e4
lea eax, [esp + 0x24]
push 0x6be7bc
push eax
call fcn.005df7bf
mov esi, eax
add esp, 8
cmp esi, edi
jne 0x41c40a
mov eax, dword [esp + 0x20]
cmp eax, edi
jne 0x41c308
lea eax, [esp + 0x24]
mov ecx, 0x6be86c
test ecx, ecx
je 0x41c3e1
cmp eax, edi
je 0x41c3e1
push eax
lea ecx, [esp + 0x30]
call fcn.0040e020
lea ecx, [esp + 0x50]
mov byte [esp + 0x25c], 0xb
call fcn.00401070
push 0x6be86c
lea ecx, [esp + 0x48]
call fcn.00402350
mov esi, dword [esp + 0x4c]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x25c], 0xc
call fcn.004023d0
push eax
call fcn.005de123
lea esi, [eax + esi + 2]
lea ebp, [esi + esi]
push ebp
call fcn.005f6c5c
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x50], edi
je 0x41c3bd
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x2c]
call fcn.004023d0
push eax
lea ecx, [esp + 0x48]
call fcn.004023d0
push eax
mov eax, dword [esp + 0x58]
push esi
push eax
call fcn.005de0b3
mov ecx, dword [esp + 0x60]
push ecx
call fcn.005de123
add esp, 0x14
mov dword [esp + 0x58], eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x25c], 0xb
call fcn.00401070
lea ecx, [esp + 0x2c]
mov byte [esp + 0x25c], 0xa
call fcn.00401070
xor edi, edi
mov eax, dword [esp + 0x50]
cmp eax, edi
jne 0x41c3ed
lea eax, [esp + 0x54]
push 0x6be7bc
push eax
call fcn.005df7bf
mov esi, eax
add esp, 8
cmp esi, edi
je 0x41c7b2
mov byte [esp + 0x13], 1
mov ebp, dword [esp + 0x5c]
mov edx, dword [esp + 0x264]
push 0x2000
push ebp
push edx
call fcn.005cc960
mov ebx, eax
add esp, 0xc
cmp ebx, edi
jl 0x41c45f
jle 0x41c45f
push esi
push 1
push ebx
push ebp
call fcn.005df655
add esp, 0x10
cmp eax, 1
jne 0x41c45c
mov eax, dword [esp + 0x264]
push 0x2000
push ebp
push eax
call fcn.005cc960
mov ebx, eax
add esp, 0xc
cmp ebx, edi
jge 0x41c42a
jmp 0x41c45f
or ebx, 0xffffffff
push esi
call fcn.005df5d8
lea ecx, [esp + 0x108]
push 0x6be858
push ecx
call fcn.005de210
add esp, 0xc
test eax, eax
jne 0x41c49b
lea edx, [esp + 0x104]
push 0x6be840
push edx
call fcn.005de210
add esp, 8
test eax, eax
je 0x41c706
mov al, byte [esp + 0x13]
test al, al
je 0x41c4b1
mov eax, dword [esp + 0x50]
cmp eax, edi
jne 0x41c4bd
lea eax, [esp + 0x54]
jmp 0x41c4bd
mov eax, dword [esp + 0x20]
cmp eax, edi
jne 0x41c4bd
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x64]
mov dword [esp + 0x64], edi
mov dword [esp + 0x6c], edi
mov word [esp + 0x68], di
call fcn.004023e0
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], edi
mov word [esp + 0x18], di
lea eax, [esp + 0x104]
push 0x6be858
push eax
mov byte [esp + 0x264], 0xe
call fcn.005de210
add esp, 8
mov edi, 0x6be81c
test eax, eax
jne 0x41c50c
mov edi, 0x6be7f0
mov esi, dword [0x6ec738]
test esi, esi
jne 0x41c51b
mov esi, 0x6ec73c
mov ecx, 0x6bc11c
test ecx, ecx
je 0x41c643
test esi, esi
je 0x41c643
test edi, edi
je 0x41c643
push ecx
lea ecx, [esp + 0x7c]
call fcn.00402350
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x260], 0xf
call fcn.0040e020
push edi
lea ecx, [esp + 0x48]
mov byte [esp + 0x260], 0x10
call fcn.0040e020
lea ecx, [esp + 0x14]
mov byte [esp + 0x25c], 0x11
call fcn.00401070
mov esi, dword [esp + 0x80]
lea ecx, [esp + 0x44]
call fcn.004023d0
push eax
call fcn.005de123
add esp, 4
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.004023d0
push eax
call fcn.005de123
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005f6c5c
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x14], edi
je 0x41c60c
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x44]
call fcn.004023d0
push eax
lea ecx, [esp + 0x30]
call fcn.004023d0
push eax
lea ecx, [esp + 0x80]
call fcn.004023d0
push eax
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.005de0b3
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005de123
add esp, 0x18
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x25c], 0x10
call fcn.00401070
lea ecx, [esp + 0x2c]
mov byte [esp + 0x25c], 0xf
call fcn.00401070
lea ecx, [esp + 0x78]
mov byte [esp + 0x25c], 0xe
call fcn.00401070
mov ebp, dword [esp + 0x5c]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x41c64f
lea eax, [esp + 0x18]
push 0
push 0
push eax
lea ecx, [esp + 0x6c]
call fcn.004023d0
push eax
call fcn.004951a0
add esp, 0x10
test eax, eax
jne 0x41c6e4
lea ecx, [esp + 0x2c]
call fcn.0041c830
lea ecx, [esp + 0x14]
mov byte [esp + 0x25c], 0x12
call fcn.004023d0
push eax
push 0x6be7ec
lea ecx, [esp + 0x34]
call fcn.0041a640
push 0
push 0
lea ecx, [esp + 0x34]
call fcn.004023d0
push eax
lea ecx, [esp + 0x6c]
call fcn.004023d0
push eax
call fcn.004951a0
add esp, 0x10
test eax, eax
je 0x41c6d3
lea ecx, [esp + 0x14]
call fcn.004023d0
push eax
lea ecx, [esp + 0x30]
call fcn.004023d0
push eax
call fcn.0041b640
add esp, 8
lea ecx, [esp + 0x2c]
mov byte [esp + 0x25c], 0xe
call fcn.00401070
lea ecx, [esp + 0x14]
mov byte [esp + 0x25c], 0xd
call fcn.00401070
lea ecx, [esp + 0x60]
mov byte [esp + 0x25c], 0xa
call fcn.00401070
mov al, byte [esp + 0x13]
test al, al
je 0x41c7b6
lea edx, [esp + 0x104]
push 0x6be7e4
push edx
call fcn.005de210
add esp, 8
test eax, eax
je 0x41c794
lea eax, [esp + 0xc4]
push 0x40
push eax
lea ecx, [esp + 0x28]
call fcn.004023d0
push eax
call fcn.0041b660
add esp, 0xc
test eax, eax
je 0x41c787
lea ecx, [esp + 0x84]
push 0x40
push ecx
lea ecx, [esp + 0x58]
call fcn.004023d0
push eax
call fcn.0041b660
add esp, 0xc
test eax, eax
je 0x41c787
lea edx, [esp + 0x84]
lea eax, [esp + 0xc4]
push edx
push eax
call fcn.005de4a0
add esp, 8
test eax, eax
je 0x41c794
mov ecx, dword [esp + 0x274]
mov dword [ecx], 1
lea ecx, [esp + 0x20]
call fcn.004023d0
push eax
lea ecx, [esp + 0x54]
call fcn.004023d0
push eax
call fcn.0041b640
add esp, 8
jmp 0x41c7b6
mov ebp, dword [esp + 0x5c]
mov edx, dword [esp + 0x264]
push edx
call fcn.005ccb50
push ebp
call fcn.005ddf8a
add esp, 8
lea ecx, [esp + 0x50]
mov byte [esp + 0x25c], 6
call fcn.00401070
lea ecx, [esp + 0x38]
mov byte [esp + 0x25c], 1
call fcn.00401070
lea ecx, [esp + 0x20]
mov byte [esp + 0x25c], 0
call fcn.00401070
lea ecx, [esp + 0x6c]
mov dword [esp + 0x25c], 0xffffffff
call fcn.00401070
mov eax, ebx
mov ecx, dword [esp + 0x254]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x250
ret