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

Disassembly:
push 0xffffffffffffffff
push 0x4438c9
mov eax, dword fs:[0]
push eax
mov eax, 0x112c
call fcn.0043f560
mov eax, dword [0x451050]
xor eax, esp
mov dword [esp + 0x1128], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x451050]
xor eax, esp
push eax
lea eax, [esp + 0x1140]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1150]
xor ebx, ebx
xor edi, edi
cmp dword [esp + 0x115c], 0xffffffff
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1158]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], ebx
jne 0x411654
mov edx, dword [0x4524fc]
mov dword [esp + 0x115c], edx
mov ecx, 7
xor edx, edx
mov dword [esp + 0x18], edi
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xb4], edi
mov word [esp + 0xa4], dx
mov dword [esp + 0x1148], edi
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], edi
mov word [esp + 0x50], dx
mov byte [esp + 0x1148], 1
cmp eax, edi
je 0x4116e3
mov dword [esp + 0x9c], ecx
xor ecx, ecx
mov word [esp + 0x88], cx
mov ecx, eax
mov dword [esp + 0x98], edi
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x4116b2
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x88]
call fcn.00403960
mov ebx, 1
mov byte [esp + 0x1148], 2
mov eax, esi
mov dword [esp + 0x1c], ebx
jmp 0x4116e8
mov eax, 0x4587a8
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0xa8]
call fcn.004038b0
mov dword [esp + 0x1148], 1
test bl, 1
je 0x411721
cmp dword [esp + 0x9c], 8
jb 0x411721
mov edx, dword [esp + 0x88]
push edx
call fcn.00434772
add esp, 4
push 0xffffffffffffffff
push edi
lea eax, [esp + 0xa8]
lea ecx, [esp + 0x54]
call fcn.004038b0
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x50]
cmp edx, 8
jb 0x411859
mov esi, eax
mov dword [esp + 0x1c], esi
cmp eax, edi
je 0x411774
mov ecx, eax
cmp edx, 8
jae 0x41175a
lea ecx, [esp + 0x50]
cmp ecx, esi
ja 0x411774
mov ecx, eax
cmp edx, 8
jae 0x411769
lea ecx, [esp + 0x50]
mov ebp, dword [esp + 0x60]
lea ecx, [ecx + ebp*2]
cmp esi, ecx
jbe 0x411785
call fcn.004344ed
mov edx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
mov eax, dword [esp + 0x50]
lea ebx, [esp + 0x4c]
mov edi, eax
cmp edx, 8
jae 0x411794
lea edi, [esp + 0x50]
lea edi, [edi + ebp*2]
test edi, edi
je 0x4117bc
mov ecx, eax
cmp edx, 8
jae 0x4117a6
lea ecx, [esp + 0x50]
cmp ecx, edi
ja 0x4117bc
mov ecx, eax
cmp edx, 8
jae 0x4117b5
lea ecx, [esp + 0x50]
lea ecx, [ecx + ebp*2]
cmp edi, ecx
jbe 0x4117cd
call fcn.004344ed
mov edx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
mov eax, dword [esp + 0x50]
cmp edx, 8
jb 0x411866
mov esi, eax
test eax, eax
je 0x4117fb
mov ecx, eax
cmp edx, 8
jae 0x4117e7
lea ecx, [esp + 0x50]
cmp ecx, esi
ja 0x4117fb
cmp edx, 8
jae 0x4117f4
lea eax, [esp + 0x50]
lea edx, [eax + ebp*2]
cmp esi, edx
jbe 0x411800
call fcn.004344ed
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
push eax
mov byte [esp + 0x2c], 0
mov ecx, dword [esp + 0x2c]
push ebx
push ecx
push edx
push edi
mov eax, esi
lea ecx, [esp + 0x3c]
call fcn.00417510
mov ebx, 7
xor ecx, ecx
xor eax, eax
add esp, 0x14
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ecx
mov word [esp + 0x34], ax
mov byte [esp + 0x1148], 3
mov eax, dword [esp + 0xb4]
xor ebp, ebp
mov dword [esp + 0x28], eax
test eax, eax
jbe 0x411bfd
jmp 0x411877
lea esi, [esp + 0x50]
mov dword [esp + 0x1c], esi
jmp 0x41174f
lea esi, [esp + 0x50]
jmp 0x4117dc
mov eax, dword [esp + 0xb4]
cmp ebp, eax
jbe 0x411880
call fcn.004344ed
mov eax, dword [esp + 0xa4]
mov ebx, 8
cmp dword [esp + 0xb8], ebx
jae 0x41189c
lea eax, [esp + 0xa4]
movzx edi, word [eax + ebp*2]
cmp di, 0x25
jne 0x411b78
push 6
push 0x448184
mov eax, 6
mov ecx, ebp
lea edi, [esp + 0x54]
call fcn.00417490
test eax, eax
jne 0x41190d
movzx ecx, word [0x459fda]
movzx edx, word [0x459fd6]
movzx eax, word [0x459fd4]
push ecx
push edx
push eax
push str._d__02d__02d
mov ecx, 0x40
lea ebx, [esp + 0xcc]
call fcn.00401250
mov eax, ebx
add esp, 0x10
lea edx, [eax + 2]
jmp 0x411900
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x411900
jmp 0x41196b
push 6
push str._TIME_
mov eax, 6
mov ecx, ebp
lea edi, [esp + 0x54]
call fcn.00417490
test eax, eax
jne 0x411988
movzx ecx, word [0x459fe0]
movzx edx, word [0x459fde]
movzx eax, word [0x459fdc]
push ecx
push edx
push eax
push str._02d__02d__02d
mov ecx, 0x40
lea ebx, [esp + 0xcc]
call fcn.00401250
mov eax, ebx
add esp, 0x10
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x411960
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xc0]
lea ecx, [esp + 0x34]
call fcn.004037d0
add ebp, 5
jmp 0x411be9
push 7
push str._TITLE_
mov eax, 7
mov ecx, ebp
lea edi, [esp + 0x54]
call fcn.00417490
test eax, eax
jne 0x4119bd
push eax
push 0x458850
or eax, 0xffffffff
lea esi, [esp + 0x38]
call fcn.00403710
add ebp, 6
jmp 0x411be9
push 7
push str._CLASS_
mov eax, 7
mov ecx, ebp
lea edi, [esp + 0x54]
call fcn.00417490
test eax, eax
jne 0x4119f2
push eax
push 0x45886c
or eax, 0xffffffff
lea esi, [esp + 0x38]
call fcn.00403710
add ebp, 6
jmp 0x411be9
push 5
push str._NUM_
mov eax, 5
mov ecx, ebp
lea edi, [esp + 0x54]
call fcn.00417490
test eax, eax
jne 0x411a2d
push 2
mov eax, 0x44820c
lea ecx, [esp + 0x34]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004037d0
add ebp, 4
jmp 0x411be9
push 6
push str._NUM1_
mov eax, 6
mov ecx, ebp
lea edi, [esp + 0x54]
call fcn.00417490
test eax, eax
jne 0x411a68
push 5
mov eax, str._0_1u
lea ecx, [esp + 0x34]
mov dword [esp + 0x1c], 1
call fcn.004037d0
add ebp, 5
jmp 0x411be9
push 6
push ebp
lea ecx, [esp + 0x54]
push ecx
mov edx, str._NUM2_
call fcn.00417400
test eax, eax
jne 0x411a9d
lea edx, [esp + 0x30]
push edx
mov eax, str._0_2u
mov dword [esp + 0x1c], 2
call fcn.00403500
add ebp, 5
jmp 0x411be9
push 6
push ebp
lea eax, [esp + 0x54]
push eax
mov edx, str._NUM3_
call fcn.00417400
test eax, eax
jne 0x411ad2
lea ecx, [esp + 0x30]
push ecx
mov eax, str._0_3u
mov dword [esp + 0x1c], 3
call fcn.00403500
add ebp, 5
jmp 0x411be9
push 6
push ebp
lea edx, [esp + 0x54]
push edx
mov edx, str._NUM4_
call fcn.00417400
test eax, eax
jne 0x411b07
lea eax, [esp + 0x30]
push eax
mov eax, str._0_4u
mov dword [esp + 0x1c], 4
call fcn.00403500
add ebp, 5
jmp 0x411be9
push 6
push ebp
lea ecx, [esp + 0x54]
push ecx
mov edx, str._NUM5_
call fcn.00417400
test eax, eax
jne 0x411b3c
lea edx, [esp + 0x30]
push edx
mov eax, str._0_5u
mov dword [esp + 0x1c], 5
call fcn.00403500
add ebp, 5
jmp 0x411be9
lea edi, [ebp + 1]
lea eax, [esp + 0xa0]
call fcn.004173a0
cmp word [eax], 0x25
jne 0x411b67
lea eax, [esp + 0x30]
push eax
mov eax, 0x4482a0
call fcn.00403500
mov ebp, edi
jmp 0x411be9
lea ecx, [esp + 0x30]
push ecx
mov eax, 0x4482a0
call fcn.00403500
jmp 0x411be9
or edx, 0xffffffff
sub edx, dword [esp + 0x44]
cmp edx, 1
ja 0x411b89
call fcn.00433b93
mov esi, dword [esp + 0x44]
inc esi
cmp esi, 0x7ffffffe
jbe 0x411b9b
call fcn.00433b93
mov eax, dword [esp + 0x48]
cmp eax, esi
jae 0x411c3f
mov eax, dword [esp + 0x44]
push eax
push esi
lea ecx, [esp + 0x38]
push ecx
call fcn.00403b00
test esi, esi
jbe 0x411be9
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], ebx
jae 0x411bc9
lea eax, [esp + 0x34]
mov ecx, dword [esp + 0x44]
mov word [eax + ecx*2], di
mov eax, dword [esp + 0x34]
mov dword [esp + 0x44], esi
cmp dword [esp + 0x48], ebx
jae 0x411be3
lea eax, [esp + 0x34]
xor edx, edx
mov word [eax + esi*2], dx
inc ebp
cmp ebp, dword [esp + 0x28]
jb 0x411870
mov ecx, dword [esp + 0x44]
mov ebx, 7
xor edi, edi
xor esi, esi
cmp ecx, edi
jle 0x411c89
cmp esi, ecx
jbe 0x411c12
call fcn.004344ed
mov eax, dword [esp + 0x34]
mov ebp, 8
cmp dword [esp + 0x48], ebp
jae 0x411c25
lea eax, [esp + 0x34]
movzx eax, word [eax + esi*2]
add eax, 0xffffffde
cmp eax, 0x5a
ja case.0x411c38.35
movzx eax, byte [eax + 0x4121a4]
jmp dword [eax*4 + 0x41219c]
test esi, esi
jne 0x411bb9
cmp eax, ebx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x44], esi
jae 0x411c57
lea eax, [esp + 0x34]
xor edx, edx
mov word [eax], dx
jmp 0x411be9
cmp esi, dword [esp + 0x44]
jbe 0x411c69
call fcn.004344ed
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], ebp
jae 0x411c77
lea eax, [esp + 0x34]
mov ecx, 0x5f
mov word [eax + esi*2], cx
mov ecx, dword [esp + 0x44]
inc esi
cmp esi, ecx
jl 0x411c0b
cmp dword [esp + 0x18], edi
je 0x41203f
xor edx, edx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x98], edi
mov word [esp + 0x88], dx
xor eax, eax
mov dword [esp + 0x80], ebx
mov dword [esp + 0x7c], edi
mov word [esp + 0x6c], ax
mov byte [esp + 0x1148], 5
mov edx, dword [esp + 0x24]
cmp edx, edi
je 0x411cf2
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x411cd2
sub eax, esi
sar eax, 1
push eax
mov eax, edx
lea esi, [esp + 0x88]
call fcn.00403960
jmp 0x411d13
push 0xffffffffffffffff
lea ecx, [esp + 0x88]
push edi
mov eax, 0x4587e0
cmp dword [0x4587f4], edi
ja 0x411d0e
mov eax, 0x45878c
call fcn.004038b0
mov eax, dword [esp + 0x98]
xor ebx, ebx
mov ebp, eax
cmp eax, edi
jbe 0x411dfe
jmp 0x411d37
mov eax, dword [esp + 0x98]
cmp ebx, eax
jbe 0x411d40
call fcn.004344ed
cmp dword [esp + 0x9c], 8
mov eax, dword [esp + 0x88]
jae 0x411d58
lea eax, [esp + 0x88]
movzx edi, word [eax + ebx*2]
cmp di, 0x25
jne 0x411d77
push 2
mov eax, 0x4482a0
lea ecx, [esp + 0x6c]
call fcn.004037d0
jmp 0x411df5
or ecx, 0xffffffff
sub ecx, dword [esp + 0x7c]
cmp ecx, 1
ja 0x411d88
call fcn.00433b93
mov esi, dword [esp + 0x7c]
inc esi
cmp esi, 0x7ffffffe
jbe 0x411d9a
call fcn.00433b93
mov eax, dword [esp + 0x80]
cmp eax, esi
jae 0x411e3c
mov edx, dword [esp + 0x7c]
push edx
push esi
lea eax, [esp + 0x70]
push eax
call fcn.00403b00
mov eax, dword [esp + 0x80]
test esi, esi
jbe 0x411df5
cmp eax, 8
mov eax, dword [esp + 0x6c]
jae 0x411dd1
lea eax, [esp + 0x6c]
mov edx, dword [esp + 0x7c]
mov word [eax + edx*2], di
cmp dword [esp + 0x80], 8
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x7c], esi
jae 0x411def
lea eax, [esp + 0x6c]
xor ecx, ecx
mov word [eax + esi*2], cx
inc ebx
cmp ebx, ebp
jb 0x411d30
mov eax, dword [esp + 0x7c]
test eax, eax
jbe 0x411e58
lea esi, [eax - 1]
cmp esi, eax
jbe 0x411e12
call fcn.004344ed
mov eax, dword [esp + 0x6c]
mov edi, 8
cmp dword [esp + 0x80], edi
jae 0x411e28
lea eax, [esp + 0x6c]
cmp word [eax + esi*2], 0x5c
je 0x411e5d
push 0x5c
lea esi, [esp + 0x6c]
call fcn.0040b8c0
jmp 0x411e5d
test esi, esi
jne 0x411dc2
cmp eax, 8
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x7c], esi
jae 0x411e51
lea eax, [esp + 0x6c]
xor ecx, ecx
mov word [eax], cx
jmp 0x411df5
mov edi, 8
xor edx, edx
push 0x7fe
push edx
lea eax, [esp + 0x946]
push eax
mov word [esp + 0x948], dx
call fcn.00437610
add esp, 0xc
xor ecx, ecx
push 0x7fe
push ecx
lea edx, [esp + 0x146]
push edx
mov word [esp + 0x148], cx
call fcn.00437610
mov esi, dword [esp + 0x78]
add esp, 0xc
cmp dword [esp + 0x80], edi
jae 0x411eae
lea esi, [esp + 0x6c]
lea eax, [esp + 0x13c]
mov ecx, eax
mov edx, 0x400
sub esi, ecx
mov edi, edi
lea ecx, [edx + 0x7ffffbfe]
test ecx, ecx
je 0x411ee0
movzx ecx, word [eax + esi]
test cx, cx
je 0x411ee0
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x411ec0
jmp 0x411ee4
test edx, edx
jne 0x411ee7
sub eax, 2
xor edx, edx
mov word [eax], dx
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], edi
jae 0x411efa
lea eax, [esp + 0x34]
mov esi, 0x400
lea ecx, [esp + 0x13c]
cmp word [ecx], 0
je 0x411f16
add ecx, 2
sub esi, 1
jne 0x411f06
jmp 0x411f34
test esi, esi
je 0x411f34
mov edx, 0x400
sub edx, esi
mov ecx, 0x400
sub ecx, edx
lea edx, [esp + edx*2 + 0x13c]
call fcn.0040d850
mov eax, dword [esp + 0x115c]
push eax
mov edi, 0x400
lea eax, [esp + 0x140]
call fcn.00430b30
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, dword [esp + 0x1c]
add esp, 4
xor esi, esi
inc esi
lea ecx, [esp + 0x13c]
push esi
push ecx
mov ecx, 0x400
lea ebx, [esp + 0x944]
call fcn.00401250
add esp, 8
cmp edi, 1
jne 0x411f84
cmp esi, 9
jmp 0x411fbb
cmp edi, 2
jne 0x411f8e
cmp esi, 0x63
jmp 0x411fbb
cmp edi, 3
jne 0x411f9b
cmp esi, 0x3e7
jmp 0x411fbb
cmp edi, 4
jne 0x411fa8
cmp esi, 0x270f
jmp 0x411fbb
cmp edi, 5
jne 0x411fb5
cmp esi, 0x1869f
jmp 0x411fbb
cmp esi, 0xf423f
jae 0x411fcc
lea edx, [esp + 0x93c]
push edx
call ebp
cmp eax, 0xffffffff
jne 0x411f5c
mov eax, dword [esp + 0x34]
mov edi, 8
cmp dword [esp + 0x48], edi
jae 0x411fdf
lea eax, [esp + 0x34]
mov ecx, dword [esp + 0x1154]
mov ebx, dword [esp + 0x20]
push esi
push eax
call fcn.00401250
add esp, 8
cmp dword [esp + 0x80], edi
jb 0x41200a
mov eax, dword [esp + 0x6c]
push eax
call fcn.00434772
add esp, 4
xor ecx, ecx
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], 0
mov word [esp + 0x6c], cx
cmp dword [esp + 0x9c], edi
jb 0x412074
mov edx, dword [esp + 0x88]
push edx
call fcn.00434772
add esp, 4
jmp 0x412074
cmp dword [esp + 0x48], 8
mov eax, dword [esp + 0x34]
jae 0x41204e
lea eax, [esp + 0x34]
cmp dword [esp + 0x1154], edi
je 0x412074
cmp dword [esp + 0x1154], 0x7fffffff
ja 0x412074
mov ecx, dword [esp + 0x1154]
mov edx, dword [esp + 0x20]
call fcn.004012b0
mov eax, dword [esp + 0x20]
xor ebx, ebx
cmp word [eax], bx
je 0x412108
mov ecx, dword [esp + 0x115c]
mov edi, dword [esp + 0x1154]
push ecx
call fcn.00430b30
mov esi, 8
add esp, 4
cmp dword [esp + 0x48], esi
jb 0x4120b2
mov edx, dword [esp + 0x34]
push edx
call fcn.00434772
add esp, 4
xor eax, eax
mov edi, 7
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], ax
cmp dword [esp + 0x64], esi
jb 0x4120d9
mov ecx, dword [esp + 0x50]
push ecx
call fcn.00434772
add esp, 4
xor edx, edx
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], dx
cmp dword [esp + 0xb8], esi
jb 0x412101
mov eax, dword [esp + 0xa4]
push eax
call fcn.00434772
add esp, 4
mov eax, 1
jmp 0x412171
mov edi, 8
cmp dword [esp + 0x48], edi
jb 0x412120
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00434772
add esp, 4
xor edx, edx
mov esi, 7
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], dx
cmp dword [esp + 0x64], edi
jb 0x412147
mov eax, dword [esp + 0x50]
push eax
call fcn.00434772
add esp, 4
xor ecx, ecx
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], cx
cmp dword [esp + 0xb8], edi
jb 0x41216f
mov edx, dword [esp + 0xa4]
push edx
call fcn.00434772
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x1140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1128]
xor ecx, esp
call fcn.00433c32
add esp, 0x1138
ret