Function at 0x4bcb90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4f7b64
mov eax, dword fs:[0]
push eax
mov eax, 0x1bae4
call fcn.004df2e0
mov eax, dword [0x50fb70]
xor eax, esp
mov dword [esp + 0x1bae0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50fb70]
xor eax, esp
push eax
lea eax, [esp + 0x1baf8]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x1bb08]
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebp, ebp
test byte [0x56f17c], 1
mov word [0x569bd0], ax
mov word [0x568bd0], cx
mov word [0x567bd0], dx
mov byte [0x567a3c], al
jne 0x4bcc30
or dword [0x56f17c], 1
mov dword [esp + 0x1bb00], ebp
mov ecx, 0x56e860
call fcn.004b6820
push 0x4f8950
call fcn.004e356f
add esp, 4
mov dword [esp + 0x1bb00], 0xffffffff
mov ecx, 0x56e860
mov dword [0x56abd4], 0x56e860
call fcn.00466ce0
mov ecx, 0x56e8bc
call fcn.00466ce0
mov ecx, 0x56e918
call fcn.00466ce0
mov al, byte [0x533389]
mov byte [0x56f17a], al
cmp ebx, ebp
jne 0x4bcc91
mov ecx, dword [0x5354dc]
mov edx, dword [0x5275b4]
push 0x56e860
push 0x4b6950
push ecx
push str.FINDFILES
push edx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
test eax, eax
je 0x4bd5ea
push 0x4b93a0
push ebp
push ebp
push 7
call fcn.004b1320
push 0x501bac
call fcn.004af1b0
xor eax, eax
cmp ebx, ebp
je 0x4bcd62
jmp 0x4bccc0
movzx ecx, word [eax + 0x54fb5c]
mov word [esp + eax + 0x72e0], cx
add eax, 2
cmp cx, bp
jne 0x4bccc0
push 0x4fa890
mov ecx, 0x56e918
mov byte [0x56f176], 1
mov byte [0x56f175], 1
mov byte [0x56f174], 0
call fcn.00466d10
mov ecx, 0x551b7c
call fcn.00466c90
push 0x800
lea eax, [esp + 0x7af8]
push eax
mov ecx, 0x551b7c
call fcn.00466f20
test al, al
je 0x4bce6c
jmp 0x4bcd30
lea ecx, [esp + 0x7af4]
push ecx
mov ecx, 0x56e860
call fcn.00466d10
push 0x800
lea edx, [esp + 0x7af8]
push edx
mov ecx, 0x551b7c
call fcn.00466f20
test al, al
jne 0x4bcd30
jmp 0x4bce6c
mov word [esp + 0x72e0], ax
cmp word [0x56e974], bp
je 0x4bce6c
cmp byte [0x56f177], 0
je 0x4bcda4
lea edi, [esp + 0x72e0]
add edi, 0xfffffffe
lea ebx, [ebx]
mov ax, word [edi + 2]
add edi, 2
cmp ax, bp
jne 0x4bcd90
mov ecx, dword [0x501ba8]
mov dword [edi], ecx
cmp byte [0x56f178], 0
je 0x4bcdd4
lea edi, [esp + 0x72e0]
add edi, 0xfffffffe
jmp 0x4bcdc0
mov ax, word [edi + 2]
add edi, 2
cmp ax, bp
jne 0x4bcdc0
mov edx, dword [0x501ba4]
mov dword [edi], edx
cmp byte [0x56f179], 0
je 0x4bce03
lea edi, [esp + 0x72e0]
add edi, 0xfffffffe
jmp 0x4bcdf0
mov ax, word [edi + 2]
add edi, 2
cmp ax, bp
jne 0x4bcdf0
mov eax, dword [0x501ba0]
mov dword [edi], eax
lea edi, [esp + 0x72e0]
add edi, 0xfffffffe
lea ecx, [ecx]
mov ax, word [edi + 2]
add edi, 2
cmp ax, bp
jne 0x4bce10
mov ecx, dword [str.htc]
mov eax, 0x56e974
mov dword [edi], ecx
mov edx, eax
jmp 0x4bce30
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4bce30
lea edi, [esp + 0x72e0]
sub eax, edx
add edi, 0xfffffffe
jmp 0x4bce50
mov cx, word [edi + 2]
add edi, 2
cmp cx, bp
jne 0x4bce50
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp byte [0x533389], 0
je 0x4bce8c
push 0x800
lea edx, [esp + 0x8af8]
push edx
mov ecx, 0x541e38
call fcn.00478230
cmp byte [0x56f174], 0
mov dword [0x56abd0], ebp
mov byte [0x567a3d], 0
mov byte [0x567a3e], 1
je 0x4bceb9
cmp byte [0x56f17a], 0
jne 0x4bceb9
mov ecx, 2
jmp 0x4bcebb
xor ecx, ecx
mov eax, 0x56e8bc
cmp ebx, ebp
je 0x4bcec6
mov eax, ebx
push 3
push ebp
push ecx
push eax
lea ecx, [esp + 0x32c8]
call fcn.00463550
mov dword [esp + 0x1bb00], 1
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x32bc]
mov dword [esp + 0x1028], ebp
mov dword [esp + 0x102c], ebp
mov dword [esp + 0x1030], ebp
mov dword [esp + 0x1034], ebp
mov dword [esp + 0x1038], ebp
mov dword [esp + 0x103c], ebp
call fcn.00463e00
test eax, eax
jne 0x4bd4c0
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp byte [0x535458], 0
jne 0x4bd4c0
call fcn.00492ef0
mov eax, dword [0x56abd0]
cmp eax, ebp
je 0x4bcf61
movzx ecx, byte [0x56f17a]
mov edx, dword [0x533384]
push ecx
push eax
push edx
call fcn.004b8d80
mov dword [0x56abd0], ebp
cmp word [esp + 0x14], 0x2e
jne 0x4bcf75
cmp word [esp + 0x16], 0x5c
lea ecx, [esp + 0x18]
je 0x4bcf79
lea ecx, [esp + 0x14]
lea edx, [esp + 0x9af4]
mov ebx, 2
movzx eax, word [ecx]
mov word [edx], ax
add ecx, ebx
add edx, ebx
cmp ax, bp
jne 0x4bcf85
push 0x50
lea eax, [esp + 0x9af8]
push eax
call fcn.00492fa0
push eax
push 0x523
call fcn.004610c0
push eax
lea ecx, [esp + 0xaafc]
push ecx
mov edx, 0x800
call fcn.00493540
mov eax, dword [0x533384]
add esp, 0xc
lea edx, [esp + 0xaaf4]
push edx
push 0x9b
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp byte [0x56f176], 0
je 0x4bd030
cmp byte [esp + 0x1020], 0
jne 0x4bd030
mov ecx, 0x56e918
call fcn.00466c90
mov ecx, 0x56e918
call fcn.00466ff0
mov esi, eax
cmp esi, ebp
je 0x4bd030
lea ebx, [ebx]
push ebp
lea ecx, [esp + 0x18]
push ecx
push esi
call fcn.004468d0
test al, al
jne 0x4bd099
mov ecx, 0x56e918
call fcn.00466ff0
mov esi, eax
cmp esi, ebp
jne 0x4bd010
cmp byte [0x56f175], 0
je 0x4bd4a7
cmp byte [esp + 0x1020], 0
je 0x4bd055
cmp word [esp + 0x72e0], bp
jne 0x4bd4a7
mov ecx, 0x56e860
call fcn.00466c90
mov ecx, 0x56e860
call fcn.00466ff0
cmp eax, ebp
je 0x4bd4a7
push 4
lea ecx, [esp + 0x18]
push ecx
push eax
call fcn.004468d0
test al, al
jne 0x4bd3d3
mov ecx, 0x56e860
call fcn.00466ff0
cmp eax, ebp
jne 0x4bd071
jmp 0x4bd4a7
cmp word [esi], 0x2a
jne 0x4bd0cb
cmp word [esi + 2], bp
jne 0x4bd0cb
cmp byte [0x56f17a], 0
jne 0x4bd0cb
push 1
push ebp
push ebp
push ebp
push ebp
lea edx, [esp + 0x28]
push edx
mov ecx, 0x541e38
call fcn.00478a20
test al, al
je 0x4bd030
cmp byte [0x56f17a], 0
mov dword [0x53442c], ebx
je 0x4bd0e1
mov byte [0x54222c], 1
cmp word [esp + 0x72e0], bp
push 1
setne al
movzx ecx, al
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, 0x541e38
call fcn.004796e0
cmp eax, ebx
jne 0x4bd117
call fcn.00493520
test al, al
je 0x4bd4c0
jmp 0x4bd4a7
cmp eax, 1
jne 0x4bd030
push 1
push ebp
push ebp
push ebp
lea ecx, [esp + 0x7b04]
push ecx
lea edx, [esp + 0x28]
xor eax, eax
push edx
mov ecx, 0x541e38
mov word [esp + 0x7b0c], ax
call fcn.00478a20
lea eax, [esp + 0x7af4]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00469c20
test eax, eax
je 0x4bd1f3
lea edx, [esp + 0x7af4]
push edx
call edi
cmp eax, 0xffffffff
jne 0x4bd4a7
push 0x800
push 0x4fa8a8
lea eax, [esp + 0x7afc]
push eax
call fcn.00451ba0
lea ecx, [esp + 0x7af4]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00469c20
test eax, eax
je 0x4bd1b3
lea eax, [esp + 0x7af4]
push eax
call edi
cmp eax, 0xffffffff
jne 0x4bd4a7
push 0x800
push 0x4fa8b0
lea ecx, [esp + 0x7afc]
push ecx
call fcn.00451ba0
lea edx, [esp + 0x7af4]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00469c20
test eax, eax
je 0x4bd1f3
lea ecx, [esp + 0x7af4]
push ecx
call edi
cmp eax, 0xffffffff
jne 0x4bd4a7
cmp word [esp + 0x72e0], bp
jne 0x4bd2cd
push 1
lea edx, [esp + 0x21d4]
push edx
mov ecx, 0x541e38
xor ebx, ebx
mov dword [esp + 0x3268], ebp
mov dword [esp + 0x326c], ebp
call fcn.00477f50
test al, al
je 0x4bd4a7
lea ecx, [ecx]
cmp byte [0x535458], 0
jne 0x4bd4a7
inc ebx
test bl, 0x1f
jne 0x4bd248
call fcn.00492ef0
mov ecx, 0x56e860
call fcn.00466c90
mov ecx, 0x56e860
call fcn.00466ff0
cmp eax, ebp
je 0x4bd2ac
push 4
lea ecx, [esp + 0x21d4]
push ecx
push eax
call fcn.004468d0
test al, al
jne 0x4bd284
mov ecx, 0x56e860
call fcn.00466ff0
cmp eax, ebp
jne 0x4bd260
jmp 0x4bd2ac
mov edx, dword [esp + 0x3268]
push 0x4f9b10
push edx
call fcn.00442d70
movzx eax, al
push eax
lea ecx, [esp + 0x21d8]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.004b4320
push 1
lea eax, [esp + 0x21d4]
push eax
mov ecx, 0x541e38
call fcn.00477f50
test al, al
jne 0x4bd230
jmp 0x4bd4a7
lea ecx, [esp + 0x105c]
push ecx
mov ecx, 0x541e38
call fcn.00478280
mov ecx, 0x541e38
call fcn.00478590
and eax, 0x400
and edx, ebp
or eax, edx
je 0x4bd311
push 0x3ac
call fcn.004610c0
push eax
push 0x550b7a
call fcn.004bc170
add esp, 8
jmp 0x4bd4a7
push ebp
call fcn.004a9c20
push 0x800
push 0x550b7a
mov ecx, 0x541e38
call fcn.00478250
mov edx, dword [esp + 0x10fc]
mov ecx, 0x551b7c
mov dword [0x54db28], edx
call fcn.00466ce0
mov ecx, 0x56e860
call fcn.00466c90
mov ecx, 0x56e860
call fcn.00466ff0
cmp eax, ebp
je 0x4bd379
lea ebx, [ebx]
push eax
mov ecx, 0x551b7c
call fcn.00466d10
mov ecx, 0x56e860
call fcn.00466ff0
cmp eax, ebp
jne 0x4bd360
lea eax, [esp + 0x72e0]
push eax
push 0x501b94
push 0x54fb5a
mov edx, 0x810
mov byte [0x54ba49], 1
mov dword [0x54ba28], ebp
mov dword [0x54ba2c], ebp
mov dword [0x54ba30], ebp
mov dword [0x54ba34], ebp
call fcn.00493540
add esp, 0xc
mov ecx, 0x541e38
mov byte [0x54fb44], 1
mov dword [0x53442c], ebx
call fcn.00477db0
jmp 0x4bd4a7
cmp word [esp + 0x72e0], bp
jne 0x4bd408
lea edx, [esp + 0x14]
push edx
push ebp
lea eax, [esp + 0x72e8]
push eax
push ebp
push ebp
call fcn.00445340
push ebp
push ebp
push ebp
push ebp
lea ecx, [esp + 0xbb04]
push ecx
call fcn.00445340
jmp 0x4bd4a7
lea ecx, [esp + 0x11ac]
call fcn.00441d50
mov byte [esp + 0x1bb00], 2
push 4
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x11b4]
call fcn.00441dd0
test al, al
je 0x4bd493
lea eax, [esp + 0x14]
push eax
push ebp
lea ecx, [esp + 0x72e8]
push ecx
push ebp
push ebp
call fcn.00445340
push 0x10000
lea edx, [esp + 0xbaf8]
push edx
lea ecx, [esp + 0x11b4]
call fcn.004427c0
cmp eax, ebp
je 0x4bd493
push ebp
push ebp
push ebp
push eax
lea eax, [esp + 0xbb04]
push eax
call fcn.00445340
push 0x10000
lea ecx, [esp + 0xbaf8]
push ecx
lea ecx, [esp + 0x11b4]
call fcn.004427c0
cmp eax, ebp
jne 0x4bd465
mov byte [esp + 0x1bb00], 1
lea ecx, [esp + 0x11ac]
call fcn.00442480
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x32bc]
call fcn.00463e00
test eax, eax
je 0x4bcf2b
cmp byte [0x535458], 0
mov byte [0x567a3e], 0
je 0x4bd4e0
cmp byte [0x567a3c], 0
je 0x4bd4e0
mov byte [0x535458], 0
mov eax, dword [0x56abd0]
cmp eax, ebp
je 0x4bd504
movzx ecx, byte [0x56f17a]
mov edx, dword [0x533384]
push ecx
push eax
push edx
call fcn.004b8d80
mov dword [0x56abd0], ebp
push 0x270
mov byte [0x567a3d], 0
call fcn.004610c0
push eax
mov eax, dword [0x533384]
push 0x9b
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp byte [0x535458], 0
je 0x4bd53f
mov ecx, dword [0x533384]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x4bd544
call fcn.004aed40
cmp word [0x568bd0], bp
je 0x4bd585
push 0x568bd0
mov ecx, 0x53fd10
call fcn.00490eb0
cmp word [0x569bd0], bp
je 0x4bd574
push 0x569bd0
mov ecx, 0x53fd10
call fcn.00490fd0
push 0x567bd0
mov ecx, 0x53fd10
call fcn.0048f6b0
jmp 0x4bd5d3
cmp word [0x569bd0], bp
je 0x4bd5b8
mov ecx, 0x53fd10
call fcn.0048e0b0
push 0x569bd0
mov ecx, 0x53fd10
call fcn.00490fd0
push 0x567bd0
mov ecx, 0x53fd10
call fcn.0048f6b0
jmp 0x4bd5d3
cmp byte [0x533389], 0
je 0x4bd5d3
lea edx, [esp + 0x8af4]
push edx
mov ecx, 0x541e38
call fcn.00478110
mov dword [esp + 0x1bb00], 0xffffffff
lea ecx, [esp + 0x32b8]
call fcn.004636d0
mov ecx, dword [esp + 0x1baf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1bae0]
xor ecx, esp
call fcn.004df2c4
add esp, 0x1baf0
ret 4