Function at 0x41e3c0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x50ce50
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x53577c]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53577c]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x94]
mov esi, ecx
xor ebx, ebx
push 0xc
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], eax
mov dword [eax], ebx
call fcn.00453dd6
add esp, 4
cmp eax, ebx
je 0x41e436
mov dword [eax + 4], ebx
or ebp, 0xffffffff
mov dword [eax], vtable.NKZ::CInFileStream.0
mov dword [eax + 8], ebp
mov edi, eax
jmp 0x41e43b
xor edi, edi
or ebp, 0xffffffff
mov dword [esp + 0x14], edi
cmp edi, ebx
je 0x41e44b
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
push edi
call edx
mov dword [esp + 0x88], ebx
cmp dword [esi + 0x18], 8
jb 0x41e45d
mov esi, dword [esi + 4]
jmp 0x41e460
add esi, 4
mov eax, dword [edi + 8]
cmp eax, ebp
je 0x41e471
push eax
call dword [0x50f1f4]
mov dword [edi + 8], ebp
push ebx
push ebx
push 3
push ebx
push 1
push 0x80000000
push esi
call dword [0x50f198]
mov dword [edi + 8], eax
cmp eax, ebp
jne 0x41e4ac
call fcn.0041c390
mov esi, eax
cmp esi, ebx
je 0x41e4ac
mov dword [esp + 0x88], ebp
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov eax, esi
jmp 0x41e8cc
push 0x18
call fcn.00453dd6
add esp, 4
cmp eax, ebx
je 0x41e4c7
push ebx
push ebx
mov esi, eax
call fcn.0041c0f0
mov ebp, eax
jmp 0x41e4c9
xor ebp, ebp
mov dword [esp + 0x1c], ebp
cmp ebp, ebx
je 0x41e4da
mov edx, dword [ebp]
mov eax, dword [edx + 4]
push ebp
call eax
push 0x2a
lea ecx, [esp + 0x54]
push ebx
push ecx
mov byte [esp + 0x94], 1
call fcn.00453ec0
add esp, 0xc
mov eax, ebp
lea esi, [esp + 0x50]
call fcn.0041cd30
mov esi, eax
cmp esi, ebx
je 0x41e531
mov byte [esp + 0x88], bl
cmp ebp, ebx
je 0x41e517
mov edx, dword [ebp]
mov eax, dword [edx + 8]
push ebp
call eax
mov dword [esp + 0x88], 0xffffffff
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
mov eax, esi
jmp 0x41e8cc
movzx esi, word [esp + 0x70]
mov byte [esp + 0x88], bl
cmp ebp, ebx
je 0x41e54a
mov eax, dword [ebp]
mov ecx, dword [eax + 8]
push ebp
call ecx
mov dword [esp + 0x88], 0xffffffff
mov edx, dword [edi]
mov eax, dword [edx + 8]
push edi
call eax
cmp si, bx
jne 0x41e56c
mov eax, 0x80004005
jmp 0x41e8cc
dec esi
movzx esi, si
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], esi
cmp si, bx
jbe 0x41e8c0
jmp 0x41e594
mov esi, dword [esp + 0x20]
xor ecx, ecx
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], cx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x8c], 2
call fcn.0041d6c0
test eax, eax
je 0x41e7ad
mov ebp, 8
cmp si, 1
jne 0x41e669
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x4c], ebp
jae 0x41e5e5
lea eax, [esp + 0x38]
push eax
call dword [0x50f3d4]
test eax, eax
jne 0x41e624
push 1
push 0xffffffffffffffff
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x20], 0x2e
call fcn.0040b660
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x3c]
call fcn.00406a30
push str..exe
lea ecx, [esp + 0x38]
call fcn.004043f0
mov eax, dword [esp + 0x38]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x4c], ebp
jae 0x41e63a
lea eax, [esp + 0x38]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x20]
call fcn.0041c3b0
add esp, 4
cmp eax, ebx
jl 0x41e7c2
cmp dword [esp + 0x1c], 0x7ea5a6b
jne 0x41e7c2
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], edx
push 0xc
call fcn.00453dd6
add esp, 4
cmp eax, ebx
je 0x41e68b
mov dword [eax + 4], ebx
mov dword [eax], vtable.NKZ::CInFileStream.0
mov dword [eax + 8], 0xffffffff
mov edi, eax
jmp 0x41e68d
xor edi, edi
mov dword [esp + 0x14], edi
cmp edi, ebx
je 0x41e69d
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
mov byte [esp + 0x88], 3
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x4c], ebp
jae 0x41e6b3
lea eax, [esp + 0x38]
push eax
mov esi, edi
call fcn.0041c9a0
cmp eax, ebx
jl 0x41e7de
mov esi, dword [esp + 0x18]
cmp esi, ebx
je 0x41e6df
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
push ebx
push ebx
push ebx
push esi
push edi
call eax
cmp eax, ebx
jl 0x41e800
push 0x18
call fcn.00453dd6
add esp, 4
cmp eax, ebx
je 0x41e6fa
push ebx
push esi
mov esi, eax
call fcn.0041c0f0
mov ebp, eax
jmp 0x41e6fc
xor ebp, ebp
mov dword [esp + 0x30], ebp
cmp ebp, ebx
je 0x41e70d
mov ecx, dword [ebp]
mov edx, dword [ecx + 4]
push ebp
call edx
push 0x2a
lea eax, [esp + 0x54]
push ebx
push eax
mov byte [esp + 0x94], 4
call fcn.00453ec0
add esp, 0xc
mov eax, ebp
lea esi, [esp + 0x50]
call fcn.0041cd30
cmp eax, ebx
jl 0x41e81f
mov esi, dword [esp + 0x20]
cmp word [esp + 0x70], si
jne 0x41e84a
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x34]
call fcn.004052d0
mov byte [esp + 0x88], 3
cmp ebp, ebx
je 0x41e76d
mov edx, dword [ebp]
mov eax, dword [edx + 8]
push ebp
call eax
mov byte [esp + 0x88], 2
cmp edi, ebx
je 0x41e781
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
lea ecx, [esp + 0x34]
mov dword [esp + 0x88], 0xffffffff
call fcn.00404350
add esi, 0xffff
mov dword [esp + 0x20], esi
cmp si, bx
ja 0x41e590
jmp 0x41e8c0
cmp dword [esp + 0x4c], 8
jb 0x41e8c0
mov eax, dword [esp + 0x38]
push eax
jmp 0x41e8b8
cmp dword [esp + 0x4c], ebp
jb 0x41e881
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00453344
add esp, 4
jmp 0x41e881
mov byte [esp + 0x88], 2
cmp edi, ebx
je 0x41e7f2
mov edx, dword [edi]
mov eax, dword [edx + 8]
push edi
call eax
lea ecx, [esp + 0x34]
call fcn.00404350
jmp 0x41e881
mov byte [esp + 0x88], 2
cmp edi, ebx
je 0x41e814
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
lea ecx, [esp + 0x34]
call fcn.00404350
jmp 0x41e881
mov byte [esp + 0x88], 3
cmp ebp, ebx
je 0x41e834
mov eax, dword [ebp]
mov ecx, dword [eax + 8]
push ebp
call ecx
mov byte [esp + 0x88], 2
cmp edi, ebx
je 0x41e873
mov edx, dword [edi]
mov eax, dword [edx + 8]
push edi
call eax
jmp 0x41e873
mov byte [esp + 0x88], 3
cmp ebp, ebx
je 0x41e85f
mov ecx, dword [ebp]
mov edx, dword [ecx + 8]
push ebp
call edx
mov byte [esp + 0x88], 2
cmp edi, ebx
je 0x41e873
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
lea ecx, [esp + 0x34]
call fcn.00404350
mov ebp, 8
xor edx, edx
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], dx
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x8c], 5
call fcn.0041d3c0
cmp dword [esp + 0x4c], ebp
jb 0x41e8c0
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00453344
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
mov dword [edx], eax
xor eax, eax
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00453735
add esp, 0x78
ret 8