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

Disassembly:
push 0xffffffffffffffff
push 0x4f8054
mov eax, dword fs:[0]
push eax
mov eax, 0x1bae4
call fcn.004df840
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 0x4bd120
or dword [0x56f17c], 1
mov dword [esp + 0x1bb00], ebp
mov ecx, 0x56e860
call fcn.004b6d10
push 0x4f8e80
call fcn.004e3acf
add esp, 4
mov dword [esp + 0x1bb00], 0xffffffff
mov ecx, 0x56e860
mov dword [0x56abd4], 0x56e860
call fcn.00466ed0
mov ecx, 0x56e8bc
call fcn.00466ed0
mov ecx, 0x56e918
call fcn.00466ed0
mov al, byte [0x533389]
mov byte [0x56f17a], al
cmp ebx, ebp
jne 0x4bd181
mov ecx, dword [0x5354dc]
mov edx, dword [0x5275b4]
push 0x56e860
push 0x4b6e20
push ecx
push str.FINDFILES
push edx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
test eax, eax
je 0x4bdada
push 0x4b9880
push ebp
push ebp
push 7
call fcn.004b1810
push 0x501bac
call fcn.004af690
xor eax, eax
cmp ebx, ebp
je 0x4bd252
jmp 0x4bd1b0
movzx ecx, word [eax + 0x54fb5c]
mov word [esp + eax + 0x72e0], cx
add eax, 2
cmp cx, bp
jne 0x4bd1b0
push 0x4fa890
mov ecx, 0x56e918
mov byte [0x56f176], 1
mov byte [0x56f175], 1
mov byte [0x56f174], 0
call fcn.00466f00
mov ecx, 0x551b7c
call fcn.00466e80
push 0x800
lea eax, [esp + 0x7af8]
push eax
mov ecx, 0x551b7c
call fcn.00467110
test al, al
je 0x4bd35c
jmp 0x4bd220
lea ecx, [esp + 0x7af4]
push ecx
mov ecx, 0x56e860
call fcn.00466f00
push 0x800
lea edx, [esp + 0x7af8]
push edx
mov ecx, 0x551b7c
call fcn.00467110
test al, al
jne 0x4bd220
jmp 0x4bd35c
mov word [esp + 0x72e0], ax
cmp word [0x56e974], bp
je 0x4bd35c
cmp byte [0x56f177], 0
je 0x4bd294
lea edi, [esp + 0x72e0]
add edi, 0xfffffffe
lea ebx, [ebx]
mov ax, word [edi + 2]
add edi, 2
cmp ax, bp
jne 0x4bd280
mov ecx, dword [0x501ba8]
mov dword [edi], ecx
cmp byte [0x56f178], 0
je 0x4bd2c4
lea edi, [esp + 0x72e0]
add edi, 0xfffffffe
jmp 0x4bd2b0
mov ax, word [edi + 2]
add edi, 2
cmp ax, bp
jne 0x4bd2b0
mov edx, dword [0x501ba4]
mov dword [edi], edx
cmp byte [0x56f179], 0
je 0x4bd2f3
lea edi, [esp + 0x72e0]
add edi, 0xfffffffe
jmp 0x4bd2e0
mov ax, word [edi + 2]
add edi, 2
cmp ax, bp
jne 0x4bd2e0
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 0x4bd300
mov ecx, dword [str.htc]
mov eax, 0x56e974
mov dword [edi], ecx
mov edx, eax
jmp 0x4bd320
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4bd320
lea edi, [esp + 0x72e0]
sub eax, edx
add edi, 0xfffffffe
jmp 0x4bd340
mov cx, word [edi + 2]
add edi, 2
cmp cx, bp
jne 0x4bd340
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 0x4bd37c
push 0x800
lea edx, [esp + 0x8af8]
push edx
mov ecx, 0x541e38
call fcn.004785b0
cmp byte [0x56f174], 0
mov dword [0x56abd0], ebp
mov byte [0x567a3d], 0
mov byte [0x567a3e], 1
je 0x4bd3a9
cmp byte [0x56f17a], 0
jne 0x4bd3a9
mov ecx, 2
jmp 0x4bd3ab
xor ecx, ecx
mov eax, 0x56e8bc
cmp ebx, ebp
je 0x4bd3b6
mov eax, ebx
push 3
push ebp
push ecx
push eax
lea ecx, [esp + 0x32c8]
call fcn.00463740
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.00463ff0
test eax, eax
jne 0x4bd9b0
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp byte [0x535458], 0
jne 0x4bd9b0
call fcn.004932d0
mov eax, dword [0x56abd0]
cmp eax, ebp
je 0x4bd451
movzx ecx, byte [0x56f17a]
mov edx, dword [0x533384]
push ecx
push eax
push edx
call fcn.004b9260
mov dword [0x56abd0], ebp
cmp word [esp + 0x14], 0x2e
jne 0x4bd465
cmp word [esp + 0x16], 0x5c
lea ecx, [esp + 0x18]
je 0x4bd469
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 0x4bd475
push 0x50
lea eax, [esp + 0x9af8]
push eax
call fcn.00493380
push eax
push 0x523
call fcn.004612b0
push eax
lea ecx, [esp + 0xaafc]
push ecx
mov edx, 0x800
call fcn.00460180
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 0x4bd520
cmp byte [esp + 0x1020], 0
jne 0x4bd520
mov ecx, 0x56e918
call fcn.00466e80
mov ecx, 0x56e918
call fcn.004671e0
mov esi, eax
cmp esi, ebp
je 0x4bd520
lea ebx, [ebx]
push ebp
lea ecx, [esp + 0x18]
push ecx
push esi
call fcn.00446af0
test al, al
jne 0x4bd589
mov ecx, 0x56e918
call fcn.004671e0
mov esi, eax
cmp esi, ebp
jne 0x4bd500
cmp byte [0x56f175], 0
je 0x4bd997
cmp byte [esp + 0x1020], 0
je 0x4bd545
cmp word [esp + 0x72e0], bp
jne 0x4bd997
mov ecx, 0x56e860
call fcn.00466e80
mov ecx, 0x56e860
call fcn.004671e0
cmp eax, ebp
je 0x4bd997
push 4
lea ecx, [esp + 0x18]
push ecx
push eax
call fcn.00446af0
test al, al
jne 0x4bd8c3
mov ecx, 0x56e860
call fcn.004671e0
cmp eax, ebp
jne 0x4bd561
jmp 0x4bd997
cmp word [esi], 0x2a
jne 0x4bd5bb
cmp word [esi + 2], bp
jne 0x4bd5bb
cmp byte [0x56f17a], 0
jne 0x4bd5bb
push 1
push ebp
push ebp
push ebp
push ebp
lea edx, [esp + 0x28]
push edx
mov ecx, 0x541e38
call fcn.00478da0
test al, al
je 0x4bd520
cmp byte [0x56f17a], 0
mov dword [0x53442c], ebx
je 0x4bd5d1
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.00479a60
cmp eax, ebx
jne 0x4bd607
call fcn.004938b0
test al, al
je 0x4bd9b0
jmp 0x4bd997
cmp eax, 1
jne 0x4bd520
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.00478da0
lea eax, [esp + 0x7af4]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00469f00
test eax, eax
je 0x4bd6e3
lea edx, [esp + 0x7af4]
push edx
call edi
cmp eax, 0xffffffff
jne 0x4bd997
push 0x800
push 0x4fa8a8
lea eax, [esp + 0x7afc]
push eax
call fcn.00451dc0
lea ecx, [esp + 0x7af4]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00469f00
test eax, eax
je 0x4bd6a3
lea eax, [esp + 0x7af4]
push eax
call edi
cmp eax, 0xffffffff
jne 0x4bd997
push 0x800
push 0x4fa8b0
lea ecx, [esp + 0x7afc]
push ecx
call fcn.00451dc0
lea edx, [esp + 0x7af4]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00469f00
test eax, eax
je 0x4bd6e3
lea ecx, [esp + 0x7af4]
push ecx
call edi
cmp eax, 0xffffffff
jne 0x4bd997
cmp word [esp + 0x72e0], bp
jne 0x4bd7bd
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.004782d0
test al, al
je 0x4bd997
lea ecx, [ecx]
cmp byte [0x535458], 0
jne 0x4bd997
inc ebx
test bl, 0x1f
jne 0x4bd738
call fcn.004932d0
mov ecx, 0x56e860
call fcn.00466e80
mov ecx, 0x56e860
call fcn.004671e0
cmp eax, ebp
je 0x4bd79c
push 4
lea ecx, [esp + 0x21d4]
push ecx
push eax
call fcn.00446af0
test al, al
jne 0x4bd774
mov ecx, 0x56e860
call fcn.004671e0
cmp eax, ebp
jne 0x4bd750
jmp 0x4bd79c
mov edx, dword [esp + 0x3268]
push 0x4f9b10
push edx
call fcn.00442f70
movzx eax, al
push eax
lea ecx, [esp + 0x21d8]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.004b4810
push 1
lea eax, [esp + 0x21d4]
push eax
mov ecx, 0x541e38
call fcn.004782d0
test al, al
jne 0x4bd720
jmp 0x4bd997
lea ecx, [esp + 0x105c]
push ecx
mov ecx, 0x541e38
call fcn.00478600
mov ecx, 0x541e38
call fcn.00478910
and eax, 0x400
and edx, ebp
or eax, edx
je 0x4bd801
push 0x3ac
call fcn.004612b0
push eax
push 0x550b7a
call fcn.004bc660
add esp, 8
jmp 0x4bd997
push ebp
call fcn.004a9ff0
push 0x800
push 0x550b7a
mov ecx, 0x541e38
call fcn.004785d0
mov edx, dword [esp + 0x10fc]
mov ecx, 0x551b7c
mov dword [0x54db28], edx
call fcn.00466ed0
mov ecx, 0x56e860
call fcn.00466e80
mov ecx, 0x56e860
call fcn.004671e0
cmp eax, ebp
je 0x4bd869
lea ebx, [ebx]
push eax
mov ecx, 0x551b7c
call fcn.00466f00
mov ecx, 0x56e860
call fcn.004671e0
cmp eax, ebp
jne 0x4bd850
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.00460180
add esp, 0xc
mov ecx, 0x541e38
mov byte [0x54fb44], 1
mov dword [0x53442c], ebx
call fcn.00478130
jmp 0x4bd997
cmp word [esp + 0x72e0], bp
jne 0x4bd8f8
lea edx, [esp + 0x14]
push edx
push ebp
lea eax, [esp + 0x72e8]
push eax
push ebp
push ebp
call fcn.00445560
push ebp
push ebp
push ebp
push ebp
lea ecx, [esp + 0xbb04]
push ecx
call fcn.00445560
jmp 0x4bd997
lea ecx, [esp + 0x11ac]
call fcn.00441f10
mov byte [esp + 0x1bb00], 2
push 4
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x11b4]
call fcn.00441f90
test al, al
je 0x4bd983
lea eax, [esp + 0x14]
push eax
push ebp
lea ecx, [esp + 0x72e8]
push ecx
push ebp
push ebp
call fcn.00445560
push 0x10000
lea edx, [esp + 0xbaf8]
push edx
lea ecx, [esp + 0x11b4]
call fcn.00442980
cmp eax, ebp
je 0x4bd983
push ebp
push ebp
push ebp
push eax
lea eax, [esp + 0xbb04]
push eax
call fcn.00445560
push 0x10000
lea ecx, [esp + 0xbaf8]
push ecx
lea ecx, [esp + 0x11b4]
call fcn.00442980
cmp eax, ebp
jne 0x4bd955
mov byte [esp + 0x1bb00], 1
lea ecx, [esp + 0x11ac]
call fcn.00442640
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x32bc]
call fcn.00463ff0
test eax, eax
je 0x4bd41b
cmp byte [0x535458], 0
mov byte [0x567a3e], 0
je 0x4bd9d0
cmp byte [0x567a3c], 0
je 0x4bd9d0
mov byte [0x535458], 0
mov eax, dword [0x56abd0]
cmp eax, ebp
je 0x4bd9f4
movzx ecx, byte [0x56f17a]
mov edx, dword [0x533384]
push ecx
push eax
push edx
call fcn.004b9260
mov dword [0x56abd0], ebp
push 0x270
mov byte [0x567a3d], 0
call fcn.004612b0
push eax
mov eax, dword [0x533384]
push 0x9b
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp byte [0x535458], 0
je 0x4bda2f
mov ecx, dword [0x533384]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x4bda34
call fcn.004af220
cmp word [0x568bd0], bp
je 0x4bda75
push 0x568bd0
mov ecx, 0x53fd10
call fcn.00491290
cmp word [0x569bd0], bp
je 0x4bda64
push 0x569bd0
mov ecx, 0x53fd10
call fcn.004913b0
push 0x567bd0
mov ecx, 0x53fd10
call fcn.0048fa60
jmp 0x4bdac3
cmp word [0x569bd0], bp
je 0x4bdaa8
mov ecx, 0x53fd10
call fcn.0048e460
push 0x569bd0
mov ecx, 0x53fd10
call fcn.004913b0
push 0x567bd0
mov ecx, 0x53fd10
call fcn.0048fa60
jmp 0x4bdac3
cmp byte [0x533389], 0
je 0x4bdac3
lea edx, [esp + 0x8af4]
push edx
mov ecx, 0x541e38
call fcn.00478490
mov dword [esp + 0x1bb00], 0xffffffff
lea ecx, [esp + 0x32b8]
call fcn.004638c0
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.004df824
add esp, 0x1baf0
ret 4