Function at 0x41ab80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cc753
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x664340]
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 0x41b74e
test ecx, ecx
je 0x41b74e
lea eax, [ebp - 0x130]
push eax
call fcn.004523d4
add esp, 4
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 0
jb 0x41abff
mov eax, dword [eax]
push 0x6568a4
push str.5c9be
push str.BKOI
push eax
lea eax, [ebp - 0x148]
push 0x5d4df4
push eax
call fcn.00464f63
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 0x41ac7c
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ac60
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x100]
call fcn.00403240
call fcn.00404470
mov ecx, eax
call fcn.0044f059
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 0x41acb0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x130]
call fcn.00403240
mov byte [ebp - 4], 4
call fcn.00404470
mov ecx, eax
call fcn.0044f041
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 0x41acf7
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 0x41ad60
lea eax, [esi - 1]
push eax
push 0
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x40]
call fcn.0041b790
push eax
lea ecx, [ebp - 0x40]
call fcn.00406eb0
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 0x41ada5
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 0x41ad9f
cmp ecx, edx
je 0x41ada5
sub ecx, 2
cmp word [ecx], 0x5c
jne 0x41ad92
sub ecx, edx
sar ecx, 1
jmp 0x41ada8
or ecx, 0xffffffff
cmp ecx, 0xffffffff
je 0x41ae16
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 0x41ad70
push 1
push 0x5d4d80
lea ecx, [ebp - 0x40]
call fcn.004058f0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xb8]
call fcn.00403ce0
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 0x41ae53
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0xb8]
call fcn.004058f0
lea eax, [ebp - 0xb8]
push eax
call fcn.004555f3
add esp, 4
test eax, eax
jne 0x41ae94
push 1
push 0x5d4d80
lea ecx, [ebp - 0xb8]
call fcn.004058f0
cmp dword [ebp - 0xa4], 8
lea eax, [ebp - 0xb8]
cmovae eax, dword [ebp - 0xb8]
push eax
call fcn.00459ec1
add esp, 4
cmp dword [ebp - 0x138], 0
je 0x41b41b
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0xd0]
call fcn.00403ce0
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 7
push eax
call fcn.004560e5
cmp dword [ebp - 0x134], 8
lea eax, [ebp - 0x148]
cmovae eax, dword [ebp - 0x148]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0045923f
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 8
push eax
call fcn.004560e5
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0041a8c0
add esp, 0x18
test al, al
je 0x41af70
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 0x41af50
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00403240
call fcn.0045b3af
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 0x41afb6
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 0x41afb0
cmp eax, edx
je 0x41afb6
sub eax, 2
cmp word [eax], 0x5c
jne 0x41afa3
sub eax, edx
sar eax, 1
jmp 0x41afb9
or eax, 0xffffffff
cmp eax, 0xffffffff
je 0x41b01d
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 0x41af80
test esi, esi
je 0x41b053
lea eax, [ebp - 0xb8]
push eax
call fcn.004555f3
add esp, 4
test eax, eax
jne 0x41b050
push 1
push 0x5d4d80
lea ecx, [ebp - 0x28]
call fcn.004058f0
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.0045b013
mov esi, dword [ebp - 0x4c]
add esp, 0x10
mov edi, dword [ebp - 0x48]
cmp esi, edi
je 0x41b2ba
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x41b0a2
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 0x41b0c4
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.0045923f
mov edi, eax
add esp, 8
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x41b17d
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x41b14b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b141
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b76b
push edx
push ecx
call fcn.0044a315
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 0x41b1bd
mov ecx, dword [ebp - 0x118]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b1b3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b76b
push edx
push ecx
call fcn.0044a315
add esp, 8
lea eax, [ebp - 0x28]
push eax
call fcn.004560e5
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 0x41b213
test edx, edx
je 0x41b265
sub edi, ecx
nop dword [eax]
mov ax, word [ecx + edi]
cmp ax, word [ecx]
jne 0x41b213
add ecx, 2
sub edx, 1
jne 0x41b200
jmp 0x41b265
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 0x41b241
sub ecx, dword [ebp - 0x14c]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00403240
call fcn.0045b3af
add esp, 0x18
mov edx, dword [ebp - 0x8c]
mov byte [ebp - 4], 9
cmp edx, 8
jb 0x41b2a9
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b29f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b76b
push edx
push ecx
call fcn.0044a315
add esp, 8
mov edi, dword [ebp - 0x48]
add esi, 0x18
cmp esi, edi
jne 0x41b098
mov esi, dword [ebp - 0x4c]
mov byte [ebp - 4], 8
test esi, esi
je 0x41b37f
cmp esi, edi
je 0x41b326
nop word [eax + eax]
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x41b309
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x41b2ff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b76b
mov eax, edx
push ecx
push eax
call fcn.0044a315
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 0x41b2d0
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 0x41b360
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b76b
push ecx
push esi
call fcn.0044a315
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 0x41b3bd
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b3b3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b770
push edx
push ecx
call fcn.0044a315
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 0x41b415
mov ecx, dword [ebp - 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b40b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b775
push edx
push ecx
call fcn.0044a315
add esp, 8
mov edi, dword [ebp - 0x150]
mov eax, dword [0x6692fc]
test eax, eax
jne 0x41b453
push 0x15c
call fcn.0044a2e5
add esp, 4
mov dword [ebp - 0x14c], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x41b448
mov ecx, eax
call fcn.004393b0
jmp 0x41b44a
xor eax, eax
mov byte [ebp - 4], 6
mov dword [0x6692fc], eax
mov ecx, eax
call fcn.0044f059
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 0x41b480
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.004058f0
push dword [ebp - 0x158]
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0041a910
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.004580a9
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 0x41b6c1
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x88]
call fcn.00403ce0
push 0xb
push str.BKcince.ini
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xe
call fcn.004058f0
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 0x5d5d90
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.004523d4
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 0x41b5e4
mov eax, dword [eax]
push ecx
push str.5c9be
push str.BKOI
push eax
push 0x5d4df4
call fcn.0046566e
mov edx, dword [ebp - 0x104]
add esp, 0x14
mov byte [ebp - 4], 0xe
cmp edx, 8
jb 0x41b641
mov ecx, dword [ebp - 0x118]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b637
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b77a
push edx
push ecx
call fcn.0044a315
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.00451635
mov edx, dword [ebp - 0x74]
add esp, 0x18
cmp edx, 8
jb 0x41b6aa
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b6a0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b77f
push edx
push ecx
call fcn.0044a315
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 0x41b6fb
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b6f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b784
push edx
push ecx
call fcn.0044a315
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.0044a851
mov esp, ebp
pop ebp
ret 0x10
call fcn.00470179
call fcn.00470179
call fcn.00470179
call fcn.00470179
call fcn.00470179
call fcn.00470179
int3