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

Disassembly:
push 0xffffffffffffffff
push 0x4afb94
mov eax, dword fs:[0]
push eax
mov eax, 0x169cc
call fcn.0049e650
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x169c8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c0390]
xor eax, esp
push eax
lea eax, [esp + 0x169e0]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x169f0]
xor ebp, ebp
test byte [0x4f9be8], 1
jne 0x48d291
or dword [0x4f9be8], 1
mov dword [esp + 0x169e8], ebp
mov ecx, 0x4f94f8
call fcn.004850e0
push 0x4b05f0
call fcn.004a07d3
add esp, 4
mov dword [esp + 0x169e8], 0xffffffff
mov ecx, 0x4f94f8
mov dword [0x4f81f4], 0x4f94f8
call fcn.004650d0
mov ecx, 0x4f95f0
call fcn.004650d0
mov ecx, 0x4f96e8
call fcn.004650d0
cmp dword [0x4dbc5c], ebp
mov byte [0x4f9be7], 0
setne al
mov byte [0x4f9be6], al
cmp ebx, ebp
jne 0x48d2fd
mov ecx, dword [0x4dc1c8]
mov edx, dword [0x4c9360]
push 0x4f94f8
push 0x487dc0
push ecx
push str.FINDFILES
push edx
call dword [sym.imp.USER32.dll_DialogBoxParamA]
test eax, eax
je 0x48dad9
push 0x48a8a0
push ebp
push ebp
push 7
call fcn.00481590
push 0x4b57b0
call fcn.0047f8a0
cmp ebx, ebp
je 0x48d36a
xor eax, eax
jmp 0x48d320
mov cl, byte [eax + 0x4e697c]
mov byte [esp + eax + 0x4dd0], cl
inc eax
test cl, cl
jne 0x48d320
mov byte [0x4f9be0], cl
push 0x4b175c
mov ecx, 0x4f96e8
mov byte [0x4f9be2], 1
mov byte [0x4f9be1], 1
call fcn.00465450
mov eax, dword [0x4e81ac]
push eax
mov ecx, 0x4f94f8
call fcn.00416990
jmp 0x48d439
cmp byte [0x4f97e0], 0
mov byte [esp + 0x4dd0], 0
je 0x48d439
cmp byte [0x4f9be3], 0
je 0x48d3a2
lea edi, [esp + 0x4dd0]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x48d390
mov cx, word [0x4b57ac]
mov word [edi], cx
cmp byte [0x4f9be4], 0
je 0x48d3c5
lea edi, [esp + 0x4dd0]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x48d3b3
mov dx, word [0x4b57a8]
mov word [edi], dx
cmp byte [0x4f9be5], 0
je 0x48d3e7
lea edi, [esp + 0x4dd0]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x48d3d6
mov ax, word [0x4b57a4]
mov word [edi], ax
lea edi, [esp + 0x4dd0]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x48d3f0
mov cx, word [str.htc]
mov eax, 0x4f97e0
mov word [edi], cx
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48d410
lea edi, [esp + 0x4dd0]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x48d421
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 dword [0x4dbc5c], ebp
je 0x48d45b
lea edx, [esp + 0x61dc]
push edx
lea eax, [esp + 0x59e0]
push eax
mov ecx, 0x4e0c18
call fcn.004134a0
cmp byte [0x4f9be0], 0
mov dword [0x4f81f0], ebp
mov byte [0x4f819c], 0
mov byte [0x4f819d], 1
je 0x48d488
cmp byte [0x4f9be6], 0
jne 0x48d488
mov ecx, 2
jmp 0x48d48a
xor ecx, ecx
mov eax, 0x4f95f0
cmp ebx, ebp
je 0x48d495
mov eax, ebx
push ebp
push ebp
push ecx
push eax
lea ecx, [esp + 0x29b4]
call fcn.0045e150
mov dword [esp + 0x169e8], 1
lea ecx, [esp + 0xcc8]
call fcn.00467be0
lea ecx, [esp + 0xcec]
call fcn.00467be0
lea ecx, [esp + 0xd10]
call fcn.00467be0
lea ecx, [esp + 0xb4]
push ecx
lea ecx, [esp + 0x29a8]
call fcn.0045eb50
test eax, eax
jne 0x48da23
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
jmp 0x48d500
cmp dword [0x4dc178], ebp
jne 0x48da23
call fcn.00445340
mov eax, dword [0x4f81f0]
cmp eax, ebp
je 0x48d534
movzx edx, byte [0x4f9be6]
push edx
push eax
mov eax, dword [0x4db83c]
push eax
call fcn.0048a2c0
mov dword [0x4f81f0], ebp
cmp byte [esp + 0xb4], 0x2e
jne 0x48d54f
cmp byte [esp + 0xb5], 0x5c
lea ecx, [esp + 0xb6]
je 0x48d556
lea ecx, [esp + 0xb4]
lea edx, [esp + 0x5ddc]
lea ecx, [ecx]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x48d560
push 0x50
lea ecx, [esp + 0x5de0]
push ecx
call fcn.00445150
push eax
push 0x523
call fcn.0045b8f0
push eax
lea edx, [esp + 0x55e4]
push edx
call fcn.0049e0d5
mov ecx, dword [0x4db83c]
add esp, 0xc
lea eax, [esp + 0x55dc]
push eax
push 0x9b
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
cmp byte [0x4f9be2], 0
je 0x48d5f5
mov ecx, 0x4f96e8
call fcn.00464fd0
mov ecx, 0x4f96e8
call fcn.004655b0
mov esi, eax
cmp esi, ebp
je 0x48d5f5
push ebp
lea edx, [esp + 0xb8]
push edx
push esi
call fcn.00444490
test al, al
jne 0x48d64b
mov ecx, 0x4f96e8
call fcn.004655b0
mov esi, eax
cmp esi, ebp
jne 0x48d5d2
cmp byte [0x4f9be1], 0
je 0x48da07
mov ecx, 0x4f94f8
call fcn.00464fd0
mov ecx, 0x4f94f8
call fcn.004655b0
cmp eax, ebp
je 0x48da07
mov edi, edi
push 3
lea edx, [esp + 0xb8]
push edx
push eax
call fcn.00444490
test al, al
jne 0x48d91d
mov ecx, 0x4f94f8
call fcn.004655b0
cmp eax, ebp
jne 0x48d620
jmp 0x48da07
cmp byte [esi], 0x2a
mov bl, 1
jne 0x48d683
cmp byte [esi + 1], 0
jne 0x48d683
cmp byte [0x4f9be6], 0
jne 0x48d68c
push 1
push ebp
push ebp
push ebp
push ebp
lea eax, [esp + 0xc8]
push eax
mov ecx, 0x4e0c18
call fcn.004135e0
mov bl, al
test bl, bl
je 0x48d5f5
cmp byte [0x4f9be6], 0
je 0x48d693
mov byte [0x4e285a], 1
cmp byte [esp + 0x4dd0], 0
push 1
setne cl
movzx edx, cl
push edx
lea eax, [esp + 0x4bc]
push eax
lea ecx, [esp + 0xc0]
push ecx
mov ecx, 0x4e0c18
call fcn.00414420
cmp eax, 2
je 0x48da23
cmp eax, 1
jne 0x48d5f5
push eax
push ebp
push ebp
push ebp
lea edx, [esp + 0x51ec]
push edx
lea eax, [esp + 0xc8]
push eax
mov ecx, 0x4e0c18
mov byte [esp + 0x51f4], 0
call fcn.004135e0
lea ecx, [esp + 0x51dc]
push ecx
lea edx, [esp + 0xb8]
push edx
call fcn.00464e20
test eax, eax
je 0x48d7a2
lea eax, [esp + 0x51dc]
push eax
call edi
cmp eax, 0xffffffff
jne 0x48da07
push 0x4b1778
lea ecx, [esp + 0x51e0]
push ecx
call fcn.0044ef30
lea edx, [esp + 0x51dc]
push edx
lea eax, [esp + 0xb8]
push eax
call fcn.00464e20
test eax, eax
je 0x48d764
lea ecx, [esp + 0x51dc]
push ecx
call edi
cmp eax, 0xffffffff
jne 0x48da07
push 0x4b177c
lea edx, [esp + 0x51e0]
push edx
call fcn.0044ef30
lea eax, [esp + 0x51dc]
push eax
lea ecx, [esp + 0xb8]
push ecx
call fcn.00464e20
test eax, eax
je 0x48d7a2
lea edx, [esp + 0x51dc]
push edx
call edi
cmp eax, 0xffffffff
jne 0x48da07
test bl, bl
je 0x48da07
cmp byte [esp + 0x4dd0], 0
mov ecx, 0x4e0c18
jne 0x48d86f
push 1
lea eax, [esp + 0x1d78]
push eax
xor ebx, ebx
call fcn.004129d0
test eax, eax
je 0x48da07
jmp 0x48d7e0
cmp dword [0x4dc178], ebp
jne 0x48da07
inc ebx
test bl, 0x1f
jne 0x48d7f7
call fcn.00445340
mov ecx, 0x4f94f8
call fcn.00464fd0
mov ecx, 0x4f94f8
call fcn.004655b0
cmp eax, ebp
je 0x48d84e
nop
push 3
lea ecx, [esp + 0x1d78]
push ecx
push eax
call fcn.00444490
test al, al
jne 0x48d834
mov ecx, 0x4f94f8
call fcn.004655b0
cmp eax, ebp
jne 0x48d810
jmp 0x48d84e
push 0x4b1914
lea edx, [esp + 0x1d78]
push edx
lea eax, [esp + 0xbc]
push eax
call fcn.00485200
push 1
lea ecx, [esp + 0x1d78]
push ecx
mov ecx, 0x4e0c18
call fcn.004129d0
test eax, eax
jne 0x48d7e0
jmp 0x48da07
lea edx, [esp + 0x14]
push edx
call fcn.00413530
call fcn.0047aeb0
push 0x4e79ac
push 0x4e75ac
mov ecx, 0x4e0c18
call fcn.004134e0
mov eax, dword [esp + 0x24]
mov ecx, dword [0x4e81ac]
mov dword [0x4e614c], eax
call fcn.004650d0
mov ecx, 0x4f94f8
call fcn.00464fd0
mov ecx, 0x4f94f8
call fcn.004655b0
cmp eax, ebp
je 0x48d8da
mov edi, edi
mov ecx, dword [0x4e81ac]
push eax
call fcn.00465450
mov ecx, 0x4f94f8
call fcn.004655b0
cmp eax, ebp
jne 0x48d8c0
lea ecx, [esp + 0x4dd0]
push ecx
push 0x4b579c
push 0x4e697b
mov byte [0x4e586a], 1
mov dword [0x4e580c], ebp
mov dword [0x4e5830], ebp
call fcn.0049e0d5
add esp, 0xc
mov ecx, 0x4e0c18
mov byte [0x4e695d], 1
call fcn.004111e0
jmp 0x48da07
cmp byte [esp + 0x4dd0], 0
jne 0x48d955
lea eax, [esp + 0xb4]
push eax
push ebp
lea ecx, [esp + 0x4dd8]
push ecx
push ebp
push ebp
call fcn.00433720
push ebp
push ebp
push ebp
push ebp
lea edx, [esp + 0x69ec]
push edx
call fcn.00433720
jmp 0x48da07
lea ecx, [esp + 0x1154]
call fcn.0042e6a0
mov byte [esp + 0x169e8], 2
push ebp
push 1
lea eax, [esp + 0x4bc]
push eax
lea ecx, [esp + 0xc0]
push ecx
lea ecx, [esp + 0x1164]
call fcn.0042ea90
test al, al
je 0x48d9f3
lea edx, [esp + 0xb4]
push edx
push ebp
lea eax, [esp + 0x4dd8]
push eax
push ebp
push ebp
call fcn.00433720
push 0x10000
lea ecx, [esp + 0x69e0]
push ecx
lea ecx, [esp + 0x115c]
call fcn.0042f2c0
cmp eax, ebp
je 0x48d9f3
push ebp
push ebp
push ebp
push eax
lea edx, [esp + 0x69ec]
push edx
call fcn.00433720
push 0x10000
lea eax, [esp + 0x69e0]
push eax
lea ecx, [esp + 0x115c]
call fcn.0042f2c0
cmp eax, ebp
jne 0x48d9c5
mov byte [esp + 0x169e8], 1
lea ecx, [esp + 0x1154]
call fcn.0042ea60
lea ecx, [esp + 0xb4]
push ecx
lea ecx, [esp + 0x29a8]
call fcn.0045eb50
test eax, eax
je 0x48d500
mov eax, dword [0x4f81f0]
mov byte [0x4f819d], 0
cmp eax, ebp
je 0x48da4d
movzx edx, byte [0x4f9be6]
push edx
push eax
mov eax, dword [0x4db83c]
push eax
call fcn.0048a2c0
mov dword [0x4f81f0], ebp
push 0x270
mov byte [0x4f819c], 0
call fcn.0045b8f0
mov ecx, dword [0x4db83c]
push eax
push 0x9b
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
cmp dword [0x4dc178], ebp
je 0x48da88
mov edx, dword [0x4db83c]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x48da8d
call fcn.0047f470
cmp dword [0x4dbc5c], ebp
je 0x48dac2
cmp byte [0x4f9be7], 0
jne 0x48dab8
lea eax, [esp + 0x61dc]
push eax
lea ecx, [esp + 0x59e0]
push ecx
mov ecx, 0x4e0c18
call fcn.004132e0
mov ecx, 0x4dfef0
call fcn.00442470
mov dword [esp + 0x169e8], 0xffffffff
lea ecx, [esp + 0x29a4]
call fcn.0045e3c0
mov ecx, dword [esp + 0x169e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x169c8]
xor ecx, esp
call fcn.0049e0c6
add esp, 0x169d8
ret 4