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

Disassembly:
push 0xffffffffffffffff
push 0x4af9e4
mov eax, dword fs:[0]
push eax
mov eax, 0x169cc
call fcn.0049e430
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 [0x4f9bb8], 1
jne 0x48e6a1
or dword [0x4f9bb8], 1
mov dword [esp + 0x169e8], ebp
mov ecx, 0x4f94c8
call fcn.004854e0
push 0x4b03c0
call fcn.004a05a3
add esp, 4
mov dword [esp + 0x169e8], 0xffffffff
mov ecx, 0x4f94c8
mov dword [0x4f85c4], 0x4f94c8
call fcn.00465590
mov ecx, 0x4f95c0
call fcn.00465590
mov ecx, 0x4f96b8
call fcn.00465590
cmp dword [0x4dbc5c], ebp
mov byte [0x4f9bb7], 0
setne al
mov byte [0x4f9bb6], al
cmp ebx, ebp
jne 0x48e70d
mov ecx, dword [0x4dc1c8]
mov edx, dword [0x4c9360]
push 0x4f94c8
push 0x4881b0
push ecx
push str.FINDFILES
push edx
call dword [sym.imp.USER32.dll_DialogBoxParamA]
test eax, eax
je 0x48eee9
push 0x48ac60
push ebp
push ebp
push 7
call fcn.00481a20
push 0x4b57ec
call fcn.0047fd40
cmp ebx, ebp
je 0x48e77a
xor eax, eax
jmp 0x48e730
mov cl, byte [eax + 0x4e695c]
mov byte [esp + eax + 0x4dd0], cl
inc eax
test cl, cl
jne 0x48e730
mov byte [0x4f9bb0], cl
push 0x4b175c
mov ecx, 0x4f96b8
mov byte [0x4f9bb2], 1
mov byte [0x4f9bb1], 1
call fcn.00465910
mov eax, dword [0x4e818c]
push eax
mov ecx, 0x4f94c8
call fcn.00416b30
jmp 0x48e849
cmp byte [0x4f97b0], 0
mov byte [esp + 0x4dd0], 0
je 0x48e849
cmp byte [0x4f9bb3], 0
je 0x48e7b2
lea edi, [esp + 0x4dd0]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x48e7a0
mov cx, word [0x4b57e8]
mov word [edi], cx
cmp byte [0x4f9bb4], 0
je 0x48e7d5
lea edi, [esp + 0x4dd0]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x48e7c3
mov dx, word [0x4b57e4]
mov word [edi], dx
cmp byte [0x4f9bb5], 0
je 0x48e7f7
lea edi, [esp + 0x4dd0]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x48e7e6
mov ax, word [0x4b57e0]
mov word [edi], ax
lea edi, [esp + 0x4dd0]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x48e800
mov cx, word [str.htc]
mov eax, 0x4f97b0
mov word [edi], cx
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48e820
lea edi, [esp + 0x4dd0]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x48e831
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 0x48e86b
lea edx, [esp + 0x61dc]
push edx
lea eax, [esp + 0x59e0]
push eax
mov ecx, 0x4e0c08
call fcn.00413650
cmp byte [0x4f9bb0], 0
mov dword [0x4f85c0], ebp
mov byte [0x4f856c], 0
mov byte [0x4f856d], 1
je 0x48e898
cmp byte [0x4f9bb6], 0
jne 0x48e898
mov ecx, 2
jmp 0x48e89a
xor ecx, ecx
mov eax, 0x4f95c0
cmp ebx, ebp
je 0x48e8a5
mov eax, ebx
push ebp
push ebp
push ecx
push eax
lea ecx, [esp + 0x29b4]
call fcn.0045e620
mov dword [esp + 0x169e8], 1
lea ecx, [esp + 0xcc8]
call fcn.004680a0
lea ecx, [esp + 0xcec]
call fcn.004680a0
lea ecx, [esp + 0xd10]
call fcn.004680a0
lea ecx, [esp + 0xb4]
push ecx
lea ecx, [esp + 0x29a8]
call fcn.0045f020
test eax, eax
jne 0x48ee33
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
jmp 0x48e910
cmp dword [0x4dc178], ebp
jne 0x48ee33
call fcn.004458e0
mov eax, dword [0x4f85c0]
cmp eax, ebp
je 0x48e944
movzx edx, byte [0x4f9bb6]
push edx
push eax
mov eax, dword [0x4db83c]
push eax
call fcn.0048a6b0
mov dword [0x4f85c0], ebp
cmp byte [esp + 0xb4], 0x2e
jne 0x48e95f
cmp byte [esp + 0xb5], 0x5c
lea ecx, [esp + 0xb6]
je 0x48e966
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 0x48e970
push 0x50
lea ecx, [esp + 0x5de0]
push ecx
call fcn.004456f0
push eax
push 0x523
call fcn.0045bde0
push eax
lea edx, [esp + 0x55e4]
push edx
call fcn.0049deb5
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 [0x4f9bb2], 0
je 0x48ea05
mov ecx, 0x4f96b8
call fcn.00465490
mov ecx, 0x4f96b8
call fcn.00465a70
mov esi, eax
cmp esi, ebp
je 0x48ea05
push ebp
lea edx, [esp + 0xb8]
push edx
push esi
call fcn.00444530
test al, al
jne 0x48ea5b
mov ecx, 0x4f96b8
call fcn.00465a70
mov esi, eax
cmp esi, ebp
jne 0x48e9e2
cmp byte [0x4f9bb1], 0
je 0x48ee17
mov ecx, 0x4f94c8
call fcn.00465490
mov ecx, 0x4f94c8
call fcn.00465a70
cmp eax, ebp
je 0x48ee17
mov edi, edi
push 3
lea edx, [esp + 0xb8]
push edx
push eax
call fcn.00444530
test al, al
jne 0x48ed2d
mov ecx, 0x4f94c8
call fcn.00465a70
cmp eax, ebp
jne 0x48ea30
jmp 0x48ee17
cmp byte [esi], 0x2a
mov bl, 1
jne 0x48ea93
cmp byte [esi + 1], 0
jne 0x48ea93
cmp byte [0x4f9bb6], 0
jne 0x48ea9c
push 1
push ebp
push ebp
push ebp
push ebp
lea eax, [esp + 0xc8]
push eax
mov ecx, 0x4e0c08
call fcn.00413790
mov bl, al
test bl, bl
je 0x48ea05
cmp byte [0x4f9bb6], 0
je 0x48eaa3
mov byte [0x4e284a], 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, 0x4e0c08
call fcn.004145d0
cmp eax, 2
je 0x48ee33
cmp eax, 1
jne 0x48ea05
push eax
push ebp
push ebp
push ebp
lea edx, [esp + 0x51ec]
push edx
lea eax, [esp + 0xc8]
push eax
mov ecx, 0x4e0c08
mov byte [esp + 0x51f4], 0
call fcn.00413790
lea ecx, [esp + 0x51dc]
push ecx
lea edx, [esp + 0xb8]
push edx
call fcn.004652e0
test eax, eax
je 0x48ebb2
lea eax, [esp + 0x51dc]
push eax
call edi
cmp eax, 0xffffffff
jne 0x48ee17
push 0x4b1778
lea ecx, [esp + 0x51e0]
push ecx
call fcn.0044f530
lea edx, [esp + 0x51dc]
push edx
lea eax, [esp + 0xb8]
push eax
call fcn.004652e0
test eax, eax
je 0x48eb74
lea ecx, [esp + 0x51dc]
push ecx
call edi
cmp eax, 0xffffffff
jne 0x48ee17
push 0x4b177c
lea edx, [esp + 0x51e0]
push edx
call fcn.0044f530
lea eax, [esp + 0x51dc]
push eax
lea ecx, [esp + 0xb8]
push ecx
call fcn.004652e0
test eax, eax
je 0x48ebb2
lea edx, [esp + 0x51dc]
push edx
call edi
cmp eax, 0xffffffff
jne 0x48ee17
test bl, bl
je 0x48ee17
cmp byte [esp + 0x4dd0], 0
mov ecx, 0x4e0c08
jne 0x48ec7f
push 1
lea eax, [esp + 0x1d78]
push eax
xor ebx, ebx
call fcn.00412b80
test eax, eax
je 0x48ee17
jmp 0x48ebf0
cmp dword [0x4dc178], ebp
jne 0x48ee17
inc ebx
test bl, 0x1f
jne 0x48ec07
call fcn.004458e0
mov ecx, 0x4f94c8
call fcn.00465490
mov ecx, 0x4f94c8
call fcn.00465a70
cmp eax, ebp
je 0x48ec5e
nop
push 3
lea ecx, [esp + 0x1d78]
push ecx
push eax
call fcn.00444530
test al, al
jne 0x48ec44
mov ecx, 0x4f94c8
call fcn.00465a70
cmp eax, ebp
jne 0x48ec20
jmp 0x48ec5e
push 0x4b1914
lea edx, [esp + 0x1d78]
push edx
lea eax, [esp + 0xbc]
push eax
call fcn.00485600
push 1
lea ecx, [esp + 0x1d78]
push ecx
mov ecx, 0x4e0c08
call fcn.00412b80
test eax, eax
jne 0x48ebf0
jmp 0x48ee17
lea edx, [esp + 0x14]
push edx
call fcn.004136e0
call fcn.0047b360
push 0x4e798c
push 0x4e758c
mov ecx, 0x4e0c08
call fcn.00413690
mov eax, dword [esp + 0x24]
mov ecx, dword [0x4e818c]
mov dword [0x4e613c], eax
call fcn.00465590
mov ecx, 0x4f94c8
call fcn.00465490
mov ecx, 0x4f94c8
call fcn.00465a70
cmp eax, ebp
je 0x48ecea
mov edi, edi
mov ecx, dword [0x4e818c]
push eax
call fcn.00465910
mov ecx, 0x4f94c8
call fcn.00465a70
cmp eax, ebp
jne 0x48ecd0
lea ecx, [esp + 0x4dd0]
push ecx
push 0x4b57d8
push 0x4e695b
mov byte [0x4e585a], 1
mov dword [0x4e57fc], ebp
mov dword [0x4e5820], ebp
call fcn.0049deb5
add esp, 0xc
mov ecx, 0x4e0c08
mov byte [0x4e694d], 1
call fcn.00411170
jmp 0x48ee17
cmp byte [esp + 0x4dd0], 0
jne 0x48ed65
lea eax, [esp + 0xb4]
push eax
push ebp
lea ecx, [esp + 0x4dd8]
push ecx
push ebp
push ebp
call fcn.004337d0
push ebp
push ebp
push ebp
push ebp
lea edx, [esp + 0x69ec]
push edx
call fcn.004337d0
jmp 0x48ee17
lea ecx, [esp + 0x1154]
call fcn.0042e760
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.0042eb50
test al, al
je 0x48ee03
lea edx, [esp + 0xb4]
push edx
push ebp
lea eax, [esp + 0x4dd8]
push eax
push ebp
push ebp
call fcn.004337d0
push 0x10000
lea ecx, [esp + 0x69e0]
push ecx
lea ecx, [esp + 0x115c]
call fcn.0042f380
cmp eax, ebp
je 0x48ee03
push ebp
push ebp
push ebp
push eax
lea edx, [esp + 0x69ec]
push edx
call fcn.004337d0
push 0x10000
lea eax, [esp + 0x69e0]
push eax
lea ecx, [esp + 0x115c]
call fcn.0042f380
cmp eax, ebp
jne 0x48edd5
mov byte [esp + 0x169e8], 1
lea ecx, [esp + 0x1154]
call fcn.0042eb20
lea ecx, [esp + 0xb4]
push ecx
lea ecx, [esp + 0x29a8]
call fcn.0045f020
test eax, eax
je 0x48e910
mov eax, dword [0x4f85c0]
mov byte [0x4f856d], 0
cmp eax, ebp
je 0x48ee5d
movzx edx, byte [0x4f9bb6]
push edx
push eax
mov eax, dword [0x4db83c]
push eax
call fcn.0048a6b0
mov dword [0x4f85c0], ebp
push 0x270
mov byte [0x4f856c], 0
call fcn.0045bde0
mov ecx, dword [0x4db83c]
push eax
push 0x9b
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
cmp dword [0x4dc178], ebp
je 0x48ee98
mov edx, dword [0x4db83c]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x48ee9d
call fcn.0047f910
cmp dword [0x4dbc5c], ebp
je 0x48eed2
cmp byte [0x4f9bb7], 0
jne 0x48eec8
lea eax, [esp + 0x61dc]
push eax
lea ecx, [esp + 0x59e0]
push ecx
mov ecx, 0x4e0c08
call fcn.00413490
mov ecx, 0x4dfee0
call fcn.00442500
mov dword [esp + 0x169e8], 0xffffffff
lea ecx, [esp + 0x29a4]
call fcn.0045e890
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.0049dea6
add esp, 0x169d8
ret 4