Function at 0x41ab30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cc883
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x667ce0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x15c], esi
mov dword [ebp - 0x154], edx
test eax, eax
je 0x41b6fe
test ecx, ecx
je 0x41b6fe
lea eax, [ebp - 0x130]
push eax
call fcn.004400b4
add esp, 4
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 0
jb 0x41abaf
mov eax, dword [eax]
push 0x656858
push str.5c9be
push str.BKOI
push eax
lea eax, [ebp - 0x148]
push 0x5d4e0c
push eax
call fcn.00453d37
add esp, 0x18
lea ecx, [ebp - 0x130]
call fcn.00402fe0
xor eax, eax
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 7
mov word [ebp - 0x100], ax
mov byte [ebp - 4], 3
test esi, esi
je 0x41ac2c
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ac10
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x100]
call fcn.00403240
call fcn.00404590
mov ecx, eax
call fcn.0043c9f8
mov edx, eax
mov dword [ebp - 0x120], 0
mov ecx, edx
mov dword [ebp - 0x11c], 7
xor eax, eax
mov word [ebp - 0x130], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ac60
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x130]
call fcn.00403240
mov byte [ebp - 4], 4
call fcn.00404590
mov ecx, eax
call fcn.0043c9e0
mov edx, eax
mov dword [ebp - 0x30], 0
mov ecx, edx
mov dword [ebp - 0x2c], 7
xor eax, eax
mov word [ebp - 0x40], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41aca7
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00403240
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 0x40]
cmp edi, 8
mov esi, dword [ebp - 0x30]
cmovae eax, ecx
mov byte [ebp - 4], 5
cmp word [eax + esi*2 - 2], 0x5c
jne 0x41ad10
lea eax, [esi - 1]
push eax
push 0
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x40]
call fcn.0041b8b0
push eax
lea ecx, [ebp - 0x40]
call fcn.00406e80
lea ecx, [ebp - 0x118]
call fcn.00402fe0
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x14c], 2
nop word [eax + eax]
cmp edi, 8
lea edx, [ebp - 0x40]
cmovae edx, ecx
test esi, esi
je 0x41ad55
or ecx, 0xffffffff
lea eax, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0x5c
lea ecx, [edx + ecx*2]
je 0x41ad4f
cmp ecx, edx
je 0x41ad55
sub ecx, 2
cmp word [ecx], 0x5c
jne 0x41ad42
sub ecx, edx
sar ecx, 1
jmp 0x41ad58
or ecx, 0xffffffff
cmp ecx, 0xffffffff
je 0x41adc6
xor eax, eax
mov dword [ebp - 0x48], 0
cmp esi, ecx
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x44], 7
cmovb ecx, esi
cmp edi, 8
push ecx
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x58]
push eax
call fcn.00403240
lea ecx, [ebp - 0x40]
call fcn.00402fe0
movups xmm0, xmmword [ebp - 0x58]
xor eax, eax
lea ecx, [ebp - 0x58]
mov word [ebp - 0x58], ax
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [ebp - 0x48]
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
call fcn.00402fe0
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub dword [ebp - 0x14c], 1
mov ecx, dword [ebp - 0x40]
jne 0x41ad20
push 1
push 0x5d4964
lea ecx, [ebp - 0x40]
call fcn.00405a30
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xb8]
call fcn.00403d20
mov edi, dword [ebp - 0x150]
mov ecx, edi
mov byte [ebp - 4], 6
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ae03
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0xb8]
call fcn.00405a30
lea eax, [ebp - 0xb8]
push eax
call fcn.004436bb
add esp, 4
test eax, eax
jne 0x41ae44
push 1
push 0x5d4964
lea ecx, [ebp - 0xb8]
call fcn.00405a30
cmp dword [ebp - 0xa4], 8
lea eax, [ebp - 0xb8]
cmovae eax, dword [ebp - 0xb8]
push eax
call fcn.00448b9a
add esp, 4
cmp dword [ebp - 0x138], 0
je 0x41b3cb
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0xd0]
call fcn.00403d20
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 7
push eax
call fcn.004441ad
cmp dword [ebp - 0x134], 8
lea eax, [ebp - 0x148]
cmovae eax, dword [ebp - 0x148]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00447bb6
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 8
push eax
call fcn.004441ad
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0041a870
add esp, 0x18
test al, al
je 0x41af20
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
sub esp, 0x18
mov esi, esp
mov ecx, edx
xor eax, eax
mov dword [esi + 0x10], 0
lea edi, [ecx + 2]
mov dword [esi + 0x14], 7
mov word [esi], ax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41af00
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00403240
call fcn.0044a088
add esp, 0x18
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x14c], 2
cmp edi, 8
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
test esi, esi
je 0x41af66
lea eax, [esi - 1]
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0x5c
lea eax, [edx + ecx*2]
je 0x41af60
cmp eax, edx
je 0x41af66
sub eax, 2
cmp word [eax], 0x5c
jne 0x41af53
sub eax, edx
sar eax, 1
jmp 0x41af69
or eax, 0xffffffff
cmp eax, 0xffffffff
je 0x41afcd
xor ecx, ecx
mov dword [ebp - 0x90], 0
cmp esi, eax
mov word [ebp - 0xa0], cx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x8c], 7
cmovb eax, esi
cmp edi, 8
push eax
cmovae ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0xa0]
call fcn.00403240
lea ecx, [ebp - 0x28]
call fcn.00402fe0
movups xmm0, xmmword [ebp - 0xa0]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [ebp - 0x90]
movq qword [ebp - 0x18], xmm0
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
sub dword [ebp - 0x14c], 1
jne 0x41af30
test esi, esi
je 0x41b003
lea eax, [ebp - 0xb8]
push eax
call fcn.004436bb
add esp, 4
test eax, eax
jne 0x41b000
push 1
push 0x5d4964
lea ecx, [ebp - 0x28]
call fcn.00405a30
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
push 1
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 9
push ecx
cmp edi, 8
lea eax, [ebp - 0x28]
push str.BKcince.ini
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00449cec
mov esi, dword [ebp - 0x4c]
add esp, 0x10
mov edi, dword [ebp - 0x48]
cmp esi, edi
je 0x41b26a
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x41b052
mov edx, dword [esi]
mov ecx, edx
mov dword [ebp - 0x90], 0
xor eax, eax
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b074
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xa0]
call fcn.00403240
cmp dword [ebp - 0x8c], 8
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0xa
cmovae eax, dword [ebp - 0xa0]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.00447bb6
mov edi, eax
add esp, 8
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x41b12d
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x41b0fb
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b0f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b71b
push edx
push ecx
call fcn.0059c9cd
add esp, 8
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [ebp - 0x104]
cmp edx, 8
jb 0x41b16d
mov ecx, dword [ebp - 0x118]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b163
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b71b
push edx
push ecx
call fcn.0059c9cd
add esp, 8
lea eax, [ebp - 0x28]
push eax
call fcn.004441ad
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0xd0]
add esp, 4
lea edi, [ebp - 0x28]
cmp dword [ebp - 0xbc], 8
cmovae ecx, dword [ebp - 0xd0]
cmp dword [ebp - 0x14], 8
cmovae edi, dword [ebp - 0x28]
cmp edx, dword [ebp - 0xc0]
jne 0x41b1c3
test edx, edx
je 0x41b215
sub edi, ecx
nop dword [eax]
mov ax, word [ecx + edi]
cmp ax, word [ecx]
jne 0x41b1c3
add ecx, 2
sub edx, 1
jne 0x41b1b0
jmp 0x41b215
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
sub esp, 0x18
mov edi, esp
mov ecx, edx
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea eax, [ecx + 2]
mov dword [ebp - 0x14c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b1f1
sub ecx, dword [ebp - 0x14c]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00403240
call fcn.0044a088
add esp, 0x18
mov edx, dword [ebp - 0x8c]
mov byte [ebp - 4], 9
cmp edx, 8
jb 0x41b259
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b24f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b71b
push edx
push ecx
call fcn.0059c9cd
add esp, 8
mov edi, dword [ebp - 0x48]
add esi, 0x18
cmp esi, edi
jne 0x41b048
mov esi, dword [ebp - 0x4c]
mov byte [ebp - 4], 8
test esi, esi
je 0x41b32f
cmp esi, edi
je 0x41b2d6
nop word [eax + eax]
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x41b2b9
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x41b2af
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b71b
mov eax, edx
push ecx
push eax
call fcn.0059c9cd
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
add esi, 0x18
cmp esi, edi
jne 0x41b280
mov esi, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x44]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x41b310
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b71b
push ecx
push esi
call fcn.0059c9cd
add esp, 8
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x41b36d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b363
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b720
push edx
push ecx
call fcn.0059c9cd
add esp, 8
mov edx, dword [ebp - 0xbc]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x41b3c5
mov ecx, dword [ebp - 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b3bb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b725
push edx
push ecx
call fcn.0059c9cd
add esp, 8
mov edi, dword [ebp - 0x150]
mov eax, dword [0x66931c]
test eax, eax
jne 0x41b403
push 0x15c
call fcn.0059c99d
add esp, 4
mov dword [ebp - 0x14c], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x41b3f8
mov ecx, eax
call fcn.004394d0
jmp 0x41b3fa
xor eax, eax
mov byte [ebp - 4], 6
mov dword [0x66931c], eax
mov ecx, eax
call fcn.0043c9f8
mov edx, eax
mov dword [ebp - 0xd8], 0
mov ecx, edx
mov dword [ebp - 0xd4], 7
xor eax, eax
mov word [ebp - 0xe8], ax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b430
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xe8]
call fcn.00403240
push 0xb
push str.BKRtron.exe
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0xc
call fcn.00405a30
push dword [ebp - 0x158]
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0041a8c0
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x70]
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 0xd
cmovae ecx, dword [ebp - 0x70]
cmp dword [ebp - 0xd4], 8
push ecx
cmovae eax, dword [ebp - 0xe8]
push eax
call fcn.0044677c
add esp, 0x14
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
cmovae eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41b671
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x88]
call fcn.00403d20
push 0xb
push str.BKcince.ini
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xe
call fcn.00405a30
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmovae eax, dword [ebp - 0x88]
push eax
push dword [ebp - 0x154]
push str.6b982
push 0x5d5da8
call esi
cmp dword [ebp - 0x74], 8
lea ecx, [ebp - 0x88]
lea eax, [ebp - 0x70]
cmovae ecx, dword [ebp - 0x88]
cmp dword [ebp - 0x5c], 8
push ecx
cmovae eax, dword [ebp - 0x70]
push eax
push str.5c9be
push str.BKOI
call esi
cmp dword [ebp - 0x74], 8
lea ecx, [ebp - 0x88]
lea eax, [ebp - 0x100]
cmovae ecx, dword [ebp - 0x88]
cmp dword [ebp - 0xec], 8
push ecx
cmovae eax, dword [ebp - 0x100]
push eax
push str.51764
push str.BKOI
call esi
lea eax, [ebp - 0x118]
push eax
call fcn.004400b4
add esp, 4
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xf
cmovae ecx, dword [ebp - 0x70]
cmp dword [eax + 0x14], 8
jb 0x41b594
mov eax, dword [eax]
push ecx
push str.5c9be
push str.BKOI
push eax
push 0x5d4e0c
call fcn.00454442
mov edx, dword [ebp - 0x104]
add esp, 0x14
mov byte [ebp - 4], 0xe
cmp edx, 8
jb 0x41b5f1
mov ecx, dword [ebp - 0x118]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b5e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b72a
push edx
push ecx
call fcn.0059c9cd
add esp, 8
push dword [ebp - 0x154]
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
push dword [ebp - 0x15c]
cmovae eax, dword [ebp - 0x70]
push dword [ebp - 0x158]
push edi
push eax
push 0xa5
call fcn.0043f1dd
mov edx, dword [ebp - 0x74]
add esp, 0x18
cmp edx, 8
jb 0x41b65a
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b650
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b72f
push edx
push ecx
call fcn.0059c9cd
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 - 0x5c]
cmp edx, 8
jb 0x41b6ab
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b6a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b734
push edx
push ecx
call fcn.0059c9cd
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
call fcn.00402fe0
lea ecx, [ebp - 0xb8]
call fcn.00402fe0
lea ecx, [ebp - 0x40]
call fcn.00402fe0
lea ecx, [ebp - 0x130]
call fcn.00402fe0
lea ecx, [ebp - 0x100]
call fcn.00402fe0
lea ecx, [ebp - 0x148]
call fcn.00402fe0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059cf09
mov esp, ebp
pop ebp
ret 0x10
call fcn.005a57f9
call fcn.005a57f9
call fcn.005a57f9
call fcn.005a57f9
call fcn.005a57f9
call fcn.005a57f9
int3